置标出错: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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
-
''标签解析异常!
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at WebX.Repository.Database.OpenSharedConnection() in E:\NET\WebX.Core\Repository\Database\Database.cs:line 724
at WebX.Repository.Database.d__101`1.MoveNext() in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1229
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at WebX.Repository.Database.SingleOrDefault[T](String sql, Object[] args) in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1743
at WebX.Repository.Database.SingleOrDefault[T](Object primaryKey) in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1730
at WebX.Service.DbBase`1.SingleOrDefault[T](Object primaryKey) in E:\NET\WebX.Core\Repository\Database\DbBase.cs:line 294
at WebX.Service.ModelService.GetModelByColumnId(Int32 columnId) in E:\NET\WebX.Core\Service\ModelService.cs:line 50
at WebX.Label.Dynamic.List.ResultRunSql(List`1 topIds) in E:\NET\WebX.Core\Label\Dynamic\List.cs:line 400
at WebX.Label.Dynamic.Content.GetColumnFileValue() in E:\NET\WebX.Core\Label\Dynamic\Content.cs:line 100
at WebX.Label.Dynamic.Content.Render(HtmlTextWriter output) in E:\NET\WebX.Core\Label\Dynamic\Content.cs:line 88
-
''标签解析异常!
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at WebX.Repository.Database.OpenSharedConnection() in E:\NET\WebX.Core\Repository\Database\Database.cs:line 724
at WebX.Repository.Database.d__101`1.MoveNext() in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1229
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at WebX.Repository.Database.SingleOrDefault[T](String sql, Object[] args) in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1743
at WebX.Repository.Database.SingleOrDefault[T](Object primaryKey) in E:\NET\WebX.Core\Repository\Database\Database.cs:line 1730
at WebX.Service.DbBase`1.SingleOrDefault[T](Object primaryKey) in E:\NET\WebX.Core\Repository\Database\DbBase.cs:line 294
at WebX.Service.ModelService.GetModelByColumnId(Int32 columnId) in E:\NET\WebX.Core\Service\ModelService.cs:line 50
at WebX.Label.Dynamic.List.ResultRunSql(List`1 topIds) in E:\NET\WebX.Core\Label\Dynamic\List.cs:line 400
at WebX.Label.Dynamic.Content.GetColumnFileValue() in E:\NET\WebX.Core\Label\Dynamic\Content.cs:line 100
at WebX.Label.Dynamic.Content.Render(HtmlTextWriter output) in E:\NET\WebX.Core\Label\Dynamic\Content.cs:line 88