Dennis Dahlman
asked on
OS 32 Connection Error
I am preparing for online training for “VS2010 C# access to an SQL 2008 R2 database". I created a test DB and populated it using SQL Server Management Studio. When I try to view it from VS2010 an OS err 32 occurs. No other process is connected and I disconnected SQL SMS and closed it before I attempted to connect using the VS2010 Server Explorer. This is all taking place on my standalone XP LAB workstation. The full dialog box message is as follows:
Microsoft Visual Studio
Unable to open the physical file "D:\SQL Svr\MSSQL10_50.MSSQLSERVER \MSSQL\DAT A\DBD-Test .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 D:\SQL Svr\MSSQL10_50.MSSQLSERVER \MSSQL\DAT A\DBD-Test .mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Microsoft Visual Studio
Unable to open the physical file "D:\SQL Svr\MSSQL10_50.MSSQLSERVER
An attempt to attach an auto-named database for file D:\SQL Svr\MSSQL10_50.MSSQLSERVER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER