Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Not able to run the VC++ 2005 exe in remote machine.

Not able to run the VC++ 2005 exe in remote machine.

Scheduled Pinned Locked Moved C / C++ / MFC
helpvisual-studiocsharpc++question
11 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jain_MS
    wrote on last edited by
    #1

    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

    L J C R 4 Replies Last reply
    0
    • J 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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      What about the 'infocardapi.dll' cited in the first error message? Does it exist on the target machine?

      1 Reply Last reply
      0
      • J 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

        J Offline
        J Offline
        jain_MS
        wrote on last edited by
        #3

        Yes, its existing in windows/system32 folder. Regds jain_MS

        L 1 Reply Last reply
        0
        • J jain_MS

          Yes, its existing in windows/system32 folder. Regds jain_MS

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          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

          J 1 Reply Last reply
          0
          • J 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

            C Offline
            C Offline
            Covean
            wrote on last edited by
            #5

            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

            J 1 Reply Last reply
            0
            • C 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

              J Offline
              J Offline
              jain_MS
              wrote on last edited by
              #6

              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

              C 1 Reply Last reply
              0
              • L Lost User

                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

                J Offline
                J Offline
                jain_MS
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • J 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

                  C Offline
                  C Offline
                  Covean
                  wrote on last edited by
                  #8

                  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

                  J 1 Reply Last reply
                  0
                  • C Covean

                    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

                    J Offline
                    J Offline
                    jain_MS
                    wrote on last edited by
                    #9

                    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

                    C 1 Reply Last reply
                    0
                    • J jain_MS

                      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

                      C Offline
                      C Offline
                      Covean
                      wrote on last edited by
                      #10

                      No I do not know a way. I think you have to use SetServiceStatus with SERVICE_START_PENDING and dwCheckPoint, dwWaitHint having valid values. And do this every time you need more time for startup by increasing dwCheckPoint.

                      Greetings Covean

                      1 Reply Last reply
                      0
                      • J 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

                        R Offline
                        R Offline
                        raja jamwal
                        wrote on last edited by
                        #11

                        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.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups