小编Sur*_*esh的帖子

建立与SQL Server的连接时发生与网络相关或特定于实例的错误

我在somee.com上部署了我的asp.net Web应用程序,每当我登录到这个站点(ipc.somee.com)时,它给我一个网络相关的错误,如:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated …
Run Code Online (Sandbox Code Playgroud)

sql-server asp.net connection-string database-connection sql-server-2008

28
推荐指数
1
解决办法
17万
查看次数