[英]Server was unable to process request
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:- 我已经制作了Web服务,当远程计算机访问它以使用此Web服务向我发送数据时,远程计算机上会显示以下错误:-
"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 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)" “服务器无法处理请求。建立与SQL Server的连接时发生与网络有关或特定于实例的错误。找不到服务器或无法访问该服务器。请验证实例名称正确并且已配置SQL Server允许远程连接。(提供者:SQL网络接口,错误:26-指定服务器/实例时出错)
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.
部署时,请确保与Web服务关联的配置包含有效的连接字符串以访问数据库。 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.
确保您使用具有适当用户名和密码的SQL Server身份验证,并且可以从Webservice部署计算机访问SQL Server。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.