Re: Bug in IIS hosting of Remote Objects?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dinesh Eswaran (dinesh336_at_hotmail.com)
Date: 07/20/04


Date: 20 Jul 2004 08:35:35 -0700

OK. Thank you for clearing this issue.

You say I can modify the IIS 6.0 settings Application Pool. Is it
something that needs to be done programmatically or using IIS Admin?
If possible, can you please point me to any articles that talks about
this.

What is the downside to disable process recycling?

Thanks,
Dinesh

Sunny <sunny@newsgroups.nospam> wrote in message news:<uStlWXdbEHA.4092@TK2MSFTNGP11.phx.gbl>...
> Hi,
>
> IIS can recycle the aspnet process for a different reasons, thats why
> you see that behaviour.
>
> In general, to avoid this, you can disable the process recycling. For
> IIS 5.0, you have to modify the <processModel> section in
> machine.config. For IIS 6.0, by setting the properties on the
> Application Pool in which your web app runs.
>
> Also, make sure that no process is modifying the files in the web app
> folder, or in Windows\Microsoft.NET\Framework\v1.1.4322\CONFIG. Any
> modification in these folders may cause a process restart.
>
> Sunny
>
> In article <727ca83c.0407191247.211e65fe@posting.google.com>, dinesh336
> @hotmail.com says...
> > Hello,
> >
> > I have a Singleton Remoting Object hosted inside IIS. It has a sponsor
> > in a Windows Service that renews the lease. So as long as the Windows
> > Service is running I expect the remoting object to stay within scope.
> >
> > However I find that it is not the case. The Singleton object goes out
> > of scope in a random fashion - sometimes once in a couple of days and
> > sometimes thrice within an hour. Even though it goes out of scope it
> > remains in memory (I know this because of the debug messages). I
> > double checked the code and made sure there are no uncaught
> > exceptions.
> >
> > Is is possible that there is some kind of bug in the way IIS hosts
> > remoting objects? Has anyone else encountered similar behavior?
> >
> > Appreciate any thoughts on this matter,
> >
> > Dinesh
> >



Relevant Pages

  • Re: Error: The Template Persistent Cache initialization failed
    ... What identity is your AppPool using, and does it have access to modify ... > I keep getting this error in IIS 6.0. ... > Application Pool 'DefaultAppPool' because of the following error: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Bug in IIS hosting of Remote Objects?
    ... IIS can recycle the aspnet process for a different reasons, ... In general, to avoid this, you can disable the process recycling. ... > Service is running I expect the remoting object to stay within scope. ...
    (microsoft.public.dotnet.framework.remoting)
  • IIS Remoting - Can it run a thread?
    ... I like to host a remoting object in IIS... ... remoting object to have a persistent thread? ...
    (microsoft.public.dotnet.framework.remoting)
  • Help: Requested Service not found
    ... I'm trying to host a small remoting object on IIS, I tried several days, ... IIS virtual directory is "HelloWorldIIS", ... Larry ...
    (microsoft.public.dotnet.framework.remoting)
  • Bug in IIS hosting of Remote Objects?
    ... I have a Singleton Remoting Object hosted inside IIS. ... in a Windows Service that renews the lease. ... Service is running I expect the remoting object to stay within scope. ...
    (microsoft.public.dotnet.framework.remoting)