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
I am getting this error. I have checked different resources and haven't got a solution for this
This is my webConfig connection string
<connectionStrings>
<add name="ConnStringDb1" connectionString="Data Source=localhost;Initial Catalog=SignupinfoDB;Integrated Security=True;" providerName="System.Data.SqlClient" />
</connectionStrings>
User contributions licensed under CC BY-SA 3.0