“/”应用程序中的服务器错误。
在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)
说明:执行当前Web请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息:System.Data.SqlClient.SqlException:在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)
源错误:
执行当前Web请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[SqlException(0x80131904):在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)]
SystennectionPool.TryGetConnection(DbConnectionowningObject,UInt32waitForMultipleObjectsTimeout,BooleanallowCreate,BooleanonlyOneCheckConnection,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+1307
SystennectionPool.TryGetConnection(DbConnectionowningObject,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+108
SystennectionFactory.TryGetConnection(DbConnectionowningConnection,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternaloldConnection,DbConnectionInternal&connection)+941
SystennectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+143
SystennectionClosed.TryOpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+17
Systennection.TryOpenInner(TaskCompletionSource`1retry)+139
Systennection.TryOpen(TaskCompletionSource`1retry)+448
Systennection.Open+130
NewFolder1.Class1er(Stringipkey,Stringrz,Int32cl)+154
WebApplication1.api.ProcessRequest(HttpContextcontext)+499
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute+814
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStepstep)+132
System.Web.HttpApplication.ExecuteStep(IExecutionStepstep,Boolean&pletedSynchronously)+73
版本信息:MicrosoftFramework版本:4.0.30319;ASP版本:4.8.4110.0
“/”应用程序中的服务器错误。
在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)
说明:执行当前Web请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息:System.Data.SqlClient.SqlException:在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)
源错误:
执行当前Web请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[SqlException(0x80131904):在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(provider:SQLNetworkInterfaces,error:26-定位指定的服务器/实例时出错)]
SystennectionPool.TryGetConnection(DbConnectionowningObject,UInt32waitForMultipleObjectsTimeout,BooleanallowCreate,BooleanonlyOneCheckConnection,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+1307
SystennectionPool.TryGetConnection(DbConnectionowningObject,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+108
SystennectionFactory.TryGetConnection(DbConnectionowningConnection,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternaloldConnection,DbConnectionInternal&connection)+941
SystennectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+143
SystennectionClosed.TryOpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+17
Systennection.TryOpenInner(TaskCompletionSource`1retry)+139
Systennection.TryOpen(TaskCompletionSource`1retry)+448
Systennection.Open+130
NewFolder1.Class1er(Stringipkey,Stringrz,Int32cl)+154
WebApplication1.api.ProcessRequest(HttpContextcontext)+499
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute+814
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStepstep)+132
System.Web.HttpApplication.ExecuteStep(IExecutionStepstep,Boolean&pletedSynchronously)+73
版本信息:MicrosoftFramework版本:4.0.30319;ASP版本:4.8.4110.0