Solved

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

Posted on 2008-10-17
4
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

627 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