November Happy Hour will be moved to Thursday December 5th.

Jonas Lindau
Oct 22, 2013
  2633
(0 votes)

Error 404 on images/files when running EPiServer CMS 6.0 on ASP.NET 4.0

I found this excellent post regarding ASP.NET 4.0 and EPiServer CMS 6:

http://world.episerver.com/Articles/Items/EPiServer-CMS-60-now-supporting-ASPNET-40/

I followed all steps and, surprise: No images, no working downloads… hmm… Luckily, it turned out to be a simple fix! The site had some handlers registered for certain file types, and they had a runtime-version specified this way:

   1: <add name="*.jpg_GET,HEAD" path="*.jpg" verb="GET,HEAD" 
   2: type="EPiServer.Web.StaticFileHandler, EPiServer" 
   3: preCondition="integratedMode,runtimeVersionv2.0"/>

Just remove the attribute preCondition and it works fine!

Oct 22, 2013

Comments

Please login to comment.
Latest blogs
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog