473,320 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

CG
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

Nov 19 '05 #1
3 1956
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

Nov 19 '05 #2
That functionality is simply not supported. For efficiency, requests are
serviced by one worker process in IIS 5. You will need to re-design your
business layer so that it can execute correctly in the worker process

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------
"CG" <cg********@yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
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

Nov 19 '05 #3
CG
Alvin,

You seem to imply that what I am asking in my original post may be
possible in IIS 6. Can you give more info about the same in relation to
IIS 6 ?

TIA,
CG

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dmitry | last post by:
Hello everyone, I have a really simple question here: I have a plain space delimited file that I want to read with WHILE loop 1 line at the time and process each input record as an array of...
0
by: Shyam | last post by:
Hi, Can someone help me in resolving the following issue An unhandled exception has occured in your application.If you click Continue,the application will ignore this error and attempt to...
0
by: sirpelidor | last post by:
Hi, I'm a newbie to asp.net world whom just got myself a VS.net 2003 (yay). There are alot of things I don't understand so please bare with me: 1) I made a simple aspx page with cs code-behind,...
1
by: Ariel Larraburu | last post by:
I have an aplicaciòn that shows to next error: "Server was unable to process request --> ?". without webreferences it works correctly. that it means '?' error ?
0
by: huy le via DotNetMonster.com | last post by:
I have an application form and a webservice. I test my project on LAN --> OK (good!) AND NOW I upload webservice to my domain and i call a method from webservice (ex:...
0
by: SherriK | last post by:
I'm hoping someone may have a solution to this problem. I have several web part page views that are used in a sharepoint (WSS) site. The web apps that are used in the sharepoint web part views...
2
by: Grande | last post by:
Hi all, I recently changed a webservice to take in a third parameter, and it hasn't been working since. I get the following error at runtime: "Server was unable to process request. ---Method...
0
by: Vijyeta | last post by:
hi Guys, I am using MediaBin as an asset repository. when I am trying to update the asset metadata, I am getting the following exception : System.Web.Services.Protocols.SoapException: Server...
1
by: franckspike | last post by:
Launching a process (exe) using the same process id as the launcher, how is it possible ? I want my VCStudio to launch my executable (which is not in developpement) and this exe will launch the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.