I have created an application which will fetch data from a .sdf
file and display it to user. It works normally for the first user, if the second user tries to use it it is throwing an exception that file is being used by another process.
I have tried fixing the issue but I am not able to do so.
Instead I have tried with .MDF
file and have placed it over the network path, here even the first user is not able to connect to it.
It is saying that network won't allow databases.
Note: No issue with connection string.
What is the best way of sharing the database to users over the network, so that users can access it simultaneously.
Which database to use and how to achieve it.and how to connect to .MDF
or .SDF
files located on the network.