Stack Trace:
[SqlException (0x80131904): 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
[HttpException (0x80004005): Unable to connect to SQL Server database.]
System.Web.Management.SqlServices.GetSqlConnection(String server, String user, String password, Boolean trusted, String connectionString) +137
System.Web.Management.SqlServices.SetupApplicationServices(String server, String user, String password, Boolean trusted, String connectionString, String database, String dbFileName, SqlFeatures features, Boolean install) +94
System.Web.Management.SqlServices.Install(String database, String dbFileName, String connectionString) +27
System.Web.DataAccess.SqlConnectionHelper.CreateMdfFile(String fullFileName, String dataDir, String connectionString) +395
调试网站(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
答案:2 悬赏:60 手机版
解决时间 2021-02-25 13:44
- 提问者网友:我是女神我骄傲
- 2021-02-24 17:37
最佳答案
- 五星知识达人网友:像个废品
- 2021-02-24 18:34
不能打开sql, 请检查sql连接信息配置文件。
全部回答
- 1楼网友:北城痞子
- 2021-02-24 18:54
大哥,你这个问题解决了没?求指导331509854
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯
正方形一边上任一点到这个正方形两条对角线的 |
阴历怎么看 ? |