Answered by:
HTTP Error 500.35 - ANCM Multiple In-Process Applications in same Process

Question
-
User-1454412233 posted
Hello.
I am developing an app with .netcore 3.1 and entityframeworkcore with sql server databases.
I upload the app to 3 subdomains (on the same server), each one with a different database. When I run the application from one of the subdomains everything works fine, but when I try to run the application simultaneously from another subdomain I get the following error:
HTTP Error 500.35 - ANCM Multiple In-Process Applications in same Process.
If I close the page that is active and wait a while, I can run the app from the other domain.
Who knows how to fix this problem?
If I run it from visual studio I have no problem.
Thanks in advance.
Greetings.
Friday, August 21, 2020 11:38 AM
Answers
-
User-1454412233 posted
Solved: https://stackoverflow.com/questions/53811569/http-error-500-30-ancm-in-process-start-failure
Although it says that you have to add 2 lines, I have only added this line in <PropertyGroup>:<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel> and problem is solved.
What is the purpose of this other line?
<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 21, 2020 12:46 PM
All replies
-
User475983607 posted
Sounds like a configuration issue on the host. Contact your host for support to make sure you configured the 3 applications correctly. What hosting model are you using and how did you deploy the 3 applications?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1
Friday, August 21, 2020 11:43 AM -
User-1454412233 posted
Solved: https://stackoverflow.com/questions/53811569/http-error-500-30-ancm-in-process-start-failure
Although it says that you have to add 2 lines, I have only added this line in <PropertyGroup>:<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel> and problem is solved.
What is the purpose of this other line?
<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>
Thanks
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, August 21, 2020 12:46 PM -
User-1454412233 posted
I thought the same, but it is a configuration that must be added in the .csproj file.
https://stackoverflow.com/questions/53811569/http-error-500-30-ancm-in-process-start-failure
Thank you for your support.
Friday, August 21, 2020 12:49 PM -
User-474980206 posted
If you use the preferred in process, each site must have its own app pool.
Friday, August 21, 2020 2:05 PM -
User-1454412233 posted
I've just been a web developer for 6 months developing with ASP.Net core. (25 years developing windows forms)
Could you explain to me how that is done?
Is it some configuration on the server side, in the startup file, or do they have to do it in the hosting service?
Thank you very much in advance.
Saturday, August 22, 2020 9:19 AM