Solved

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

Posted on 2008-10-17
4
243 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

20 Experts available now in Live!

Get 1:1 Help Now