Cannot complete this action
Hello everybody
i'm working with MOSS 2007 portal on a virtual server. the problem of that portal is browsing it for the first time after IIS reset the following exception occurs
Exception Details: System.Runtime.InteropServices.COMException: Cannot complete this action
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[COMException (0x80004005): Cannot complete this action.
Please try again.]
Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocId, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder) +0
Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocId, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder) +215
[SPException: Cannot complete this action.
Please try again.]
Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocId, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder) +256
Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, Byte& verGhostedPage, String& siteRoot, Guid& siteId, Int64& bytes, Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) +1552
Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& fGhostedPage, Byte& verGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) +692
Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) +210
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) +79
Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +336
Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +25
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +322
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
when i checked the other MOSS sites on the same server i found the same "Cannot complete this action" message butin the page of MOSS displaying this message
so can anybody help???
thanks in advance
April 15th, 2008 3:29am
Check the Windows Event Viewer --> Applications because most of the time when I receive this error, there is a more descriptive error in the event logs that points right to the actual problem.
Let me know if there is an error in the event log and we can go from there.
Thanks!
Eli
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2008 2:58pm
Thanks Eli. I checked the Windows Event Viewerand found the following
Error 5290: There is no administration site associated with the Shared Services Provider SharedServices1.
when i tried to check SharedServices1 properties in the Central Adminstration site the following error is displayed
An unhandled exception occurred in the user interface.Exception Information: The site with the id ed142c31-e3cd-45d6-bf68-6d3d94010fec could not be found.
so i can not edit this SSP
May 5th, 2008 5:25am
nermin_fcis,I had this same error and what worked for me was to add this to my web.config file in the <system.web> section:<identity impersonate="true" />Hope this helps.Thanks,
Jeff
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2009 12:12pm
I tried this tip too. My case here is I'm actually trying to execute the CAML query on the Pages list to get the list of pages based on the content type. Help me...~ Gangadhar Kotu
September 11th, 2009 12:00pm
Hi ,
I am also getting the same error, I already try <identity impersonate="true" /> and no use of it. please suggest some things else?
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2010 2:05am
I had the same issue after re-inheriting a document library permissions from the parent site. Turned out there is a hot fix for the issue:
http://support.microsoft.com/kb/934525
The issue description is here:
http://support.microsoft.com/kb/937038/
-Eugene Rosenfeld
http://thingsthatshouldbeeasy.blogspot.com/-Eugene
September 10th, 2010 10:17am
Hi,
I guess, the above error message is not related error "Cannot complete this action". Can you check of some other error message in the EventViewer, also try to get the error info from the MOSS Log files under 12 hive.--Cheers
Free Windows Admin Tool Kit Click here and download it now
September 11th, 2010 9:38pm
Check this out:
http://blogs.msdn.com/b/michael_yeager/archive/2007/10/05/cannot-convert-type-microsoft-sharepoint-webcontrols-delegatecontrol-to-system-web-ui-iattributeaccessor.aspx.
Basically, there are few HTML tag that are commented by SPD. After removing those tags, it will be loaded OK.
February 11th, 2011 3:08am
Hi,
Am getting 'Cannot complete action' error while running webpartpages.GetWebpartpageDocument method on an .aspx page in the page library.
What all possible reason can be there for this issue. please help.
Thank you.
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2012 5:17am