b_amal
asked on
my application works on some client pcs and does not work on others
hi,
i have a vb6 application that is connected to sql server and cr9, the problem that the package works perfectly on the development pc and SOME of the client machines even after i turned some of the client machines into development machines, i face different error message each time i change some of the attached files in the package( i mean the dlls) which i saw that they are important to include in the package, or by changing the path of the dll from system path to app path, thats because i faced an error message previously that says that the current dll in use and cannot be copied.
i have alot of reports, some of them are not linked to the database at all(i only pass values from the app) and some of the reports are connected to the database using ADO, to a stored procedure or table or even a command.
--------------------i beleive that it is dlls problem------------------- ----
i tried some solutions in this site and nothing worked with me!!!!
finally i found somehow similar problem that was solved through doing the denedency walker, so desperately i downloaded it and ran the exe file in it , but i couldn't solve it myself!!!!!
anybody can help please quickly (urgent issue)
i will set the point later depending on how fast i get an answer, so hurry up!!!!
i have a vb6 application that is connected to sql server and cr9, the problem that the package works perfectly on the development pc and SOME of the client machines even after i turned some of the client machines into development machines, i face different error message each time i change some of the attached files in the package( i mean the dlls) which i saw that they are important to include in the package, or by changing the path of the dll from system path to app path, thats because i faced an error message previously that says that the current dll in use and cannot be copied.
i have alot of reports, some of them are not linked to the database at all(i only pass values from the app) and some of the reports are connected to the database using ADO, to a stored procedure or table or even a command.
--------------------i beleive that it is dlls problem-------------------
i tried some solutions in this site and nothing worked with me!!!!
finally i found somehow similar problem that was solved through doing the denedency walker, so desperately i downloaded it and ran the exe file in it , but i couldn't solve it myself!!!!!
anybody can help please quickly (urgent issue)
i will set the point later depending on how fast i get an answer, so hurry up!!!!
have you checked if any group policies are not causing the problem?
ASKER
verify please! what do you mean by group policies ,
by the way note when i installed the programming tools on the client machine and ran the reports it worked but only the package didn't
by the way note when i installed the programming tools on the client machine and ran the reports it worked but only the package didn't
hi friend,
can u tell me what error u face. when error comes, type that error on your notepad and post it here.
can u tell me what error u face. when error comes, type that error on your notepad and post it here.
ASKER
i have more than one error message depending on the report i try to open,
for example the report that has no connection to database closes the application with the common error message( that this appliaction has caused some problems, send reprot).
and some reports generate the following error: Logon failed, ADO Error code 0x80040e21 .....
and the third error message is runtime error code '50003'.
and again please note that the pc that generates all these programs when i installed the development tools including cr9 worked propely when i ran the project, it only malfuntion with the package only
for example the report that has no connection to database closes the application with the common error message( that this appliaction has caused some problems, send reprot).
and some reports generate the following error: Logon failed, ADO Error code 0x80040e21 .....
and the third error message is runtime error code '50003'.
and again please note that the pc that generates all these programs when i installed the development tools including cr9 worked propely when i ran the project, it only malfuntion with the package only
When I've seen this problem in the past it was caused by a combination of two issues...
1. The fact that turning a client machine into a development machine and the app works on it indicates that your deployment package is missing some of the necessary dll's. Try rebuilding the package and ensuring ALL necessary files are included.
2. The fact that the installation of the package fails on these same machines indicates that there are applications open that are using some of the dlls you're trying to install. Make sure there are no apps running when you perform the install. Do a reboot of the machine if necessary to ensure no dll's are still memory resident from prior use.
3. The 0x80040e21 is the dreaded "multi-step error"... it can caused by a bunch of different things. You will probably need to resolve most/all the other problems before addressing this one. It might even disappear when the other problems are resolved.
4. The 50003 usually means missing or mismatched dlls... in this case you're probably missing the VB6 runtime dlls... see #1 for fix.
HTH,
Lynn
1. The fact that turning a client machine into a development machine and the app works on it indicates that your deployment package is missing some of the necessary dll's. Try rebuilding the package and ensuring ALL necessary files are included.
2. The fact that the installation of the package fails on these same machines indicates that there are applications open that are using some of the dlls you're trying to install. Make sure there are no apps running when you perform the install. Do a reboot of the machine if necessary to ensure no dll's are still memory resident from prior use.
3. The 0x80040e21 is the dreaded "multi-step error"... it can caused by a bunch of different things. You will probably need to resolve most/all the other problems before addressing this one. It might even disappear when the other problems are resolved.
4. The 50003 usually means missing or mismatched dlls... in this case you're probably missing the VB6 runtime dlls... see #1 for fix.
HTH,
Lynn
ASKER
hi again,
thankx Lynn for your notes, i almost experienced all what you mentioned, anyway if you or anybody can help me by aiding me in a LIST of all dlls needed to run vb6 application with cr9 and sqlserver 2000, and the appropriate path i will be gratefull, i don't want to search or think anymore, for example,
attach crdb_ado.dll and set the path to ($winPath)
and so on.......
i will give a big amount of points, so please help
thankx Lynn for your notes, i almost experienced all what you mentioned, anyway if you or anybody can help me by aiding me in a LIST of all dlls needed to run vb6 application with cr9 and sqlserver 2000, and the appropriate path i will be gratefull, i don't want to search or think anymore, for example,
attach crdb_ado.dll and set the path to ($winPath)
and so on.......
i will give a big amount of points, so please help
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Sorry Guys,
I had a terrible circumstances thats why i didn't respnod lately,
anyway i'm back now and looked back to it again and knew the answer, which is from khan-Zahid. Thanks All
I had a terrible circumstances thats why i didn't respnod lately,
anyway i'm back now and looked back to it again and knew the answer, which is from khan-Zahid. Thanks All