Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi there,

i am facing a problem since i have changed my OS to windows 7 professional.
i am able to run my release code exe but i am unable to run my Debug code exe.
When i try to debug my application in Visual studio it gives the following error.
An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module.

Additional information: Could not load file or assembly 'Windowmaker.Interop.WMD.dll' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)

i tried every possible thing but am unable to resolve this problem.
The dll that it says it cant load is present in the code and i checked all its dependencies they are also present.
i have complete .Net4.0 installed.
i did search on google as well but did not fnd any satisfactory answer.
Please help..
Posted
Updated 29-Apr-12 21:00pm
v2
Comments
Lakamraju Raghuram 30-Apr-12 2:56am    
Are you using any mangged C++ dlls in your solution ?
Code-o-mat 30-Apr-12 4:36am    
Can it be that the DLL or any of its dependencies have an "incorrect" path "wired into" the code? I mean, e.g. it tries to load that DLL from "c:\windows\system32\" while in win7 it is now located under "c:\windows\system32\interop\" (the paths io just made up). So you see the DLL's are present they are just not where your app looks for them?

1 solution

Solved the problem. Actually one of my dll's was refering to VC90 instead of VC100 as it should do for new Visual studio 2010. i deleted and recomplied this dll. Now its working fine. thanks for the support.
 
Share this answer
 
Comments
Albert Holguin 1-May-12 11:01am    
Thanks for posting your solution... although some may frown on posting solutions to your own questions... some of us think it's a great idea since it might help anyone else with the same problem down the road.
Saurabh.abhyankar 3-May-12 0:27am    
Yup thats the reason why i posted the answer here.. coz i myself did search on the net .. i found such kind of Questions but no answers to it.. The reason might be that people themselves had solved the problem but no one posted thier ans back.. :)

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