Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework? Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Go Back  Xtreme Visual Basic Talk > > > Backward-Compatible .NET Framework?


Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2006, 11:29 PM
NovemberJim NovemberJim is offline
Newcomer
 
Join Date: Oct 2006
Posts: 5
Unhappy Backward-Compatible .NET Framework?


I have a VB.NET application that was developed in VS2003 and runs just fine when .NET 1.1 is installed. On a machine with only .NET 2.0 installed, however, it fails. I get through the application installation ok, but when I start the application, I get a dialog box that says:

"To run this application, you must first install one of the following versions of the .NET Framework:
v1.1.4322.
Contact your application publisher for instructions about obtaining the appropriate version of the .NET framework.

The title bar of the dialog box contains the name of my app followed by ".NET Framework Initialization Error."

Everything I have read says that .NET 2.0 is supposed to be backward compatible, meaning that apps developed to run under 1.1 would also run under 2.0. Is that not true? Secondly, is there some way I can get some more diagnostic information from the framework about what exactly has gone wrong?

Any ideas would be appreciated.
Reply With Quote
  #2  
Old 10-29-2006, 07:30 AM
reboot's Avatar
rebootBackward-Compatible .NET Framework? reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

You misread. 2003 apps require the 1.1 framework.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 10-29-2006, 08:16 AM
NovemberJim NovemberJim is offline
Newcomer
 
Join Date: Oct 2006
Posts: 5
Default Backward Compatibility of 1.1 apps in 2.0 framework

Thanks for the quick response. That would certainly explain what I am seeing. I was probably too optimistic in reading some of the what is listed below:

There is another thread on this forum that indicated that there was compatibility:

Another xtremevbtalk thread

Most of my optimism came from the white paper that Microsoft published earlier this year:
Microsoft 1.1 to 2.0 Compatibility Article

That article states: "Microsoft's compatibility goal for .NET Framework 1.1 applications is that they should work smoothly on the .NET Framework 2.0 except for a set of documented changes as provided here."

However, it appears that Microsoft did not achieve their compatibility goal. Here is a list of a set of "breaking issues":

Breaking Issues

Thanks again for your definitive answer. I think you're right.
Reply With Quote
  #4  
Old 10-29-2006, 08:24 AM
reboot's Avatar
rebootBackward-Compatible .NET Framework? reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

Maybe I misspoke rather than you misread. According to that article they are supposed to be (at least somewhat) compatible. That's what I get for assuming.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb

Last edited by reboot; 10-29-2006 at 08:30 AM.
Reply With Quote
  #5  
Old 10-29-2006, 08:28 AM
NovemberJim NovemberJim is offline
Newcomer
 
Join Date: Oct 2006
Posts: 5
Default Yes, that could be

Quote:
Originally Posted by reboot
Maybe I misspoke rather than you misread.According to that article they are supposed to be (at least somewhat) compatible. That's what I get for assuming.
Yeah, maybe so. Anyway, in case I want to track down the specific incompatibility issue that's stopping my app, do you have any ideas how I can get .Net to give me some hint of what the specific blocking issue is?
Reply With Quote
  #6  
Old 10-30-2006, 08:40 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

I would start with going back one step to see if you are really dealing with a "breaking issue". Your application should not be telling you that it could not load the framework even if there was a breaking issue, perhaps giving you a bad value, perhaps a runtime error at the point of usage, but the framework should load and run your application. I can't help thinking that the framework 2.0 is in fact not installed or broken.
__________________
170 10101010 410 J31^170
Reply With Quote
  #7  
Old 10-30-2006, 09:05 PM
NovemberJim NovemberJim is offline
Newcomer
 
Join Date: Oct 2006
Posts: 5
Default I Agree that the Framework Shouldn't Do That, But...

Quote:
Originally Posted by by_m
I would start with going back one step to see if you are really dealing with a "breaking issue". Your application should not be telling you that it could not load the framework even if there was a breaking issue, perhaps giving you a bad value, perhaps a runtime error at the point of usage, but the framework should load and run your application. I can't help thinking that the framework 2.0 is in fact not installed or broken.
The idea of a broken or incorrectly-installed 2.0 is possible but is pretty unlikely because I've reproduced this same problem on three different machines with three different owners. On all three machines we got the same framework initialization error. I find it hard to believe that all three of these machines would have an incorrectly installed or broken 2.0, unless 2.0 is very fragile.

I've been told by people on this thread and on a Microsoft forum (http://forums.microsoft.com/MSDN/Sho...70254&SiteID=1) that I should never have expected Framework 2.0 to run an app that was developed with VS2003. So I'm at a loss

But I appreciate your reply.
Reply With Quote
  #8  
Old 10-30-2006, 09:08 PM
reboot's Avatar
rebootBackward-Compatible .NET Framework? reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

That's what I originally thought, but your link says differently.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #9  
Old 10-30-2006, 09:16 PM
NovemberJim NovemberJim is offline
Newcomer
 
Join Date: Oct 2006
Posts: 5
Default

Quote:
Originally Posted by reboot
That's what I originally thought, but your link says differently.
True. But now an MVP on the Microsoft forum has given me the same gut reaction as you did. I count those gut reactions as something significant in the absence of something more definitive. The Microsoft link that I provided did raise my hopes but it provided no help other than that!
Reply With Quote
  #10  
Old 10-30-2006, 11:17 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

Decidedly so, I also am unable to run Pre-VS2005 made programs on my computer, which only has 2.0 on it. I wonder why there isn't more information on this glaring inconsistency, as everything I've read indicated otherwise, and google brings up little more than your own postings.
__________________
170 10101010 410 J31^170
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework? Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework? Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
 
Backward-Compatible .NET Framework?
Backward-Compatible .NET Framework?
 
-->