Remote Web work place not working and IIS troubles

I recently did a small change in IIS (enabled 'Directory Browsing') and soon after I revert it back to what it was before..

However this seems to have messed up my remote web workplace and since it is giving intermitten problems. I wonder whether I can restore my IIS to 2 days back when it was working FINE.

How to do this and any advice on this front??

Thanks in advance
LVL 6
YohanFAsked:
Who is Participating?
 
Brad HoweDevOps ManagerCommented:
Hi YohanF.

Sound like you have some other changes that were not restored. IIS7 stores these snapshots in the %systemdrive%\inetpub\history folder by default.  

To restore, you can go to the \inetpub\history\cfgHistory_NNNNNNNNNN directory and copy the applicationHost.config file into it's proper place: \windows\sytem32\inetsrv\config or do it through CMD.

To restore that backup, run this command:
> %windir%\system32\inetsrv\appcmd.exe restore backup "CFG_History_0000000010"

http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx

Cheers,
Hades666
0
 
YohanFAuthor Commented:
Will it restore the whole IIS and any possible problems because of doing so????
0
 
Brad HoweDevOps ManagerCommented:
It will restore the IIS configurations from the last snapshot. It doesn't change website content - Only iis configuraiton. Everytime you make a IIS takes a snapshot of these files.

If you are worried about restoring or overwriting changes, then I would suggest taking a copy of the current (applicationhost.config & administration.config from (windows\system32\inetsrv\config)) and a backup copy from the history folder offline to compare.

Then, once you have found the required changes, either add them manually into the files under (windows\system32\inetsrv\config) or through the IIS Management UI.

Cheers,
Hades666
0
 
YohanFAuthor Commented:
Dude you are the BLOODY GREATEST.....   its back its back... after 8 hours of hair pulling its working again...

Thanks a lot....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.