Results 1 to 3 of 3

Thread: Why o why

  1. #1

    Thread Starter
    Hyperactive Member phrozeman's Avatar
    Join Date
    Apr 2000
    Location
    Netherlands
    Posts
    442

    Why o why

    Last week, i finally had my SQL server running, and i could connect to it, retrieve records, etc.
    But 2 days later my whole system crashed, i lost all my partitions :/
    So i reinstalled Win2K server + MSSQL 2000 server (same passes)

    But now i cant connect to it anymore, i still use the same connection code as before:

    VB Code:
    1. Dim CN As New ADODB.Connection
    2. CN.ConnectionString = "Driver=SQL SERVER;server=217.121.161.0\CC200392-B,1433;" & _
    3. "Database=MB;User ID=testuser;Password=test"
    4. CN.Open
    This code works when i run it on the pc SQL is installed on, but why aint it work on an remote anymore?

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780
    Dont suppose you have changed the IP address ?

    If you create a file on your desktop (remote pc) called

    test.udl then open it you can create the string using the MS editor thing.

    Then open the file in notepad and you can see the conneciton string, you can then see what the differences are.

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    how is your network setup? a domain? or work group? it is probably something to do with your connection between machines

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width