Subscribe

Close

Thank you for visiting!

Please consider subscribing to the RSS feed or following me on Twitter.

EPiServer Page Files Stopped Working

Recently we migrated an EPiServer 5 website to CMS 6 R2. Most things went well, except Page Files stopped working - we couldn't browse to any document in page files despite the VPP being there. After some research, the conclusion was that the <location> element for page files was missing in Web.Config.

Just search for <location path="Documents"> or <location path="Global"> in Web.Config and add this section for Page Files before:

<location path="PageFiles">
	<system.web>
		<httpHandlers>
			<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
			<add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
		</httpHandlers>
	</system.web>
	<staticFile expirationTime="-1.0:0:0" />
	<system.webServer>
		<handlers>
			<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" />
			<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
		</handlers>
	</system.webServer>
</location>

To the top