MS SQL Server Compact Edition中的多用户访问 [英] Multi User Access in MS SQL Server Compact Edition

查看:104
本文介绍了MS SQL Server Compact Edition中的多用户访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我希望解决方案紧急。我正在使用MS Sql server Compact数据库开发C#。我在数据库中使用多用户访问时遇到问题。我使用共享概念,但它给出错误:



存在文件共享冲突。另一个进程可能正在使用该文件。[\\ JAN-941C126E\Testing_GSm \Debug \\New\GSM.sdf]



任何其他解决方案?



请紧急..



谢谢&问候

解决方案

请确保未在独占模式下打开与数据库的第一个连接。

多连接访问详细信息可以在这里 [ ^ ]。



来源: MSDN [ ^ ]



- KR

Hi Everyone,

i want solution urgent. i am developing C# with MS Sql server Compact database. i have trouble with Multi user access in the database.'m using sharing concept but its giving error :

There is a file sharing violation. A different process might be using the file.[\\JAN-941C126E\Testing_GSm\Debug\\New\GSM.sdf]

any other solution?

please urgent..

thanks & regards

解决方案

Please make sure that the First connection to the database is not opened in an Exclusive mode.
Multi-connection acces details can be found here[^].

source : MSDN[^]

-KR


这篇关于MS SQL Server Compact Edition中的多用户访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆