“/”应用程序中的服务器错误。
在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(providerSQLNeorkInterfaces,error26-定位指定的服务器/实例时出错)
说明执行当前Web请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息System.Data.SqlClient.SqlException在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(providerSQLNeorkInterfaces,error26-定位指定的服务器/实例时出错)
源错误
执行当前Web请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪
[SqlException(0x80131904)在与SQLServer建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQLServer已配置为允许远程连接。(providerSQLNeorkInterfaces,error26-定位指定的服务器/实例时出错)]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject,UInt32waitForMultipleObjectsTimeout,BooleanallowCreate,BooleanonlyOneCheckConnection,DbConnectionOptionsuserOptions,DbConnectionInternalconnection)+1307
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternalconnection)+108
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection,TaskCompletionSource`1retry,DbConnectionOptionsuserOptions,DbConnectionInternaloldConnection,DbConnectionInternalconnection)+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.Css1.user(Stringipkey,Stringr,Int32cl)+154
WebApplication1.api.ProcessRequest(HttpConcon)+499
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+814
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStepstep)+132
System.Web.HttpApplication.ExecuteStep(IExecutionStepstep,BooleanpletedSynchronously)+73
版本信息Microsoft.NETFramework版本4.0.30319ASP.NET版本4.8.4110.0