hog Posted April 4, 2003 Posted April 4, 2003 Here is the situation: One PC with MSDE running but not the Windows 2000 server service. Visual Studio .NET running on my laptop on the same network as the PC above. Question: How do I create/connect to the PC from my laptop to create or connect to a database on the PC? I've have tried using Data Connections and SQL Servers within the .NET IDE with no joy. Is there some special way to do it? Quote My website
*Experts* jfackler Posted April 5, 2003 *Experts* Posted April 5, 2003 Hog, If you come to some conclusion on this, please post it. http://www.able-consulting.com/dotnet/adonet/Data_Providers.htm Is a source whose instructions I've experimented with (specifically tcp/ip connection) but I can't make it work. Quote
hog Posted April 5, 2003 Author Posted April 5, 2003 Not sure this is what I'm after, thanks. I already know how to connect to databases using a connection string, what I can't do is create a connection to the MSDE instance running on the PC from my laptop as .NET retports it can't find the PC on the network probably cos the server service is not running on it. But other posts say you do not need the server service running in ordero make use of MSDE Quote My website
*Experts* jfackler Posted April 5, 2003 *Experts* Posted April 5, 2003 I've got server service running on my laptop and I still can't access the msde. Quote
hog Posted April 7, 2003 Author Posted April 7, 2003 I can runn the MSDE ok on my laptop the problem I have is trying to connect to an instance of the MSDE running on another machine Quote My website
Shandy Posted May 21, 2003 Posted May 21, 2003 Don't know if it's any help but I came across this thread when searching for help on connecting to MSDE via the internet and I came up with the following connectionstring which worked but only on the default port of 1433. "Network Library=DBMSSOCN;" _ & "Server=xxx.xxx.xxx.xxx\myMSDEInstance;" _ & "Initial Catalog=mydatabase;" _ & "User ID=myuserid;" _ & "Password=mypassword;" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.