System.Data.SqlClient.SqlException (0x80131904): 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) ---> System.ComponentModel.Win32Exception (2): The system cannot find the file specified. 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.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at XmlWeb.DB.GetProductTitle(Int64 ProductDataId) in C:\Users\Haluk\source\repos\XmlWeb\DB.cs:line 969 ClientConnectionId:00000000-0000-0000-0000-000000000000 Error Number:2,State:0,Class:20
System
Ürün Açıklamaları
System
Data
SqlClient
SqlException (0x80131904): 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)
---> System
ComponentModel
Win32Exception (2): The system cannot find the file specified
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
TryOpen(TaskCompletionSource`1 retry)
at System
Data
SqlClient
SqlConnection
Open()
at XmlWeb
DB
GetProductDesc(Int64 ProductDataId) in C:\Users\Haluk\source\repos\XmlWeb\DB
cs:line 1167
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:2,State:0,Class:20