Blog Archives

IIS 404 Custom Error not working as expected

When I tried to access fake .aspx page to make sure IIS returns custom 404 error page, I saw .net specific error “The resource cannot be found”. Screenshot# 1 I was wondering why IIS custom 404 error page not being

Posted in Microsoft Technology Tagged with: ,

Create a website, application pool programmatically using C#

I have talked about IIS metabase and how to change HTTPErrors in IIS6 in my previous post.    This post will only give you sample code how you can programmatically create website create application pool and assign it to web

Posted in Microsoft Technology Tagged with:

Programmatically Change HTTPErrors in IIS6

Have you ever needed to setup IIS Custom Errors file path(HTTP Errors file path) in IIS6 programmatically?   If yes, this post will give you an idea how you can set that up. We do have “website stand-up” web application

Posted in Microsoft Technology Tagged with:

Ads