I have an application(Application1) and I have a webpage (MyPage.aspx),The whole application (Application1) is run on an Apppool(say Apppool1) and IISSite.
I want to run Application1 on Apppool1 and MyPage.aspx on Apppool2,please suggest on how to proceed with same.
Any resources to change the web.config and IIS Settings.
I have an application(Application1) and I have a webpage (MyPage.aspx),The whole application (Application1) is run on an Apppool(say Apppool1) and IISSite.
I want to run Application1 on Apppool1 and MyPage.aspx on Apppool2,please suggest on how to proceed with same.
Any resources to change the web.config and IIS Settings.
Thanks,
Kalyan
Application pools are bound to web applications and virtual directories not individual pages.
You'll need to configure a new virtual directory within the current website that contains only the MyPage.aspx. Then you can assign a different app pool to the virtual directory. Otherwise, explain the problem you are trying to solve as there might be
a better approach.
want to run Application1 on Apppool1 and MyPage.aspx on Apppool2
A site can contain one or more applications, and we can specify different app pool for application to isolate the application from other applications in other application pools on the server. If possible, you can make that specific web page as a separate
application under your site and specify Apppool2 for that application.
You can know detailed information about sites, applications, and virtual directories in
this documentation.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
We are having issues with ReportViewer Control,which we run on Couchbase.We are getting timeouts for large datasets.
We like to isolate the Page which uses ReportViewer Control, running ReportViewer page in it's own AppPool, under the same IIS site, so that we can then use InProc state management.
I believe as suggested by you we need to create a virtual directory to run the Page which is giving the issue,please suggest if my understanding is correct.
Member
62 Points
113 Posts
How to Run a Single Page on different Apppool from Application but on same IIS Site
Dec 21, 2017 01:03 PM|KALYANA ALLAM|LINK
Hi,
I have an application(Application1) and I have a webpage (MyPage.aspx),The whole application (Application1) is run on an Apppool(say Apppool1) and IISSite.
I want to run Application1 on Apppool1 and MyPage.aspx on Apppool2,please suggest on how to proceed with same.
Any resources to change the web.config and IIS Settings.
Thanks,
Kalyan
All-Star
53711 Points
24040 Posts
Re: How to Run a Single Page on different Apppool from Application but on same IIS Site
Dec 21, 2017 03:05 PM|mgebhard|LINK
Application pools are bound to web applications and virtual directories not individual pages.
You'll need to configure a new virtual directory within the current website that contains only the MyPage.aspx. Then you can assign a different app pool to the virtual directory. Otherwise, explain the problem you are trying to solve as there might be a better approach.
All-Star
40565 Points
6233 Posts
Microsoft
Re: How to Run a Single Page on different Apppool from Application but on same IIS Site
Dec 27, 2017 07:46 AM|Fei Han - MSFT|LINK
Hi Kalyan,
A site can contain one or more applications, and we can specify different app pool for application to isolate the application from other applications in other application pools on the server. If possible, you can make that specific web page as a separate application under your site and specify Apppool2 for that application.
You can know detailed information about sites, applications, and virtual directories in this documentation.
Besides, this article is about managing Application Pool, it might be helpful for you.
With Regards,
Fei Han
Member
62 Points
113 Posts
Re: How to Run a Single Page on different Apppool from Application but on same IIS Site
Jan 22, 2018 12:14 PM|KALYANA ALLAM|LINK
Thank you,
We are having issues with ReportViewer Control,which we run on Couchbase.We are getting timeouts for large datasets.
We like to isolate the Page which uses ReportViewer Control, running ReportViewer page in it's own AppPool, under the same IIS site, so that we can then use InProc state management.
I believe as suggested by you we need to create a virtual directory to run the Page which is giving the issue,please suggest if my understanding is correct.