Categories

CODE
Visual C++ Programming
C++ (Non Visual C++ Issues)
Modern Windows Apps (Metro)
C++ and WinAPI
Managed C++ and C++/CLI
Visual C++ Bugs & Fixes
Graphics Programming
Multithreading
Network Programming
Driver Development
Visual Basic 6.0 Programming
Visual Basic .NET
Crystal Reports
C-Sharp Programming
Managed C++
Visual Basic .NET
ASP.NET
.NET Framework
ADO.NET
Windows Presentation Foundation (WPF) & XAML forum
Silverlight
.NET Installation and Configuration Issues
Java Programming
AJAX
Scripting - Client Side
Database
XML
Wireless/Mobile Development
Assembly
Scripting - Server Side (PHP, Perl, etc.)
Python
General Developer Topics
Project Planning, Design, and Management
Testers and Testing
Algorithms & Data Structures
General Discussion / Chit Chat
Announcements, Press Releases, & News
Feedback
Articles Suggestions
Testing Area
Programming Projects
C# Game(s) Project
Game Engine Project
C++ Coding Project
Project: Code War
Slow Chat: Talk with Microsoft Developer Teams
Slow Chat: Developing Multithreaded Applications
Slow Chat: C++0x
Slow Chat: Visual C++: Yesterday, Today, and Tomorrow
Directory Services
General Windows and DNA Programming
Windows OS Issues
Open Positions (Jobs)
Looking for Work
Visual Basic .NET FAQs
Visual Basic FAQs
CodeGuru Individual FAQs
CodeGuru Individual Visual Basic FAQs

Resources

Java Database
Linux
Coding
Mobile
Hardware
Software Development
Software Development
iOS,OS X
iOS,OS X
ORACLE
IBM DEVELOPER
IBM DEVELOPER
MSDN
MSDN


Tags

.NET Framework

Ask general questions about the .NET Framework. Discuss general CTS, CLR, and other .NET Platform questions and issues

.NET Framework version compatibility


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  Thanks.  				  			

  				  					When it crashes, what message does it show? Maybe framework is not an issue, maybe there is something else that is causing the application to crash.  				  			

  				  					I have attached the crash info. Also, the application runs perfectly in some machines.  				  			

  				  					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.  				  			

  				  					I am very much sure that the problem is not with the framework versions. It may be something else that is causing the application to crash.  				  			

  				  					OK. Let me analyze on this. Thanks!  				  			

  				  					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.


Related Links

Type Description at runtime
listview columns
Sorting the items in the listbox
Parts of Programm didn't work after deployment
About ToolBar
Resolve DNS validity
PrintDocument without display Printing Dialog
Control Binding to DataSource event cause.
KeyPress Events in DataGrid
Why the parameter of OnBuildBegin event always =1
Writing a Web Service
ComboBox paint ???
GUI Design for MSVS style Code View
msvcmon help?
How to set Program Arguments from outside of .NET IDE?
Autocomplete