Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Why would asp.net web application run sluggish the first time to the site?

Posted on 2008-10-17
4
Medium Priority
?
254 Views
Last Modified: 2010-04-14
Why would asp.net web application run sluggish the first time to the site?

Then if i log out and log back in...it is blazing fast.  Kind weird IMHO.

I cant tell what it is loading or doing. My web application is quite simple not really sure what is going on.

Any ideas? or settings to look into?

Thanks in advance.

~~~additional info~~~
Windows 2003 Server Xeon 2.8ghz
800FSB
2GB Ram
75GB HDD @ 10K RPM
Using IIS
I have a T1 line.
0
Comment
Question by:16spam16
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:maXXXeE
ID: 22739853
Well, the first time u run, your asp.net application is compiled to dll(s). So, it takes time.

There are no compilations next time unless u change something.
0
 
LVL 7

Expert Comment

by:maXXXeE
ID: 22739869
0
 
LVL 1

Author Comment

by:16spam16
ID: 22739888
I knew that when you are developing it builds stuff to the bin folder, but does that apply when the site is on the production(live) server?
0
 
LVL 1

Accepted Solution

by:
16spam16 earned 0 total points
ID: 22778860
FWD- DanielWilson:
OK, it seems that the SQL Server Express is going to sleep.
Related links:

    * http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=309672&SiteID=1 -- but you're not using a "user instance", so it doesn't really apply
    * http://www.eggheadcafe.com/software/aspnet/31742298/sql-server-express-going.aspx -- Please check the value of the AUTO CLOSE settings and turn it off.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview
Suggested Courses

916 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