RE: a new worker process(aspnet_wp.exe) for each web service request .

From: Deepak (Deepak_at_discussions.microsoft.com)
Date: 02/07/05


Date: Mon, 7 Feb 2005 15:45:04 -0800

Hello
You cannot inherit the settings of the processmodel section in your
web.config file.
This section cannot be inherited. So all the settings that you change for
processmodel element will apply to all the web sites that are running on your
server.
Remember to run iisreset after you have made changes to machine.config.

"CG" wrote:

> I have a VS .NET 2003 web service project which references a Managed
> C++ assembly.
>
> The managed C++ assembly in turn uses some unmanaged code.
>
> Because of some restriction in the unmanaged (legacy) code, I can only
> have a aspnet_wp.exe
> worker process service only one web service request. In other words,
> after aspnet_wp.exe (wp1)
> serviced User1's web service request, it should not be used to service
> another
> web service request (from User1 or any other User2).
>
> User1 -> aspnet_wp.exe (wp1)
> User2 -> another worker process other than wp1 ...
> and so on.
>
> In the machine.config file, it seems the following processModel
> Attributes - setting requestLimit=1 and
>
> requestQueueLimit=1 - will do the trick for me. Am I correct?
>
> processModel Attributes:
> requestLimit="[Infinite | number]" - Total number of requests
> to serve before process is
>
> shutdown
> requestQueueLimit="[Infinite | number]" - Number of queued
> requests allowed before process is
>
> shutdown
>
>
> Is it possible to set these attributes in a config file specific to my
> web service project? That way I can avoid changing the machine.config
> setting which will apply to other projects too.
>
> TIA,
> CG
>
>



Relevant Pages

  • RE: Fax server API version does not support the requested operation
    ... Change the user specified in "processModel" tag of machine.config to a ... higher privileged user. ... This indeed did fix the "Fax server API version does not support the ... > web service behind the firewall, ...
    (microsoft.public.dotnet.general)
  • Re: SoapException using a web service
    ... sounds like a permissions problem. ... find your machine.config file and go to the processModel section. ... > The name of the assembly changes every time I try to use the web service. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: System.Net.WebException when calling a webservice
    ... I have set all the settings way high and I'm still getting the error. ... Enabling the processModel and setting the responseDeadlockInterval, gives me an error in the async call to the web service. ... Antonio Iglesias. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)