2009-05-27, 07:09 AM
Hi everbody.
I have a website designed by Visual Studio 2008, c#. Also I need to connect SqlServer. I have configured my Sql Server account. When I want to open mysite's main page I get this 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)"
I checked my connection string, which I got from control panel of my account, I couldn't find anything wrong.
My Connection string is "Persist Security Info=True;User ID=User_***;Password=********;Initial Catalog=DB_*****;Data Source=sqlhosting02.myhosting.com;"
Please help!
Thanks a lot...
I have a website designed by Visual Studio 2008, c#. Also I need to connect SqlServer. I have configured my Sql Server account. When I want to open mysite's main page I get this 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)"
I checked my connection string, which I got from control panel of my account, I couldn't find anything wrong.
My Connection string is "Persist Security Info=True;User ID=User_***;Password=********;Initial Catalog=DB_*****;Data Source=sqlhosting02.myhosting.com;"
Please help!
Thanks a lot...