Click here to Skip to main content
16,005,389 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
I have developed a program in c#.net 4. When the application is executed directly by clicking exe file in the debug folder then an MDI form is open. When I click on a button in the MDI form to open another form then it shows the following error:

“The application has failed to start because config.dll was not found. Reinstalling the application may fix the problem”

But when the application is run from the source code in VS 2010 then no error is shown.
I didn’t use any config.dll in my application.
I couldn't figure out the problem?
Posted
Comments
Sergey Alexandrovich Kryukov 1-Apr-12 15:43pm    
What is "config.dll"? If this is a part of your solution, make sure it is deployed to the same output directory.
By the way, I strongly recommend to avoid MDI applications. Probably, there are no situations where that discouraged style (even discouraged by Microsoft) could be useful.
--SA

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

  Print Answers RSS


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