Over the next few days we are going to start the migration to a new forum application. I'm going to start with high post count and active users. You may receive an invitation to the new forums. It's not spam. It's just me trying to seed the user base. My goal is to open it up over the weekend.

Once we open the site we'll block registrations here. We should be open shortly on the new site.

SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 provider: Named Pipes Provider, error: 40
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

11 Posts

Posted - 02/07/2010 :  19:31:52  Show Profile  Reply with Quote
I'm getting error 40 whenever I try to connect to SQL Server 2005 from an ASP.NET page. I've got the page hosted through EasyCGI.com and they also have SQL Server 2005 on another server. They said that they do not allow remote connections, so they don't know how to fix my problem. What should I do?

This is my connection string:
Provider=SQLOLEDB;Data Source=VCNSQL;User ID=myUserID;Password=myPassword;Initial Catalog=myDatabase;

Posting Yak Master

185 Posts

Posted - 02/07/2010 :  22:32:48  Show Profile  Reply with Quote
you can try this @ cmd:
telnet VCNSQL <sqlportno> (default 1433)
telnet <SQL server IP address> <sqlportno> (default 1433)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000