开发者

Server was unable to process request

开发者 https://www.devze.com 2023-01-14 18:38 出处:网络
I have made web service, when it is accessed by remote computer to send me the data using this web service then the following errors shows on the remote computer:-

I have made web service, when it is accessed by remote computer to send me the data using this web service then the following errors shows on the remote computer:-

"Server was unable to process request..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 in开发者_开发技巧stance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"


That is a connectionstring or network permission issue. When you deploy make sure the config associated with the webservice contains a valid connectionstring to reach your database. Ensure you are using SQL server authentication with an appropriate user and password and that the SQL server is accessible from the webservice deployment machine.

0

精彩评论

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