Fix: IIS doesn’t display images or doesn’t run scripts on server platforms

Scenario: You setup an IIS web site based application on a server but notices that image pages and scripts published on that IIS pages doesn’t run.

 

Cause: For IIS to display the images and run the scripts, which are in nature of static content, it needs a IIS feature named “Static Content” which will enable IIS to render the static content.

 

Fix:  Enable the “Static Content” role service for IIS Role on the server.

 

References:   

Adding Static Content MIME Mappings:  

 

<

p>Deploying a Static Content Server (IIS 7)

Leave a Reply

Your email address will not be published. Required fields are marked *