Why do I receive file share error if Sql Compact allows multiple connections?

房东的猫 提交于 2019-12-01 18:06:27

This was a connection string issue.

File Mode=Read Write

solved the problem.

AechoLiu

When survey this problem, I find some resources and this post. Maybe someone will need it, so I leave what I find here.

According the MSDN said, if no File Mode assigned, it will use Read Write by default.

And, if need to open a Read Only db, this post said two parameters should be assigned. One is File Mode, and one is Temp Path.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!