Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS 6 application pool, Cache and Custom error, Session st..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Sub Domains & Categories  
Author Message
ABCL

External


Since: Jul 23, 2007
Posts: 2



(Msg. 1) Posted: Sat Oct 13, 2007 9:17 am
Post subject: IIS 6 application pool, Cache and Custom error, Session state
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi all,
our application is in the production environment which uses IIs6.0,
Some thimes we experince that when we try to browse any page, It
displays Custom error page instaed of actual page( it means that any
unhandled exception occurs in the application) If I look at the Log
file, It says that bull refrence at te time of getting the Sesion
variable


and also i am slo cacheing images on the server. ANd some times images
does not show up,
once i restart the IIS then it works fine

what can be the problem?

can any one explain me how it works when Application pool restarts,
what will be the impact on caching and session variables?


Thanks in advance

 >> Stay informed about: IIS 6 application pool, Cache and Custom error, Session st.. 
Back to top
Login to vote
David Wang

External


Since: Nov 01, 2007
Posts: 309



(Msg. 2) Posted: Sun Oct 14, 2007 1:40 am
Post subject: Re: IIS 6 application pool, Cache and Custom error, Session state [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 13, 9:17 am, ABCL <ohm....DeleteThis@hotmail.com> wrote:
> Hi all,
> our application is in the production environment which uses IIs6.0,
> Some thimes we experince that when we try to browse any page, It
> displays Custom error page instaed of actual page( it means that any
> unhandled exception occurs in the application) If I look at the Log
> file, It says that bull refrence at te time of getting the Sesion
> variable
>
> and also i am slo cacheing images on the server. ANd some times images
> does not show up,
> once i restart the IIS then it works fine
>
> what can be the problem?
>
> can any one explain me how it works when Application pool restarts,
> what will be the impact on caching and session variables?
>
> Thanks in advance



It sounds like you are running custom applications on IIS6 that has
bugs, causing the Custom Error pages to be returned, as well as
possibly cause images to not show up. Restarting IIS causes those
applications to restart as well, thus "fixing" the issue. The real fix
is to debug and fix those broken custom applications. A temporary
workaround is to configure IIS6 to periodically recycle those
applications, so you don't have to go restart IIS at all -- it'll do
the job for you.

As for your question on Application pool restarts and impact on
caching/session variables, read this blog entry:
http://blogs.msdn.com/david.wang/archive/2005/09/19/Why-do-I-lose-ASP-...sion-St

I see no indication that your problems are related to IIS6 itself. I
usually start by suspecting problems within the application you run on
IIS6. Why? Because IIS6 is a proven, rock-solid server used by
millions and engineered by a dedicated team which has spent far more
time testing it than the application you run on it, and over 90% of
user-reported issues on IIS result from problems within 3rd party code
run on IIS.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: IIS 6 application pool, Cache and Custom error, Session st.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS6 - does recycling an application pool clear the cache? - If I put a bunch of RAM in my server so I could cache a lot of ASP pages, etc.... and I recycle the application pool for whatever App once a day at like 3am, am I tossing out all those cached pages and thus not taking advantage of most of the RAM? Thanks...

iis application pool cache losts new cached items if cache.. - i realy dont understand the behaviour of the iis application pool cache if an limit of max used mb is set! i have an xml file, which is cached! the items of the xml file shoud stay in cache for one hour. if the path or the content of the xml file has..

Custom Application Pool Identity - When we try to run the Application pool with a configurable identity, Application pool is getting automatically disabled. We are using Windows 2003 Enterprise Edition and IIS6. Application pool starts without any error with the configured Identity. Bu...

application pool custom identity - I have a Windows 2003 Web Edition (IIS 6.0) server that host my intrAnet site. We are using only NT integrated authentication. When the AppPool identity is set to Network Service (default) everything works fine. But we are trying to use the aspnet..

IIS asks for login when changing Service Account of applic.. - Hi there I'd like to run my asp.net app under domain account using application pool custom service account rather than impersonation (for easier account credentials maintanace). After setting up domain account, runnning aspnet_reg /ga, and adding the..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]