Question / Issue |
|
Error connecting to SQL Server. A network-related or instance-specific error occured while establishing a connection to SQL server! |
Answer / Solution |
|
Error connecting to SQL Server.
Possible resolutions:
- Verify that the instance name is correct
- COMPUTERNAME\SQLINSTANCENAME
- Verify SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40)
- SQL Server Configuration Manager
- SQL Server Network Configurations
- Protocols for "SQLEXPRESS"
- Shared Memory - Enable
- Named Pipes - Enabled
- TCP/IP - Enabled
- VIA - Disabled (not nessassary.
- Restart SQL
- Verifly SQL Server Browser is running
- Services
- SQL Server Browser
- Status type - Automatic
- Status - Running
|