I got it working with Umbraco 9, but with 10.1 I get the following error:
When searching for HTTP Error 500.30 - ASP.NET Core app failed to start I get a lot of generic answers. I've checked the event logs, but didn't find anything. My app won't start and I don't know why. Has anyone tried to run Umbraco 10.1 on IIS?
Thanks for showing the web.config example! I discovered that my web.config had the ASPNETCORE_ENVIRONMENT variable missing. After adding that I got the real error: UnauthorizedAccessException: Access to the path '\umbraco\Data\TEMP\InMemoryAuto' is denied.
So it was a permission error. After adding the IUSR and IIS_IUSRS users with permissions to the folder everything was working. Thanks for your help!
Umbraco 10.1 on IIS
Hello,
I'm trying to run my Umbraco 10.1 website on IIS. I followed the steps in this video: https://www.youtube.com/watch?v=riO5EQKE0YY
I've also read these docs: https://our.umbraco.com/Documentation/Fundamentals/Setup/server-setup/iis/
I got it working with Umbraco 9, but with 10.1 I get the following error:
When searching for
HTTP Error 500.30 - ASP.NET Core app failed to start
I get a lot of generic answers. I've checked the event logs, but didn't find anything. My app won't start and I don't know why. Has anyone tried to run Umbraco 10.1 on IIS?Jeroen
Are you perhaps missing the .NET 6 SDK?
Hi Patrick,
Sorry forgot to mention that. I have the latest .NET 6 SDK installed.
Jeroen
Difficult to really say what the issue might be, but a few things to check:
(https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-6.0)
really explain why the v9 version worked
installation?
Hi Patrick,
Thanks for showing the web.config example! I discovered that my web.config had the ASPNETCORE_ENVIRONMENT variable missing. After adding that I got the real error:
UnauthorizedAccessException: Access to the path '\umbraco\Data\TEMP\InMemoryAuto' is denied.
So it was a permission error. After adding the IUSR and IIS_IUSRS users with permissions to the folder everything was working. Thanks for your help!
Jeroen
is working on a reply...