troubleshooting Question

SQL Server worked in VB 2003. Error in 2005

Avatar of Misledman
MisledmanFlag for United States of America asked on
Visual Basic.NET
2 Comments1 Solution205 ViewsLast Modified:
I get this error: ex.InnerException.InnerException = {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,...

This is the return from cn.open where cn is the connection. The same line of code works fine in VN 2003. When I convert the project to VB 2005, I get this error. The database has not changed is located at a remote host and is SQL server 2000.

I know it's something stupid, but I have yet to figure it out..... Thanks in advance...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros