Hello Stefan,
From your description, I understand you have an ASP.NET application
recently upgrade from 1.X to 2.0 framework. It works correctly, but has
experienced slow performance issue, and you found that the problem seems
related to a 3rd party assembly which is still compiled under .net
framework 1.1.
Regarding on the this issue, I think the problem should be coupled with the
3rd party component's internal code logic also. For .net framework runtime(
no matter ASP.NET or normal .net application), it can only load a single
set of framework assemblies in a given process. That means, if your
application is running under .net framework 2.0, all those system
assemblies (such as mscorlib.dll, System.dll, System.Web...... ) are all
the .net 2.0 ones. Even if some certain referenced assembly is referencing
..net framework 1.1, the runtime will not load another copy of the .net
framework 1.1 system assemblies.
In Visual Studio 2005, you can start debugging your ASP.NET application and
in the debug output windows, you can find all those loaded assemblies at
startup time. Their version are comform to the main application's runtime
version. I have performed some test in my local environment and confirm
this behavior, and some simple class library component(target 1.1 framework
version) seems not able to repro such slow performance behavior.
Currently, If you have detailed info about that 3rd party component's
internal code logic, you can try creating a test dll to simulate its code
logic and test in your web application. You can build such a test dll under
both VS 2003/.NET 1.1 and VS 2005/.NET 2.0 and run it to see whether it can
still repro the behavior. If possible, it is surely recommended to request
a updated version of that 3rd party assembly (target framework 2.0)
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.