I have made and asp.net site (real simple).It has some txtboxes to fill out and then when the Send button is pressed it sends the data to a Database. (I'm using asp.net with C#)
The following error error happens when it gets to con.Open().
"An attempt to attach an auto-named database for file C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\NORTHWND.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."
When I get this message, I go to SQL Managment Express, try to open that Db and then I get this message:
"Failed to retrieve data for this request. Microsoft.SqlServer.Express.SmoEnum)
Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\northwnd.mdf". Operating system error 32: "32(error not found)". (Microsoft SQL Server, Error: 5120)"
It's as if the DB has been deleted.. (It erases all the Tables belonging to tha ...
Go to the complete details ...