I have an application (exe) file created in .Net framework 2.0.5238. In my machine I have the following versions installed
Microsoft .NET Framework 1.1 1.1.4322
Microsoft .NET Framework 2.0 Service Pack 1 2.1.21022
Microsoft .NET Framework 3.0 Service Pack 1 3.1.21022
Microsoft .NET Framework 3.5 3.5.21022
Microsoft .NET Framework 3.5
When I execute that application, it crashes at some point. How can I resolve this issue? I cannot remove the existing framework since some other dependent applications are running. Neither can I install 2.0 because of this
Well look slike something is wrong with OsInfo.dll file. You may want to check what version of file is installed on the system that is giving the problem and the ones that don't.
Yes, I noticed that in the crash information. Actually it is a dll along the application. But the same application with the same dll runs fine in some other machines. The application not only crashes in my machine. Also in some other machines.
OsInfo.dll is not part of .NET framework, so the cause is not in it. I also think that the bad is somewhere else, most probably the OsInfo.dll rely on other component, which is not installed, or corrupted. What about try to use Dependency Walker (depends.exe) to check out what does the OsInfo.dll require?
Also, there may be a bug in class constructor, e.g. attempt to write to forbiden path. Such a kind of errors is hard to recognize, because they are "consumed" by class loader and are propagated strange.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.