Groups | Blog | Home
all groups > dotnet performance > june 2003 >

dotnet performance : How to decrease VB.NET Application load time



Dinesh Jain
6/29/2003 9:49:36 PM

Hi All,
I am posting this question again because earlier
I didn't get any answer.

When we run any VB.NET application, it takes a lot
of time to load. When we double click on the exe,
it takes some good amount of time even for showing
main window of the application.
I tried out NGEN utility but didn't get anything.
Can we have some solution to solve this problem ?

Please help,
Thanks in advance,

-Regards,
Dinesh


*** Sent via Developersdex http://www.developersdex.com ***
Dinesh Jain
6/30/2003 4:10:29 AM

Hi Nick ,
My app takes more than 20 secs.
Do you have any solution for this ?

-Regards,
Dinesh


*** Sent via Developersdex http://www.developersdex.com ***
Nick Wienholt
6/30/2003 5:13:33 PM
[quoted text, click to view]

How long is 'a lot of time'? Up to 10s would be normal for the first launch
of an app on a low end machine running Win98. Greater than 20s indicates a
bug that existed in earlier versions of the Framework relating to the ASPNET
worker account.

Nick Wienholt, MVP
Sydney Deep .NET User Group www.sdnug.org

[quoted text, click to view]

Nick Wienholt
6/30/2003 9:21:09 PM
That sounds too long unless the machine is a Pentium 60 or similar. If you
are using v1.0 of the .NET Framework, load speed can be very slow if the
ASP.NET worker account is missing, even if ASP.NET is not installed. Some
section of the Framework looks for the ASP.NET account, and if it doesn't
exist locally, a network search is done, which takes heaps of time. The
solution is to add a Windows account named aspnet_wp - it doesn't need any
particular privileges, and can by disabled.

If this doesn't work, try a profiler, and look at what is happening. The
monitoring tool from sysinternals.com, particularly filemon and regmon may
help isolate the source of the problem.

Nick

[quoted text, click to view]

AddThis Social Bookmark Button