Results 1 to 7 of 7

Thread: Not sure why I get this connection error

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    183

    Unhappy Not sure why I get this connection error

    Hi all,

    my client have a program i wrote that connects to a database at start, for the past few months the program worked fine no error what so ever, and i gave them a newer version of the program and when they used the new .exe file they got the "runtime error 2147467259 (80004005) Cannot open database requested by the login. The login failed" Then they tried to use the previous version of the program and the error still occur. The update i did for the two software have nothing to do with the connection string, is basically some operation upgrade. In addition, it works fine on my computer. I am really confuse in what might be the cause of this error. If anyone can give me any suggestion it would be great. Great thx

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Not sure why I get this connection error

    What DLLs were updated by installer?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    183

    Re: Not sure why I get this connection error

    nothing actually, all i did for the update was change some timer value and winsock data arrival condition. I didn't send them the whole installer, i just made a .exe with my VB and sent to them. So i doubt any DLL was updated

  4. #4
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Not sure why I get this connection error

    Can the database be opened using other tools? What database is this? Access?

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    183

    Re: Not sure why I get this connection error

    the database is SQL2005 express, other tool was able to open the database, and that tool is their previous software which was not written by me. That is why i am having difficulty understanding why my program does not work, as a matter of fact it works but all of a sudden can't run

  6. #6
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Not sure why I get this connection error

    Before proceeding with possible solutions, mitigate risks first. Check what applications/data are in machine in question and back them up, ensure they can be recovered/reinstalled.

    Once you have that covered, try creating an install package for your application rather than just copying an exe file.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    183

    Re: Not sure why I get this connection error

    thanks leinad...i actually have 2 approach for this, 1 is as you say create a new installation package and install it again at the client computer to see if it works and 2. recode my sql connection string, not sure if that will help but the current connection string didn't have user name and password in the string and i am changing it to include the user name and password to database. Just out of the question do you think my 2nd approach have any use?

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