Results 1 to 10 of 10

Thread: VB6 ADO 2.7 connection to a SQL Server 2000 database over Internet

  1. #1
    Join Date
    Jul 2003
    Posts
    6

    Exclamation VB6 ADO 2.7 connection to a SQL Server 2000 database over Internet

    I have a VB6 client app which need to access a SQL Server database located on my Server...

    My vbClientApp must pass through the web to access my server...

    Is there a way my vbApp can connect to my database using ADO control ??

    Thanks!

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Use ip address to access your sql server via web.

  3. #3
    Join Date
    Jul 2003
    Posts
    6
    well,

    should I create user DSN on my client pc to my SQL Server using IP as server name ??

    if so, I've tried, and it always says me an error with trusted something...

  4. #4
    Join Date
    Jul 2003
    Posts
    6
    state 01000
    error 1326

    state 08001
    error 17

    what do I have to do to make my SQL Server available to accept ip connection like this...

    Thanks

  5. #5
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    May be you are trying to connect using trusted connection. This will not be available to you when coming through internet. Use SQL Server authentication and specify SQL user name/password.

  6. #6
    Join Date
    Jul 2003
    Posts
    6
    even if i select SQL Server authentication in my dialog creating the DSN, it still says :

    Not associated to a trusted connection...etc

    Is there something to change in my SQL Server to change this situation...

    Thanks

  7. #7
    Join Date
    Jul 2003
    Posts
    6
    state 28000
    error 18452

    ...what can I change in my SQL Server to accept any type of connection with user id located in my Logins directory...


    thanks

  8. #8
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    What is your SQL Server security setting? Make sure it is SQL Server and Windows.

  9. #9
    Join Date
    Jul 2003
    Posts
    6
    it is SQL and Windows

  10. #10
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    make sure your ip address is right. do not think 192.168.1.something is your ip address, it is your routers ip address.

    See whats your real ip addres by going to network neighbourhood and also by pinging the server.

Posting Permissions

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