Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

22 Experts available now in Live!

Get 1:1 Help Now