VB.NET Executable - Slow in Response

  • Thread starter Thread starter Senthil
  • Start date Start date
S

Senthil

Dear All,
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

Some help is much appreciated.

Thanks & Regards,
Senthil
 
What references have you made to external dlls? Anything out of the
ordinary? The dlls for Acrobat 6 are major loading-performance killers.

Eric
 
Senthil said:
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

You may want to have a look at the documentation of "ngen.exe". This
tool will compile the executable to native code on the destination
machine and will increase start-up performance.
 
The executable takes considerable amount of time (more than a minute) to
bring up the initial screen itself.

At one time, there was a bug in that if you didn't have a user account
called ASPNET on the system, that it would start slowly.

Try adding an ASPNET user account (disable it if you wish) and see if that
improves things.

Can anyone else comment?

Chris
 
Senthil said:
Dear All,
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

Some help is much appreciated.

Thanks & Regards,
Senthil

Sounds like the ASP.NET user account bug... You may want to do as Chris
suggested, and try creating a ASP.NET user account on the machine and see what
happens. I'm not sure if this was fixed in a later, release - but if you
haven't applied the 1.0 service packs, this might be a good time to do it :)

Tom Shelton
 
Back
Top