|
-
Jun 21st, 2010, 10:42 PM
#1
Thread Starter
Addicted Member
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
-
Jun 21st, 2010, 10:57 PM
#2
Re: Not sure why I get this connection error
What DLLs were updated by installer?
-
Jun 21st, 2010, 11:19 PM
#3
Thread Starter
Addicted Member
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
-
Jun 22nd, 2010, 01:18 AM
#4
Re: Not sure why I get this connection error
Can the database be opened using other tools? What database is this? Access?
-
Jun 22nd, 2010, 02:03 AM
#5
Thread Starter
Addicted Member
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
-
Jun 22nd, 2010, 03:34 AM
#6
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.
-
Jun 22nd, 2010, 03:52 AM
#7
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|