SQLSEXPRESS service IS running!!
I have I program I wrote some time ago and it works. It was written in MS Visual Studio with local MDF file.
How is it possible to edit this file from Microsoft SQL Server Management Studio? I don't see this file in the list of globally connected databases.
If I try to attach this file with Visual Studio Wizard, I get message that such database already exists, but when I set arbitrary logical name, I get sharing violation.
How to reach MDF file?
EDIT 1
Now I found that my program also stopped to work.
The summary of results of different attempts to reach MDF file:
<username>
. (windows user)<filename>
failed. A database with the same name exists, or
specified file cannot be opened, or it is located on UNC share.<filename>
. Operating system error 32: "32(The process cannot access the file because it is being used by another process )".
Cannot attach the file <filename>
as database ‘SOMENAME’.<username>
.<filename>
. Operating system error 32: "32(The process cannot access the file because it is being used by another process)". (Microsoft SQL Server, Error: 5120)MDF files are not intended to be used directly.
You may use them only through and with the help of SQL Server Engine.