You may get below error or Named Piped error
A network-related or instance-specific error occured while establising 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)(Microsoft SQL Server, Error:2)
A network-related or instance-specific error occured while establising 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)(Microsoft SQL Server, Error:2)
- Follow below steps to resolve the issue.
- Go to Start->All Programs->Microsoft SQL Server 2008 R2->Configuration Tools->SQL Server Configuration Manager.
- Click on SQL Server Network Configuration->Protocols for SQLEXPRESS on left side panel.
- You will find
- Shared Memory
- Name Pipes
- TCP/IP
- VIA
Enable all except VIA.Not required to Enable VIA. Leave it as it is.
- Refresh Stop and Start the SQLEXPRESS server service(Click on start then type services.)
No comments:
Post a Comment