「/」應用程序中的服務器錯誤。
在與 sql server 建立連接時出現與網絡相關的或特定於實例的錯誤。未找到或無法訪問服務器。請驗證實例名稱是否正確並且 sql server 已配置為允許遠程連接。 (provider: sql network interfaces, error: 26 - 定位指定的服務器/實例時出錯)
說明: 執行當前 web 請求期間,出現未經處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細信息。
異常詳細信息: system.data.sqlclient.sqlexception: 在與 sql server 建立連接時出現與網絡相關的或特定於實例的錯誤。未找到或無法訪問服務器。請驗證實例名稱是否正確並且 sql server 已配置為允許遠程連接。 (provider: sql network interfaces, error: 26 - 定位指定的服務器/實例時出錯)
源錯誤:
執行當前 web 請求期間生成了未經處理的異常。可以使用下面的異常堆棧跟蹤信息確定有關異常原因和發生位置的信息。
堆棧跟蹤:
[sqlexception (0x80131904): 在與 sql server 建立連接時出現與網絡相關的或特定於實例的錯誤。未找到或無法訪問服務器。請驗證實例名稱是否正確並且 sql server 已配置為允許遠程連接。 (provider: sql network interfaces, error: 26 - 定位指定的服務器/實例時出錯)]
system.data.providerbase.dbconnectionpool.trygetconnection(dbconnection owningobject, uint32 waitformultipleobjectstimeout, boolean allowcreate, boolean onlyonecheckconnection, dbconnectionoptions useroptions, dbconnectioninternal& connection) +1307
system.data.providerbase.dbconnectionpool.trygetconnection(dbconnection owningobject, taskcompletionsource`1 retry, dbconnectionoptions useroptions, dbconnectioninternal& connection) +108
system.data.providerbase.dbconnectionfactory.trygetconnection(dbconnection owningconnection, taskcompletionsource`1 retry, dbconnectionoptions useroptions, dbconnectioninternal oldconnection, dbconnectioninternal& connection) +941
system.data.providerbase.dbconnectioninternal.tryopenconnectioninternal(dbconnection outerconnection, dbconnectionfactory connectionfactory, taskcompletionsource`1 retry, dbconnectionoptions useroptions) +143
system.data.providerbase.dbconnectionclosed.tryopenconnection(dbconnection outerconnection, dbconnectionfactory connectionfactory, taskcompletionsource`1 retry, dbconnectionoptions useroptions) +17
system.data.sqlclient.sqlconnection.tryopeninner(taskcompletionsource`1 retry) +139
system.data.sqlclient.sqlconnection.tryopen(taskcompletionsource`1 retry) +448
system.data.sqlclient.sqlconnection.open() +130
newfolder1.class1.user(string ipkey, string rz, int32 cl) +154
webapplication1.api.processrequest(httpcontext context) +499
system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +814
system.web.httpapplication.executestepimpl(iexecutionstep step) +132
system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +73
版本信息: microsoft .net framework 版本:4.0.30319; asp.net 版本:4.8.4110.0
()
1秒記住品筆閣:www.pinbige.com。手機版閱讀網址:m.pinbige.com