Thursday, August 18, 2011

How to Restore Default Error Pages in IIS7

Well it happend to me today, I accidently deleted the Error page 403!


It says inherited, so I tried to find how I can inherite from the top site, no luck. I even removed HTTP Errors and re-added...no luck
I manually created 403, its "Entry Type" was set "local" and I got 500 error when I try to open the site.


Finally I looked at the web.config


howa,,,there it is


I removed it, and refreshed the iis...yahoo
I got my 403 back!


That was dumb, but I am glad it is fixed!

7 comments:

huhu78 said...

Useful. Thx.

Unknown said...

Thanks! Worked for me too.

Unknown said...
This comment has been removed by the author.
Dinoo said...

This helped. Thanks for this post !!

Dharmavarapu Abhiram said...

I have followed your steps for Default Web site where I had local for 404 as I had problem there. I have closed and reopened IIS but of no use. Should I have to restart the system.?

Dharmavarapu Abhiram said...

It worked finally. Please ignore my above post.

yosabrams0918 said...

Can I simply say what a relief to find someone who truly knows what theyre speaking about on the internet. You definitely know how you can bring an issue to mild and make it important. More individuals need to learn this and perceive this side of the story. I cant consider youre no more well-liked because you definitely have the gift. online casinos for us players