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.
精彩评论