Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

My website
Posted
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
My website
Posted
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
My website
  • 1 month later...
Posted

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;"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...