473,473 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Severe delay on initial load of web applications

Hello,

We are in the process of upgrading our internal web applications from v2.0
to v3.5.

A colleague has built a machine with 4GB RAM, 64-bit Vista Business Edition
and Visual Studio.NET 2008.

He has recreated the main web app out of source control on the above machine
and at first glance all is well. The conversion wizard successfully upgraded
the app to v3.5 and created the virtual directory on IIS7. The app compiles
with no errors and no warnings.

The app runs perfectly well in IE7 on IIS7, but the problem is that it now
takes over a minute to load.

At first I thought this must be something to do with the startup code, but
when I step through that it all runs fine. If I put a breakpoint at the very
last line of the startup code, it reaches it in around one second which is
how it should be. The delay seems to begin only after the server-side
processing has completed.

I enabled tracing, but of course that only traces the server-side processes
so that has not helped.

Next I wondered if the web app had somehow got corrupt or something during
the conversion process, so I built a brand new web application project which
did nothing other than display "Hello world" on default.aspx. Again, that
took about a minute to render to the browser.

Finally, I wondered if the problem might lie with IIS7, so I modified the
new web application project to use the Visual Studio Development Server
instead of IIS. This made no difference.

It makes no difference either if the web app is started in Debug mode or
Release mode.

Other sites both internal and external open normally on the machine so I
don't think there's a problem with IE7.

I found an article on Google which suggested removing the solution files and
then opening the project directly. This also didn't help. I didn't think it
would anyway because the problem also manifested itself in the "Hello world"
test web app.

The above represents the limit of my diagnostic knowledge.

Has anyone else come across this issue? Is there a fix or at least some
suggestions about what I could try next?

Thank you.
Jul 23 '08 #1
1 1409
"David Jackson" <so*****@somewhere.comwrote in message
news:Ok**************@TK2MSFTNGP02.phx.gbl...
The above represents the limit of my diagnostic knowledge.
Another couple of points which might help but which I stupidly forgot to
mention.

We currently use Web Deployment Projects. We created a WDP for the web app
in question and used it to deploy it onto our UAT server which is running
IIS6 on 32-bit Windows 2003. Here, it starts up in a couple of seconds as
normal.

On the Vista development box the problem only occurs when the app is run
through Visual Studio.NET 2008. The web app project is configured to start
up with http://wks035/intranet/default.aspx - if I type that URL into IE7
outside Visual Studio.NET, it starts up in a couple of seconds as normal. I
can even type that URL into IE7 on another workstation and it loads
normally. Therefore it would seem that whatever the problem is, it concerns
Visual Studio.NET.

Once the web app has actually started up when run through Visual Studio.NET
and the home page has finally loaded, it runs normally after that.
Jul 23 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Trevor Hardwick | last post by:
Hi I'm Delay Signing an assembly. The Register for Com Interop property is set to true for all output files. When I build the solution I get the following error: "COM Interop registration...
7
by: mfeingold | last post by:
I am working on a system, which among other things includes a server and a ..net control sitting in an html page and connected to the server. I ran into a couple of problems, you guys might have...
5
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
4
by: Alex Maghen | last post by:
I've just moved to a new hosting company which provides me a "Virtual Dedicated Server" running Windows Server 2003/ASP.NET 2.0. My site is not pre-compiled and, at least for now, I'd prefer that...
6
by: DaveOnSEN | last post by:
Every time I make any .NET framework based webservice consumer I have the same problem: The first call my application makes to consume a webservice takes about 15 seconds. Subsequent calls are...
5
by: danfan46 | last post by:
Hi! I have a previous post on the subject that connect takes a long time. I uninstalled db2 completely. Installed V9.5 Installed fixpack 1 created das created an instance installed...
0
by: David Jackson | last post by:
Hello, I first posted this several weeks ago but didn't get any replies so I'm trying again in the hope that someone might be able to help. We are in the process of upgrading our internal web...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.