Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,
I am getting the following error while running my application.
"This application has failed to start because the application configuration is incorrect. reinstalling may fix this problem ". Please advice me without installing Visual Studio how this possible.

I used "Windows XP 32 bit os"

BR
Jessi
Posted

No, that's not a problem of Visual Studio. Your application has a *.exe.config file. That's some kind of XML file. And something is wrong with that file.
The file is normally created when you build your application in Visual Studio from the file app.config.
So just re-build your application. If that does not work, take a closer look at the app.config file.
 
Share this answer
 
Comments
Member 10010073 12-Sep-13 3:06am    
I ll check and update.

Thanks.
Member 10010073 12-Sep-13 3:11am    
I have build my application via make file. It's also SDL dependant application. If i run the app in which doesn't VC2008 it's shows the error message as said before.
Bernhard Hiller 12-Sep-13 3:42am    
"run the app in which doesn't VC2008" - I do not understand that. Try to describe the problem with other words.
Member 10010073 12-Sep-13 5:11am    
I am sorry. This application did not run in any pc which doesn't have Visual studio.
Seems the problem is in your configuration file. Can you paste your config file content here?
 
Share this answer
 
hi,
you mentioned that this application is not running on any machine which does not have Visual Studio installed, but it runs on the machines which have VS installed so it can mean that the problem is caused due to some missing vc++ re-distributables. These re-distributables are basically libraries or additional code required to run the applictions and get installed by default when Visual Studio is installed on a machine, so if you want to run this application on other machines, without installing Visual Studio on them, then you need to download the vc++ re-distributable version required for this application and install them on those other machines .

In the control panel of a machine where application is running, check the version of vc++ re-distributables already installed (in the installed programs list), then download these and install them on the other machine which does not have Visual Studio installed .
You tagged the question with vc8 so this redistributable has to be of VS2005 .
look here for downloading vc++ re-distributables[^]

hope this helps !
 
Share this answer
 
Comments
chandanadhikari 12-Sep-13 9:00am    
another scenario can be that the version of vc++ re-distributables required by the appliction, is different from the one already installed on the machine where you are trying to run your application so the error message is pointing this out. I do not remember correctly but the configuration file of the application should also tell you the version of vc++ re-distriutable used to build the application. Download this version and install it .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900