How do I share a SQL Server CE database file (.sdf) for multiple processes?

后端 未结 1 678
情话喂你
情话喂你 2020-12-22 01:23

I have a database in SQL Server CE. When connecting several applications of different computers to the database throw an exception.

This is the exception:

相关标签:
1条回答
  • 2020-12-22 01:32

    I misread your question initially, but I don't believe SQL Server CE supports multiple connections from different computers.

    From an MS guide:

    When you require data service functionality, such as the ability to support multiple, remote users, you should start with SQL Server Express Edition and work up the data service family tree.

    You can have multiple connections (up to 256) from the same machine, but connections from multiple machines requires SQL Express Edition. It's freely available and easy to deploy.

    Here's the link: http://www.microsoft.com/sqlserver/en/us/editions/express.aspx

    0 讨论(0)
提交回复
热议问题