EPiServer 5 CMS : Visual Studio Project deployed to IIS - Images not displaying

by Brad 7. December 2007 14:16
I've recently created an EPiServer 5 project in Visual Studio, then came to deploy it to IIS and experienced none of my uploaded images (and documents) being displayed. At first i thought i'd got my Virtual Path Provider (VPP) settings wrong in the Web.Config. However i double checked and they were fine - i also was able to upload new images/documents so the path (and permissions) were fine.

I realised it must have been a problem with IIS serving the images, so after comparing the EPiServer Demo site's IIS properties i discovered the solution - i needed to enable a wildcard mapping for aspnet_isapi.dll.

This can be done by clicking the Configuration Button on the Home Directory tab of the offending site's IIS site properties. (see below)



The next screen is different if you use XP - which only has one box, but allows the extension of * to be added, Windows 2003 (shown below) separates it into two boxes



The file to add is typically located here:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll

Make sure you DO NOT check the "Verify that file exists" checkbox



Then hey presto and all my images were displayed!

Tags:

C# | EPiServer

Comments

12/10/2007 8:15:33 PM #

Hi Brad,
My name is Mikael Runhem and I am the founder of EPiServer. I am now working on gathering EPiServer information on one central place. In doing so, I am wondering if we can have your EPiServer related blog posts published on http://labs.episerver.com? We can either extract them from here or create your own blog space at the labs site (=double posting).
Best regards, Mikael Runhem

Mikael Runhem |

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar