EPiServer 4.6x, Friendly URL and Windows Vista / IIS7

Got so frustrated yesterday that I hade to leave one hour earlier. Must have been very tired cause I couldn’t manage to get Friendly URL running with EPiServer 4.6 on Vista, even though I have managed to do it before.

Well, this morning I solved it in a few minutes.. 🙂
The problem was that in IIS7, you have to specify how the IIS handles error pages, it’s not enough to just change 404 to /Util/NotFound.aspx. By default, IIS gives you detailed information on what went wrong, you have to change this so it uses yours/episerver notfound-page.

Then you have to make sure that you run Classic mode in your App-pool and that your <module> in web.config says <module runAllManagedModulesForAllRequests=”true”>

You can read more at http://world.episerver.com/Forum/Pages/Thread.aspx?id=12984&epslanguage=en.

Good luck