Not able to run the VC++ 2005 exe in remote machine.
-
Hi , Can you please provide a solution for this issue. I have developed an exe in VS2005 (WIN2003) and i installed the same exe into another machine (WIN2003- having VS2005 as well), its not running & throwing some errors in EVENT-VIEWER like' "Generate Activation Context failed for c:\WINDOWS\system32\infocardapi.dll. Reference error message: The referenced assembly is not installed on your system." "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system." "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." As part of my intstallation in remote machine, have installed Microsoft.VC80.CRT.manifest, msvcm80.dll,msvcp80.dll,msvcr80.dll . But while doing comparision , have found. inside C:\Program Files\SampleApp\Microsoft.VC80.CRT.manifest - (2KB) C:\Program Files\App\msvcm80.dll - (468 KB) version 8.0.50727.4053 C:\Program Files\App\msvcp80.dll - (542KB) version 8.0.50727.4053 C:\Program Files\App\msvcr80.dll - (618KB) version 8.0.50727.4053 but inside my VS C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest - (1KB) C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcm80.dll (468KB) version - 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcp80.dll ( 536KB) version 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86msvcr80.dll ( 612KB) version 8.0.50727.42 Is this version may be the problem ?. Please throw some light on this issue & ur help much appreciated. Regds, Jani MS
-
Hi , Can you please provide a solution for this issue. I have developed an exe in VS2005 (WIN2003) and i installed the same exe into another machine (WIN2003- having VS2005 as well), its not running & throwing some errors in EVENT-VIEWER like' "Generate Activation Context failed for c:\WINDOWS\system32\infocardapi.dll. Reference error message: The referenced assembly is not installed on your system." "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system." "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." As part of my intstallation in remote machine, have installed Microsoft.VC80.CRT.manifest, msvcm80.dll,msvcp80.dll,msvcr80.dll . But while doing comparision , have found. inside C:\Program Files\SampleApp\Microsoft.VC80.CRT.manifest - (2KB) C:\Program Files\App\msvcm80.dll - (468 KB) version 8.0.50727.4053 C:\Program Files\App\msvcp80.dll - (542KB) version 8.0.50727.4053 C:\Program Files\App\msvcr80.dll - (618KB) version 8.0.50727.4053 but inside my VS C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest - (1KB) C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcm80.dll (468KB) version - 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcp80.dll ( 536KB) version 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86msvcr80.dll ( 612KB) version 8.0.50727.42 Is this version may be the problem ?. Please throw some light on this issue & ur help much appreciated. Regds, Jani MS
-
Hi , Can you please provide a solution for this issue. I have developed an exe in VS2005 (WIN2003) and i installed the same exe into another machine (WIN2003- having VS2005 as well), its not running & throwing some errors in EVENT-VIEWER like' "Generate Activation Context failed for c:\WINDOWS\system32\infocardapi.dll. Reference error message: The referenced assembly is not installed on your system." "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system." "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." As part of my intstallation in remote machine, have installed Microsoft.VC80.CRT.manifest, msvcm80.dll,msvcp80.dll,msvcr80.dll . But while doing comparision , have found. inside C:\Program Files\SampleApp\Microsoft.VC80.CRT.manifest - (2KB) C:\Program Files\App\msvcm80.dll - (468 KB) version 8.0.50727.4053 C:\Program Files\App\msvcp80.dll - (542KB) version 8.0.50727.4053 C:\Program Files\App\msvcr80.dll - (618KB) version 8.0.50727.4053 but inside my VS C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest - (1KB) C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcm80.dll (468KB) version - 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcp80.dll ( 536KB) version 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86msvcr80.dll ( 612KB) version 8.0.50727.42 Is this version may be the problem ?. Please throw some light on this issue & ur help much appreciated. Regds, Jani MS
-
You may be right about library versions, then - you may have linked against a different version from those present on the target machine. You said the target machine had VS installed on it. Does it have the same service packs and updates installed as your dev box? [edit] Check out Covean's response below - he sounds as if he has a better handle on this. [/edit]
modified on Tuesday, November 10, 2009 9:50 AM
-
Hi , Can you please provide a solution for this issue. I have developed an exe in VS2005 (WIN2003) and i installed the same exe into another machine (WIN2003- having VS2005 as well), its not running & throwing some errors in EVENT-VIEWER like' "Generate Activation Context failed for c:\WINDOWS\system32\infocardapi.dll. Reference error message: The referenced assembly is not installed on your system." "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system." "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." As part of my intstallation in remote machine, have installed Microsoft.VC80.CRT.manifest, msvcm80.dll,msvcp80.dll,msvcr80.dll . But while doing comparision , have found. inside C:\Program Files\SampleApp\Microsoft.VC80.CRT.manifest - (2KB) C:\Program Files\App\msvcm80.dll - (468 KB) version 8.0.50727.4053 C:\Program Files\App\msvcp80.dll - (542KB) version 8.0.50727.4053 C:\Program Files\App\msvcr80.dll - (618KB) version 8.0.50727.4053 but inside my VS C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest - (1KB) C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcm80.dll (468KB) version - 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcp80.dll ( 536KB) version 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86msvcr80.dll ( 612KB) version 8.0.50727.42 Is this version may be the problem ?. Please throw some light on this issue & ur help much appreciated. Regds, Jani MS
This problem often occurs if you try to use an 32 bit dll in an 64 bit app or the other way around. So make sure your app and the dll runs both in 32 or 64 bit environment. The second reason for this can be, that the infocardapi.dll itself references a dll that is not installed on the machine. At last: Do not copy dlls like msvcm80.dll instead install the microsoft redistributable package for your type of machine like this.
Greetings Covean
-
This problem often occurs if you try to use an 32 bit dll in an 64 bit app or the other way around. So make sure your app and the dll runs both in 32 or 64 bit environment. The second reason for this can be, that the infocardapi.dll itself references a dll that is not installed on the machine. At last: Do not copy dlls like msvcm80.dll instead install the microsoft redistributable package for your type of machine like this.
Greetings Covean
Thanks for ur reply, My both dev & remote machine as 32 bit version . Actually from dev box, while compiling my executables from Dev box, i have made some changes in my project properties, Manifest Tool->Input & Output -> Embed Manifest =NO(i set it as NO, before it was YES). Now that Error is not occuring , but now i am getting new error Could not start the App.exe service on Local computer. Error 1053: The service did not respond to the start or control request in a timely fashion. Please let me know ur comments on this. Your help much appreciated Regds Jain_MS
-
You may be right about library versions, then - you may have linked against a different version from those present on the target machine. You said the target machine had VS installed on it. Does it have the same service packs and updates installed as your dev box? [edit] Check out Covean's response below - he sounds as if he has a better handle on this. [/edit]
modified on Tuesday, November 10, 2009 9:50 AM
Yes , my both Dev & remote machine have same service packs. Actually from dev box, while compiling my executables from Dev box, i have made some changes in my project properties, Manifest Tool->Input & Output -> Embed Manifest =NO(i set it as NO, before it was YES). Now that Error is not occuring , but now i am getting new error <b>Could not start the App.exe service on Local computer. Error 1053: The service did not respond to the start or control request in a timely fashion.</b> Please let me know ur comments on this. Your help much appreciated Regds Jain_MS
-
Thanks for ur reply, My both dev & remote machine as 32 bit version . Actually from dev box, while compiling my executables from Dev box, i have made some changes in my project properties, Manifest Tool->Input & Output -> Embed Manifest =NO(i set it as NO, before it was YES). Now that Error is not occuring , but now i am getting new error Could not start the App.exe service on Local computer. Error 1053: The service did not respond to the start or control request in a timely fashion. Please let me know ur comments on this. Your help much appreciated Regds Jain_MS
-
Have you developed a service application? This sounds like an error in your start or control function of your service, that doesn't respond in 30 seconds (if you didn't request more time).
Greetings Covean
-
is there any way to request the service to wait more than 30 seconds.. Otherthan doing changes in my program?... Your help much appreciated. Regds Jain_MS
-
Hi , Can you please provide a solution for this issue. I have developed an exe in VS2005 (WIN2003) and i installed the same exe into another machine (WIN2003- having VS2005 as well), its not running & throwing some errors in EVENT-VIEWER like' "Generate Activation Context failed for c:\WINDOWS\system32\infocardapi.dll. Reference error message: The referenced assembly is not installed on your system." "Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system." "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system." As part of my intstallation in remote machine, have installed Microsoft.VC80.CRT.manifest, msvcm80.dll,msvcp80.dll,msvcr80.dll . But while doing comparision , have found. inside C:\Program Files\SampleApp\Microsoft.VC80.CRT.manifest - (2KB) C:\Program Files\App\msvcm80.dll - (468 KB) version 8.0.50727.4053 C:\Program Files\App\msvcp80.dll - (542KB) version 8.0.50727.4053 C:\Program Files\App\msvcr80.dll - (618KB) version 8.0.50727.4053 but inside my VS C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest - (1KB) C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcm80.dll (468KB) version - 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\msvcp80.dll ( 536KB) version 8.0.50727.42 C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86msvcr80.dll ( 612KB) version 8.0.50727.42 Is this version may be the problem ?. Please throw some light on this issue & ur help much appreciated. Regds, Jani MS
just quick read your problem, maybe you having express edition, you need to get release edition of VC++ or get latest .NET framework update and MSVC++ 2008 redistributable update, I experienced same, did that.