开发者

Cannot connect to DB after I uploaded website to a host

I have upload my website to 开发者_高级运维a shared hosting, set-up everything and my asp.net 3.5 app won't connect to SQL Server database on the shared hosting provider.

This is the error I get:

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)

I'm using a built-in login control to connect to the database. Everything works fine on a local computer but it won't work online.


Your host might not have SQL express installed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜