This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).

Posted on 2009-05-17
Last Modified: 2013-11-20
When running the application in debug mode, it fails to start and displays the following error
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001)."
I've tried advices used in similar problem mentioned in other posts but it did not help.
Application runs fine on release. Problem seems to be related to importing functions from
a dll which uses atl, while the application does not.

Any idea?

Question by:UdiRaz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
LVL 86

Expert Comment

ID: 24406543
The debug runtime DLLs are probably missing on your target machine, which is absolutely normal - MS' license agreement does not allow these to be distributed, only the release versions can be.

Author Comment

ID: 24409291
I don't think this is the problem since other mfc projects are able to run in debug mode.
LVL 86

Expert Comment

ID: 24412173
You can easily check that by opening your app with the Dependency Walker ( - does that tool report any DLLs as missing?
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 24420431
thanks, I've tried this tool before (after reading simliar posts) and it gives an error "Warning : At least one module has an unresolved import due to a missing export function in a delay - load dependent module".
My main application is using mfc but not using atl, and the dll uses both, although I've tried
changing this and it did not help. I'm exporting classes using dllexport, but there is a warning
regarding CString in header files.
LVL 86

Expert Comment

ID: 24426655
If that is about mpr.dll, don't even bother - this message is explained in the FAQ. Any others reported as missing?

Author Comment

ID: 24429067
this is not regarding mpr dll. it is related to exporting functions from an MFC dll I'm creating.
The weird thing is that it works in release.

Accepted Solution

Subrat (C++ windows/Linux) earned 500 total points
ID: 24470182
I think this may help u.
In VS2008,
ConfigurationProperties->C/C++->Code generation->Runtime Library
change here to /MD  or /MT depending ur project.....


Author Comment

ID: 24471641
Well done. This solved the issue.

Author Closing Comment

ID: 31582332
Simple and effective. Well done.

Expert Comment

by:Subrat (C++ windows/Linux)
ID: 24471649
U r wel - come.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 96
modThree challenge 4 110
wordappend challenge 8 223
Authenticate using sesu from script 7 116
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question