Website Deployed on IIS 7.5 Not Showing Images and CSS Files
Thanks to: http://blogs.msdn.com/b/ajay_pathak/
Recently I came across a very strange problem. A website developed using Visual Studio 2010. While debugging everything works perfectly fine while using Visual Studio development server. All the images and CSS are applied to website as it was expected.
However when I deployed this website on IIS, the CSS and Image files are not showing on website.
.
After doing some research, I get to know that static content handler is missing in IIS.
To display static content, I just added static file module.
And the website is now showing CSS and images.
Recently I came across a very strange problem. A website developed using Visual Studio 2010. While debugging everything works perfectly fine while using Visual Studio development server. All the images and CSS are applied to website as it was expected.
However when I deployed this website on IIS, the CSS and Image files are not showing on website.
.
After doing some research, I get to know that static content handler is missing in IIS.
To display static content, I just added static file module.
And the website is now showing CSS and images.
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.