473,782 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

requestQueueLim it=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
requestQueueLim it="[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 1986
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

requestQueueLim it=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
requestQueueLim it="[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********@yah oo.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.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

requestQueueLim it=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
requestQueueLim it="[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
3739
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 elements. Then, on the next iteration of the loop, clean up the array and populate it with contents of the next input record. Each input record consists of 7 fields / elements separated by spaces. The reason I need this is because I have to switch...
0
1882
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 continue.If you click Quit,the application will be shut down immediately. Server was unable to process request--> Failed to register assembly 'XYZComponents, Version=x.x.xxx,Culture=neutral, PublicKeyToken=XXXXXXXX'.-->
0
1144
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, when I click Debug -> Start (F5) it complained: Auto-attach to process 'aspnet_wp.exe' on machine '(my machine name)' failed. Error code 0x8013134b 2) When click Build -> Build Solution, Output shows: Build 1 succeeded, 0 failed, 0 skipped
1
1473
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
277
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: http://www.nhare.com/EstateWS.asmx click DangNhap) ok! But now, i start my application code:
0
4948
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 use web services that reside on the same server. The first time the sharepoint page is loaded all of the web part views are successfully loaded with the correct data. When the page is refreshed I receive the following error message: ...
2
7326
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 not found: 'SCR.Domain.Users.User SCR.Service.Users.UserService.ChangePassword(Int32, System.String, System.DateTime)'."
0
1630
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 was unable to process request. --> MBException: Opening a connection to the server failed. i can connect to the mediabin and fetch the asset metadata, as i try to revise the metadata i am getting the above specified exception. can anybody help me?
1
1574
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 exe module I am currently developping with the correct arguments, I want to debug it not the wrapper that launched it VCStudio starts as debug --A which starts --B which loads --> C.dll which I want to debug
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.