<p>Fixing 404 errors occuring in EPiServer migration project with files in VPP folders.</p>
Sometimes it feels like alzheimer has struck. One issue that made me feel like this was an annoying 404-error that occurred after having migrated an EPiServer4 site. None of the images from the "upload" folder displayed. That stupid 404-thingie! Aarrggh...! I know I have seen it before...
So this time I was the dummy. The solution was of course a missing section in the web.config-file:
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader"/>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer"/>
Why this section was not created correctly in the web.config file is a mystery though.
As far as I can recall I have migrated sites earlier without running into this issue, but that alzheimer feeling....
So I think I'll leave this as a reminder to myself :-)