Question : Error Creating Web Site: Exception from HRESULT: 0x800710D8

I'm currently running Windows Server 2008 x64 + IIS7.0. When creating web sites through the IIS7 Management UI (local), I initially get the error "Unknown: The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)".

Here's where the confusion is. After creating the web site (thus producing this error) and then click on any feature in the IIS7 Manager UI and then click back on the list of web sites, it shows that it's running with no problems.

The real problem is that we're using a web site hosting control panel (DotNetPanel) that programatically adds websites. The control panel is unable to create sites since the application too sees this initial error as well when trying to create sites.

I've attempted the fix the blog below links to but to no avail (exporting and importing iisConfiguration and iisWasKey containers):
http://improve.dk/blog/2009/07/08/iis7-the-object-identifier-does-not-represent-a-valid-object

Note that I'm able to create appliation pools with no problems at all. Only creating websites (either with an existing application pool or a new one) produces the initial error then goes away after clicking on various items in the IIS7 UI.

If anyone has any ideas as to what this might be, it would be greatly appreciated:-]

Thanks!

Answer : Error Creating Web Site: Exception from HRESULT: 0x800710D8

Well, If you are getting the error from the UI, it sounds like some dependencies are missing.  I would do the following.

1. Backup you IIS configuraiton Files.
> %windir%\system32\inetsrv\appcmd.exe add backup "My_Backup"

2. Re-run the IIS installation from Server Manager.

3.  Restore your IIS configuration files: By default that is \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 "My_Backup"


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

Cheers,
Hades666
Random Solutions  
 
programming4us programming4us