Using the connection wizard I am trying to connect to a SQL Express database and I get the following error(s):
++++
Unable to open physical file "C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\Data\myfile.mdf". Operating system error 32: 32(The
process cannot access the file because it is being used by another process.)"
An attempt to attach an auto-named database for file "C:\Program
Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\myfile.mdf" failed. A database
with the same name exists, or specified file cannot be opened, or it is
located on UNC share.
++++++
I am not trying to create a web project I want to create a simple windows form and use the data found in the database. I have found many references to this problem but all seem to deal with a web application which is not what I am doing. Thank you in advance......
++++
Unable to open physical file "C:\Program Files\Microsoft SQL
Server\MSSQL.1\MSSQL\Data\myfile.mdf". Operating system error 32: 32(The
process cannot access the file because it is being used by another process.)"
An attempt to attach an auto-named database for file "C:\Program
Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\myfile.mdf" failed. A database
with the same name exists, or specified file cannot be opened, or it is
located on UNC share.
++++++
I am not trying to create a web project I want to create a simple windows form and use the data found in the database. I have found many references to this problem but all seem to deal with a web application which is not what I am doing. Thank you in advance......