Results 1 to 3 of 3

Thread: SQL Server Login

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Heppenheim, Germany
    Posts
    4

    Post

    Dear all,
    i'm trying to establish a connection to a SQL Server 7. Until that point my application works fine, even the vb errorhandling but as soon as i get an error from the server i've no clue how to handle it. For example a wrong password - then the server pops up with the login dialog and i want to prevent that. P.S. I'm using DAO and VB5

    thanks

  2. #2
    Hyperactive Member
    Join Date
    Feb 2000
    Posts
    284

    Post

    I don't know much about DAO and VB5 but try using the UID "sa" and leave the password blank. In ADO you could include all this info in a connection string, but as I said I don't know about DAO.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Heppenheim, Germany
    Posts
    4

    Post

    Dear Bigley and Clunietp,
    thanx alot for your tips but i think they wouldn't fix the problem. My problem cames from the fact that the SQL-Server (not the VB engine) is sending me a login-dialog if i use the wrong password or wrong username. All i want to do is to prevent that and the user don't see that login-dialog.
    dbDriverNoPrompt didn't worked because it is only worth if i don't want to see the ODBC-dialog with the diffrent DNS.

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