Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    In cousin's house
    Posts
    303

    Unanswered: connection problem using vb.Net and msql 2000

    hi,
    I currently new to Vb.net programming my problem is when I make a web application I cannot connect to the msql server 2000 install to another win2000 box but in I make a windows application using vb.net it works fine using the same connection string. What should I do?



    Thanks....
    popskie.

  2. #2
    Join Date
    Oct 2004
    Posts
    25
    Are these two machines on the same domain so you can use integrated security? If they are workgroup computers then it will fail unless you use sql authentication.

  3. #3
    Join Date
    Oct 2004
    Location
    In cousin's house
    Posts
    303
    Thanks you very much my friend yes I used the same workgroup.
    and my connection like this.

    Cn.ConnectionString="address=192.168.0.11,1010;Ini tial catalog=SALES;trusted_connection=yes;persist security info=False";

    Am I correct?
    popskie
    Last edited by popskie; 02-27-05 at 21:42.

Posting Permissions

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