all groups > sql server connect > june 2004 >
You're in the

sql server connect

group:

MSDE connection from VB.NET



MSDE connection from VB.NET David
6/30/2004 9:39:25 AM
sql server connect: I saw a previous post regarding a similar situatiuon I have but do not have
a solution yet.

In my case, I have created and instance of MSDE2000A and it runs fine with
securitymode=sql
and sapwd set etc.

In my application, I connect to the instance of the server and the
application runs fine.

When I try and run the application on another machine, I set up an instance
but the instance has the computername added ie. pcname\myinstance.

My VB.NET code is trying to locate originalpcname\myinstance.

Would someone mind please explaining what I need to do to be able to run the
app on a different machine.

Thanks in advance

RE: MSDE connection from VB.NET vikramj NO[at]SPAM online.microsoft.com
7/27/2004 10:52:51 PM

Can you use a UDL to generate a connection string which you can use in your
application?

Vikram Jayaram
Microsoft, SQL Server

This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.

AddThis Social Bookmark Button