Last post Aug 22, 2020 09:19 AM by Federico Luna
Aug 21, 2020 11:38 AM|Federico Luna|LINK
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.
Aug 21, 2020 11:43 AM|mgebhard|LINK
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?
Aug 21, 2020 12:46 PM|Federico Luna|LINK
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?
Aug 21, 2020 12:49 PM|Federico Luna|LINK
I thought the same, but it is a configuration that must be added in the .csproj file.
Thank you for your support.
Aug 21, 2020 02:05 PM|bruce (sqlwork.com)|LINK
If you use the preferred in process, each site must have its own app pool.
Aug 22, 2020 09:19 AM|Federico Luna|LINK
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.