Self-Hosting on IIS


#1

Hey,

first of all great work!

I am trying to self-host squidex on IIS on a Windows 10 machine. I followed the tutorial (yours and also the one of Microsoft), however always get a

HTTP Error 500.30 - ANCM In-Process Start Failure

when I access the localhost website.

The Event log says:

Application ‘/LM/W3SVC/1/ROOT’ with physical root ‘…’ failed to load clr and managed application.

I also enabled the stdout logs from squidex in web.config, however they get created but stay empty. Apparently, the process crashes immediately.

I also tried to give the enable win32 support in the AppPool’s advanced properties and also to assign the hard disk folder full permission to the iis app pool user.

Any other ideas? Many Thanks,

Christian


#2

Habe you seen this: https://github.com/aspnet/Docs/issues/10046


#3

Thanks for the hint. I’ve seen that one already earlier today, but finally it guided me into the right direction.

The problem was apparently that the default app pool identiy had not sufficient rights to access the physical root. I’ve changed the “connect as” option in basic settings to my local account and this solved it.

Thanks!


#4

Awesome, can you create a PR for the docs: https://github.com/Squidex/squidex-docs/blob/master/01-getting-started/installation/install-windows-iis.md ?