简体   繁体   中英

Several Performance Issues after migrating from .NET 1.1 to .NET 4.0

We migrated an ASP.NET 1.1 web application to 4.0 and since then the performance has been getting worse day by day. Pages take about 5-6 minutes to load, even a simple one. Classic ASP goes fast as the wind, but ASPX.. oh my. Yesterday I let Debug Diagnostics running an analysis on the machine and will see it tomorrow. Besides, I searched for similar problems and found these 2 threads with possible solutions -- we use lots of VB6 dlls as unmanaged code to do all sort of stuff. Could they be the problem? What do you guys think? In the second link, the question author answered that he found the problem - it was a recordsetclass update method that was making performance go down.

Any ideas?

Unexpected behaviour after migrating from .NET 1.1 to 3.5

Performance issues after upgrading from asp.net 1.1 to 3.5

Just found out what was happening, is case anyone wants to know. There was a call to Environment.Stacktrace (the getter method) that was hanging heavily, besides being called at every database access (wow) -- almost 100% of IIS threads were blocked by this call. Not sure the reason, but this call used to work fine in .NET 1.1 and I couldn't find any clues about it.

btw, sorry about saying 'thanks', I'm new around here, it was my first question - won't happen again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM