簡體   English   中英

Windows 2008 R2企業版問題(消息:System.Web.Services.Protocols.SoapException:服務器無法處理請求)

[英]Windows 2008 R2 Enterprise Edition Issues(Message:System.Web.Services.Protocols.SoapException: Server was unable to process request)

嗨,我在Windows 2008 R2企業版上面臨以下問題,但是在Windows 2008 R2標准版上很好。

問題: .Net Windows服務稱為Web服務。 Web服務拋出以下錯誤。

錯誤信息:

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)

---內部異常堆棧跟蹤的結尾---

堆棧跟蹤:

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()

在代碼中的某處,您正在連接到sql服務器,並且無法建立連接。

您是否指向錯誤的sql服務器(也許是開發機器?),或者兩者之間沒有物理連接,即應用程序服務器和sql服務器。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM