Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2008-10-17
4
Medium Priority
?
257 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

581 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