Sign in to follow this  
Beeeph

[.net] application configuration

Recommended Posts

Beeeph    125
I've searched the forums, and the internet for that matter, and have been unable to find a clear explanation or solution to a very common problem I've run into EVERY time I've used Visual Studio 2005 to build a .net windows application. When I try to run that application on a PC that doesn't have VS2005 installed, I get the following error... "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." the problem seems to be specific to using Visual Studio 2005 because if I rebuild the same program using Visual Studio 2003, I can simply double click and run the program with no problems. It looks like it could be a matter of finding some DLLs that are missing, but if so how do I find which ones? Has anyone else experienced this? do you remember what you did to fix it? Is this a common issue with a simple solution? Thanks so much in advance! Beeeph

Share this post


Link to post
Share on other sites
Crisium    100
like the person before said you need the redist files.
I got this too when I upgrade sp1 for visual studio (not a very nice way of microsoft to handle this).

if you have any third party libraries you have compiled you will have to recompile them too.

good luck,
Peter Wraae Marino

Share this post


Link to post
Share on other sites
Evil Steve    2017
Quote:
Original post by Crisium
I got this too when I upgrade sp1 for visual studio (not a very nice way of microsoft to handle this).
What do you suggest they do? Provide everyone with irrelevant files via Windows Update that may never be used?

It's the application installers job to correctly install any dependant files. If you don't do that, it's your own lookout, not Microsoft or anyone elses.

Share this post


Link to post
Share on other sites
Beeeph    125
I've tried installing the redist, i still get the same error.

so if i understand you correctly, you're saying the problem is the result of the first VS2005 service pack and, as a result, I need to recompile any third party libs that were compiled with VS2005 before the first service pack? if so, that could be what's causing the error.

any other ideas?

Share this post


Link to post
Share on other sites
dalleboy    324
Quote:
Original post by Evil SteveWhat do you suggest they do? Provide everyone with irrelevant files via Windows Update that may never be used?

It's the application installers job to correctly install any dependant files. If you don't do that, it's your own lookout, not Microsoft or anyone elses.

The problem is that CRT for VS2005-SP1 isn't compatible with CRT for VS2005-RTM, and that you cannot have CRT for VS2005-SP1 and CRT for VS2005-RTM installed at the same time.

Share this post


Link to post
Share on other sites
neonic    367
I got a similar error when I compiled with a 64-bit compile target (by accident) and ran it on a 32-bit machine. Just check to make sure that is not the case.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this