开发者

Connecting to Database in MS Visual Studio 2010 Error

开发者 https://www.devze.com 2023-01-25 16:48 出处:网络
When I try to make a connection to a database and error occurs. The message is \"A network related or instance specific error occurred while establishing a connection to the SQL Server.\"

When I try to make a connection to a database and error occurs. The message is "A network related or instance specific error occurred while establishing a connection to the SQL Server."

The database is located in the App_Data folder of the project.

D开发者_JS百科oes anyone know how to fix this? Thanks.


If Database in App_Data then most likely a SQL Server Express database. Open SQL Configuration Manager on your local machine and start the SQL Express Service.

0

精彩评论

暂无评论...
验证码 换一张
取 消