SaaS CMS has officially launched! Learn more now.

Foundation 404, but Episerver GUI works?



I have installed Foundation and can log in to Episerver entering edit and admin mode but all pages in preview or full url are responding with a 404.

Any ideas?



Feb 15, 2022 16:23

Is this uisng IIS or IIS Express?

Feb 15, 2022 16:35

I'm actually asking for a friend! :-)

But now that you are asking we had a discussion about him not getting the IIS Express to work and was using IIS.
How do you setup IIS to work properly? Do yo point at the root catalog or the www catalog?

Thanks Mari!


Feb 15, 2022 16:41

I got IIS working by using publish to folder, I followed directions similar to these:

i also had to add 


in the CreateHostBuilder method.

Feb 15, 2022 16:51

He is running IIS Express on Windows 11, could that have something to do with it?

Feb 16, 2022 8:54

When hitting F5 the site started as Foundation and not IIS Express, that is now corrected so the site runs as https://localhost:44397.
Edit mode still works but not browsing the URL above. In edit mode there is only the All properties view showing the On-page editing is missing?



Feb 16, 2022 9:05

Is he using the branch "main", or the older "net5" branch? "Main" has a lot of newer updates, including fixes to the issue that he's seeing where the Views aren't found correctly.

That should solve most of his problems, I suspect. I also have some instructions on running Foundation under IIS that I'll try to get fully written up in the next day or two.

Feb 16, 2022 13:58
- Feb 17, 2022 8:33
I tried grabbing latest net5 branch and it crashed and burned upon start. Thanks for the help!

We are using the net5, and will now try the main bransch.

Thanks for the tip Daniel!


Feb 16, 2022 14:35
Daniel Isaacs - Feb 16, 2022 14:42
👍 I've also submitted a PR to update the readme on the net5 branch, to point people at the main branch.

That did the trick Daniel and great with PR for updated documentation.



Feb 17, 2022 9:05

And if you want to set it up under IIS, this might help:

Feb 17, 2022 20:29
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.