System.Data.SqlClient.SqlException
HResult=0x80131904
Message=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)
Source=.Net SqlClient Data Provider
StackTrace:
<Cannot evaluate the exception stack trace>
Inner Exception 1:
Win32Exception: The system cannot find the file specified
Я получаю эту ошибку.Я проверил различные ресурсы и не нашел решения для этого
Это моя строка подключения к webConfig
<connectionStrings>
<add name="ConnStringDb1" connectionString="Data Source=localhost;Initial Catalog=SignupinfoDB;Integrated Security=True;" providerName="System.Data.SqlClient" />
</connectionStrings>