.NET Framework Developer Center >
.NET Development Forums
>
.NET Framework Setup
>
Deploying VC++.net 2005 application
Deploying VC++.net 2005 application
- Dear Friends,
I have made 1 application in vc++/mfc in visual studio 2005,it is running successfully on my pc but when i try to run(.exe) it on a machine which doesn't have visual studio 2005 install (only have xp sp3) it will not run..and gives messagebox with message
"This application has failed to start because the application configuration is incorrect.reinstalling the application may fix the problem"
what i should do to run it on any machine having xp....
Please give your valuable suggestion as early as possible...
Thank You in advance...
Answers
- well how did you install it on the 2nd machine? incase you simply copied the .exe file, a lot of dlls referenced by the app will be missing. these include all of the vc++ runtime libraries. iow: you need to install the runtime libraries you are using that come with visual studio. e.g. there is a vc++ redistributable installer that comes with visual studio. incase you are using mfc/atl/c++, that one also needs to be deployed to the target machine.
WM_HOPETHISHELPS
-thomas woelfer
http://www.die.de/blog- Marked As Answer byEdwer FangMSFT, ModeratorThursday, November 12, 2009 2:40 AM
- Hello,
Here are the related links:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)
In addition, usually we need to install both of .net framework and the Redistributable Package, you may verify that if you have installed .net framework unless your OS is vista or later, if not, you should install it on the target machine.
By the way, as this forum is for the setup of .net framework, you could post your related issue on the related language IDE Forum so you can get better and quicker response.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:10 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:08 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:08 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:09 AM
- Marked As Answer byEdwer FangMSFT, ModeratorThursday, November 12, 2009 2:40 AM
All Replies
- well how did you install it on the 2nd machine? incase you simply copied the .exe file, a lot of dlls referenced by the app will be missing. these include all of the vc++ runtime libraries. iow: you need to install the runtime libraries you are using that come with visual studio. e.g. there is a vc++ redistributable installer that comes with visual studio. incase you are using mfc/atl/c++, that one also needs to be deployed to the target machine.
WM_HOPETHISHELPS
-thomas woelfer
http://www.die.de/blog- Marked As Answer byEdwer FangMSFT, ModeratorThursday, November 12, 2009 2:40 AM
- Thanks Thamas for your quick reply,
from where i can download the runtime libraries for vc++..???
Thank You once again.. - Hello,
Here are the related links:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)
In addition, usually we need to install both of .net framework and the Redistributable Package, you may verify that if you have installed .net framework unless your OS is vista or later, if not, you should install it on the target machine.
By the way, as this forum is for the setup of .net framework, you could post your related issue on the related language IDE Forum so you can get better and quicker response.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:10 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:08 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:08 AM
- Edited byEdwer FangMSFT, ModeratorFriday, November 06, 2009 10:09 AM
- Marked As Answer byEdwer FangMSFT, ModeratorThursday, November 12, 2009 2:40 AM
- Thank you Edwer,
But for tht it reqiurs only release mode...cant i use Debug mode???
- Hi,
Do you mean the application is generated in debug mode and you are confused whether it could work on the target machine with the both prerequisites installed? If so, yes, the application could work on it.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.


