[英]Windows 2008 R2 Enterprise Edition Issues(Message:System.Web.Services.Protocols.SoapException: Server was unable to process request)
Hi i am facing below issue on windows 2008 r2 enterprise edition but it is fine on windows 2008 r2 standard edition. 嗨,我在Windows 2008 R2企业版上面临以下问题,但是在Windows 2008 R2标准版上很好。
Problem: .Net windows service called web services. 问题: .Net Windows服务称为Web服务。 Web services throwing below error..
Web服务抛出以下错误。
Error Message: 错误信息:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: 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)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Errorlog.LogError(Exception objEx, Int32 userId, String pageURL)
at AuthorizationProcess.LoadProcess(DataSet dsProcessList)
--- End of inner exception stack trace --- ---内部异常堆栈跟踪的结尾---
Stack Trace: 堆栈跟踪:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WebAuthorizationService.WSMediaAuthorizationService.AuthorizationProcess.LoadProcess(DataSet dsProcessList)
at WebAuthorizationService.Revision.LoadProcessForMediaServer()
Somewhere in your code, you are connecting to a sql server and the connection cannot be established. 在代码中的某处,您正在连接到sql服务器,并且无法建立连接。
Either you are pointing to a wrong sql server (a development machine perhaps?) or there is no physical connection between the two, the application server and the sql server. 您是否指向错误的sql服务器(也许是开发机器?),或者两者之间没有物理连接,即应用程序服务器和sql服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.