Geeks With Blogs
Bidyut Das


We got this error while creating site collection or even opening a page in edit mode. We tried to find out the root cause of this problem but could not find much. But we have identified few things that can cause the problem.


1) You must know that we should dispose SharePoint (SPWeb, SPSite etc.) objects after using them. But you should be very careful that the Dispose() method is called at the correct time / using block is used intelligently. Otherwise the application may behave inconsistently.


2) There can be some syntax error in the onet.xml file which causes this problem. Check in the module section.


3) You might be activating some custom feature or 3rd party feature from onet.xml and there might be some mistake in the feature xml files or referencing feature xml files from either feature xml or onet.xml.


4) You may get this error if you have publishing features are activated from onet.xml. Remove them from onet.xml and recreate the site collection. After that, activate features using stsadm tool. Sometimes, due to some reason you may need to recreate the whole web application


stsadm -o activatefeature -filename publishing\feature.xml -url <Url> -force

stsadm -o activatefeature -filename publishingresources\feature.xml -url <Url> -force

stsadm -o activatefeature -filename publishingSite\feature.xml -url <Url> -force

stsadm -o activatefeature -filename publishingweb\feature.xml -url <Url> -force

stsadm -o activatefeature -filename publishinglayouts\feature.xml -url <Url> -force

stsadm -o activatefeature -filename navigation\feature.xml -url <Url> -force


5) We have also noticed that if you reset IIS, the problem goes away (wired) for some time (or some days or more than that).


That’s all we found, but please share if you find any other reason that is causing this issue.

Posted on Wednesday, August 18, 2010 6:58 AM | Back to top

Comments on this post: Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © BidyutD | Powered by: