The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)

by Vivek 1/11/2010 5:44:00 PM

Today I came across an issue where the customer is getting “The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)” when you try to start the Web site.

image11

Looking at the IIS Manager, the Web site status shows:

image10

Looking closer, found the Web site identifier is set to 0.

image12

This is not a valid identifier. Tried “net start WAS” this stopped W3SVC as well. Now, ran the command “net start W3SVC”. Checked the System Event log and we see:

image13

Checked ApplicationPool in IIS Manager, and we don't see DefaultAppPool.

Looking at the applicationHost.config:

<applicationPools>
<
add name="Classic .NET AppPool" managedPipelineMode="Classic" />
<
applicationPoolDefaults>
<
processModel identityType="ApplicationPoolIdentity" />
</
applicationPoolDefaults>
</
applicationPools>

Created the DefaultAppPool and now the applicationHost.config looks good:

<applicationPools>
<add name="DefaultAppPool" />
<add name="Classic .NET AppPool" managedPipelineMode="Classic" />
<
applicationPoolDefaults>
<
processModel identityType="ApplicationPoolIdentity" />
</
applicationPoolDefaults>
</
applicationPools>

Hit Refresh (F5) in the IIS Manager. The Default Web Site is now started. Remember to change the Default Web Site ID from 0 to 1, as that will give you some "Server Application Unavailable" error as well.

Happy troubleshooting,
Vivek Kumbhar


Quote of the day:
If you are not criticized, you may not be doing much. - Donald H. Rumsfeld



blog comments powered by Disqus

Search


Tags



Categories

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0