By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,712 Members | 1,430 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,712 IT Pros & Developers. It's quick & easy.

how to run web services in seperate processes

P: n/a
I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2. Even
though I set the aplication protection to High (Isolated), each service seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in has
the same id as aspnet_wp.exe of which there is only one instance running. How
can I get each application to run in a seperate process?

May 25 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In IIS 5, you can't really. However, each application is running in its' own
separate memory space within the IIS ASP.Net process, and is managed
separately from the other web application sub-processes. In IIS 6 and above,
you can assign Application Pools to one or more web applications, which
gives you better Control over them.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Pma_Shane" <Pm******@discussions.microsoft.comwrote in message
news:C4**********************************@microsof t.com...
>I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2.
Even
though I set the aplication protection to High (Isolated), each service
seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in
has
the same id as aspnet_wp.exe of which there is only one instance running.
How
can I get each application to run in a seperate process?

May 25 '07 #2

P: n/a
Actually, when I said managed c++ most of the code is unmanaged, managed code
is just used to implement the web service layer. So if I have two services
which use third party DLLs which are not thread safe (i.e share gobal memory
for example) then is that a problem? What if I use ATL to make my web
services - will they run in serpaerate processes then? I have been tried ATL
before but it seemed to crash when marshelling certain types of data
structures. Is there any docuemntation on how the process/memory management
in IIS works?

Regards
Shane McPherson

"Kevin Spencer" wrote:
In IIS 5, you can't really. However, each application is running in its' own
separate memory space within the IIS ASP.Net process, and is managed
separately from the other web application sub-processes. In IIS 6 and above,
you can assign Application Pools to one or more web applications, which
gives you better Control over them.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Pma_Shane" <Pm******@discussions.microsoft.comwrote in message
news:C4**********************************@microsof t.com...
I am wring asp webservices in managed c++ for IIS 5.1 runing on XP SP2.
Even
though I set the aplication protection to High (Isolated), each service
seems
to run in the same process. I wrote a couple of test servies in c# which
reurned the process id and got the same results. The process they run in
has
the same id as aspnet_wp.exe of which there is only one instance running.
How
can I get each application to run in a seperate process?


May 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.