Results 1 to 4 of 4

Thread: VB error 2147467259

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    2

    VB error 2147467259

    hi i have created a login form using VB 6 and SQL server 2000 but i on run time i get an error
    ERROR -2147467259(80004005)
    [Microsoft][ODBC Driver Manager] Data Source name not found
    The connection strting used is
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Data Source=projects;Initial Catalog=login

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB error 2147467259

    Moved to Database forum

    Welcome to VBForums!

    The error message means that either your connection string is incomplete, or you do not have the correct driver installed.

    Assuming that "projects" is the name of your server, and that "login" is the name of your database, the connection string should be ok.

    If you have a version of Windows earlier than XP (such as Windows 2000) it is probably a good idea to install MDAC (which includes drivers for SQL Server), you can find a link to the download in my signature.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2006
    Posts
    2

    Re: VB error 2147467259

    hi thaks for the reply.
    I downloaded the MDAC and i installed but i still seem to get the same problem...

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB error 2147467259

    Ok.. in that case your connection string needs to be checked, eg:

    Is the computer that SQL Server is installed on called "projects"?
    Is "login" the name of your database?

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