Solved

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

Posted on 2010-11-25
4
370 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now