第1124章 哒哒哒哒哒!
“/”应用程序中的服务器错误。
在与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-定位指定的服务器/实例时出错)]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject,UInt32waitForMultipleObjectsTimeout,BooleanallowCreate,BooleanonlyOneCheckConnection,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+1307
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternal&connection)+108
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternaloldConnection,DbConnectionInternal&connection)+941
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+143
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions)+17
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1retry)+139
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry)+448
System.Data.SqlClient.SqlConnection.Open+130
NewFolder1.Class1.user(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
版本信息:Microsoft.NETFramework版本:4.0.30319;ASP.NET版本:4.8.4110.0