I'm trying to place a .mdf database on a `Computer A` and access it simultaneously on `Computer B` but I'm having an error that says I cannot access the mdf file because it's being used by another process.

The setup is, the database is hosted on a Public folder in `Computer A`. I have Visual Studio running on both computers, and `Computer B` accesses the database on Computer A.

Computer A Connection path string:

C:\Users\Public\database.mdf

Computer B Connection path string:

\192.168.254.8\Public\database.mdf

Is there some sort of setting that I do not know of to enable multiple access on a db? Or this is not possible?

EDIT:

Let me rephrase my question, sorry.

There are two computers connected via a network, and I want to access one Visual Studio solution/project website. I wanted to do this as a demonstration, is it possible?