Solved

ASP and ASP.Net is slow/timeout at first time load after SQL upgrade to 2008 R2

Posted on 2010-11-25
4
371 Views
Last Modified: 2012-05-10
We recently upgraded our SQL to 2008 R2, this server is very powerful, see the specs:
4 x 8core Intel Xeon 2Ghz processors
256Gb memory;
5 x 1Gb nics (2 teamed for production, 2 teamed for heartbeat, 1 for iLo)
Windows server Enterprise 2008R2.
Firewall is disabled.

but weird thing is ASP and ASP.Net applications are slow when they are first time launched, sometimes timeout. after application is loaded, it's fast like fly.

Applications are using ASP.Net 1.1 and 2.0, .Net framework is 1.1, 2.0, and 3.5.

Any comment is welcome.
0
Comment
Question by:wallaceni
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34212642
Well, if they're not precompiled then the app will have to be JIT'd the first time it runs. How long that takes will depend on how big the app is.

You could try pre-compiling to avoid the initial hit and see if that helps:

    http://articles.techrepublic.com.com/5100-10878_11-6116804.html
0
 
LVL 3

Accepted Solution

by:
Epitel0920 earned 500 total points
ID: 34241456
Does you application use the newly build database on the first launch? We had a timeout problem in one of the companies that I worked for when the application attempted to access the database that was just built and it timedout the command first time, second time it ran fine
I am not sure I remember the fix, or if there even was a fix, but what you could try is to have the installer try to run some querries on the db upon the completion of the installation
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34429105
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question