Restore Default Error Pages for site in IIS7

Can the default error pages be restored for a site in IIS7
The 500 error for asp pages was changed in the default website which afected all the websites.

I tried to fix the specific site I am working on and deleted the custom 500 error page that was there, amd changed it to
%SystemDrive%\inetpub\custerr\<LANGUAGE-TAG>\500.htm
 which is the same as the rest bar the number at the end and in Entry Type is says Local instead of inherited.  

I have set it to show detailed error messages, but when I hit an error on a page all I get is:

The page cannot be displayed because an internal server error has occurred.
LVL 3
harris9999Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

samsymonCommented:
try resetting iis.

iisreset /noforce <your machine name.>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
harris9999Author Commented:
Cheers but managed to figure it out.  
If you make a change manually it creates a web.config file in the directory of the website.  
Once I deleted that file it went back to default settings.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.