Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting over VPN

Status
Not open for further replies.
Apr 6, 2004
33
US
Hello,
This has me stumped and I can't seem to figure it out. I created a vb.net project and it connects to a sql server. It all works fine inside the company network but when I try to run the program from home over vpn it says it can't find the sql server. Here is my connection string: workstation id="ENERFAB-4Y86C3I";packet size=4096;integrated security=SSPI;data source=INTRANET;persist security info=False;initial catalog=Test Does anybody have any ideas what this could be?

Thanks in advance
Tim
 
can you see it with the enterprise manager?

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
What a wonderfull world - Louis armstrong
 
On the remote pc there is no sql server installed. It is just a vb.net program with a connection string pointing to the sql server on the company network over vpn.

Thanks
Tim
 
your dns may not be woking correctly through the VPN. Try adding an entry for the SQL Server in your host file on the PC you are running the app from. Or use the IP address of the server instead of the server name.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top