开发者

Cannot connect to DB after I uploaded website to a host

开发者 https://www.devze.com 2022-12-08 07:35 出处:网络
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.

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

精彩评论

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