DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 08 Aug 2007 13:54:42 -0000,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    unknown
          2    Rory Becker am
          3    unknown


How do 1.1 dlls execute in a 2.0 worker process   
Hi,

Recently i have ported our 1.1 web application to 2.0 using the Web
application project model.

Some of our referenced third party dlls are 1.1 and the rest 2.0.

Now on my Win XP machine, two aspnet_wp processes are created, one
hosting the 1.1 runtime and the other 2.0 runtime.

So what i wanted to understand was, exactly how are the 1.1 dlls being
executed from my 2.0 application?
1) Is the 1.1 runtime being loaded separately or within the same
aspnet_wp? Since what i have gathered till now is that two different
runtimes cannot be hosted within the same process.

Or
2) The 1.1 dlls are being executed on the 2.0 runtime. And we might
face an application crash if an incompatibility is encountered.

Thanks for your answers.
gautam
Date:Wed, 08 Aug 2007 13:54:42 -0000   Author:  

Re: How do 1.1 dlls execute in a 2.0 worker process   

> Recently i have ported our 1.1 web application to 2.0 using the Web
> application project model.
> 
> Some of our referenced third party dlls are 1.1 and the rest 2.0.
> 
> Now on my Win XP machine, two aspnet_wp processes are created, one
> hosting the 1.1 runtime and the other 2.0 runtime.
> 
> So what i wanted to understand was, exactly how are the 1.1 dlls being
> executed from my 2.0 application?
> 1) Is the 1.1 runtime being loaded separately or within the same
> aspnet_wp? Since what i have gathered till now is that two different
> runtimes cannot be hosted within the same process.
> Or
> 2) The 1.1 dlls are being executed on the 2.0 runtime. And we might
> face an application crash if an incompatibility is encountered.
> Thanks for your answers.
> gautam


As I understand it...

....You can only have 1 runtime version per process so if you're seeing 2 
* aspNet_wp processes then you're likely running 2 web apps (or possibly 
webservices) each geared toward a different version of the framework .

....Third Party 1.1 libraries will run in v2.0 of the framework if called 
from libraries that were written for the 2.0 framework.

--
Rory
Date:Wed, 8 Aug 2007 17:19:01 +0000 (UTC)   Author:  

Re: How do 1.1 dlls execute in a 2.0 worker process   
Hi Rory,

Thanks for your reply.

So, if 1.1 libraries run on the 2.0 Framework, then that means there
is a possibility that if an incompatibility between 1.1 and 2.0 is
encountered our application might throw an exception, right?

So, either we try and use a 2.0 version of the library, or get the
features which we use in the 1.1 library thoroughly tested to make
sure there is no existing issue after the migration to 2.0.

What would be the general recommendation in such a migration scenario?

thanks,
gautam
Date:Thu, 09 Aug 2007 13:03:50 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us