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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Deployment Error.

Deployment Error.

Scheduled Pinned Locked Moved C / C++ / MFC
helpannouncementworkspacecsharpvisual-studio
4 Posts 3 Posters 1 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.
  • F Offline
    F Offline
    FISH786
    wrote on last edited by
    #1

    Please can someone help. I am trying to run an application on a machine that does not have Visual Studio 2008 installed. I am getting an error message "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem." It's only a one dialog application. Nothing fancy. The controls used are combo boxes, edit control, static text control and list control. I have installed the distributable libraries on this machine. I have compiled my code under release mode. Update the machine with all patches from Microsoft update as well. I used the setup and deployment wizard too to see if that would solve my problem. What else could I have missed? Can someone please help.

    C C 2 Replies Last reply
    0
    • F FISH786

      Please can someone help. I am trying to run an application on a machine that does not have Visual Studio 2008 installed. I am getting an error message "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem." It's only a one dialog application. Nothing fancy. The controls used are combo boxes, edit control, static text control and list control. I have installed the distributable libraries on this machine. I have compiled my code under release mode. Update the machine with all patches from Microsoft update as well. I used the setup and deployment wizard too to see if that would solve my problem. What else could I have missed? Can someone please help.

      C Offline
      C Offline
      chirag_chauhan
      wrote on last edited by
      #2

      Are you trying to run Debug/Release version?? Debug version will cause lot of these kind of problems.

      1 Reply Last reply
      0
      • F FISH786

        Please can someone help. I am trying to run an application on a machine that does not have Visual Studio 2008 installed. I am getting an error message "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem." It's only a one dialog application. Nothing fancy. The controls used are combo boxes, edit control, static text control and list control. I have installed the distributable libraries on this machine. I have compiled my code under release mode. Update the machine with all patches from Microsoft update as well. I used the setup and deployment wizard too to see if that would solve my problem. What else could I have missed? Can someone please help.

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        FISH786 wrote:

        I have installed the distributable libraries on this machine.

        How did you do that exactly ? TO be able to run such an application on a machine were Visual Studio is not installed, you need to install the Visual C++ 2008 Redistributable package[^] on the target machine. This takes care of installing the required libraries (C run-time and MFC libraries). You can't do the same as with VC6: simply copying manually some files won't work.

        Cédric Moonen Software developer
        Charting control [v2.0] OpenGL game tutorial in C++

        F 1 Reply Last reply
        0
        • C Cedric Moonen

          FISH786 wrote:

          I have installed the distributable libraries on this machine.

          How did you do that exactly ? TO be able to run such an application on a machine were Visual Studio is not installed, you need to install the Visual C++ 2008 Redistributable package[^] on the target machine. This takes care of installing the required libraries (C run-time and MFC libraries). You can't do the same as with VC6: simply copying manually some files won't work.

          Cédric Moonen Software developer
          Charting control [v2.0] OpenGL game tutorial in C++

          F Offline
          F Offline
          FISH786
          wrote on last edited by
          #4

          Cedric Moonen wrote:

          you need to install the Visual C++ 2008 Redistributable package[^] on the target machine.

          Yes, I read about that when I searched for this error before posting this message. Not sure what else to do, even reinstalled the operating system, got all the current updates. and installed the redistributable and yes I did compile it in the release instead of debug. Are there any options that need to be changed when I do a release compile. I even tried a new project created by the wizard same result in the realease mode. Do I have to change any other options when in release mode?

          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