Sharepoint Errors when moving library objects using content and structure
-
2012년 4월 30일 월요일 오후 2:14
First off let me say I have inherited this Sharepoint site and web application so I may not have every bit of information off hand. The sharepoint collection we are currently using has several sites with several sub sites. I have a user who wants to move files from one sub site to another sub site in the same collection. Maintaining version history and metadata is important and cannot be lost. When trying to move the files using content and structure I receive a generic file not found error with a correlation ID. I have checked the application errors with nothing that was relevant. The following is from the ULS:
SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://companyweb:80/_Layouts/sitemanager.aspx?Source=%7BWebUrl%7D_layouts/settings.aspx&Filter=1&FilterOnly=1) dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 dfb9dd46-60ab-4228-a6f8-108b4e7a0192 Web Content Management Publishing 89v4 Exception LRO - Could not create job System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetList(String strUrl) at Microsoft.SharePoint.Publishing.Internal.Store.GetListByUrl(SPWeb web, String listUrlName) at Microsoft.SharePoint.Publishing.Internal.LongRunningOperationJob.<>c__DisplayClassa.<Start>b__1() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Server Unified Logging Service c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 81eed5e0 "web content management", 0e00129b "14.0.4763.0", 294f4357 "kernelbase.dll", 06011db1 "6.1.7601.0", 4e21213c "sat jul 16 01:27:24 2011", MISSING, 0000cacd "0000cacd", e0434f4d "e0434f4d", 38397634 "89v4" dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Foundation Runtime tkau Unexpected System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) at Microsoft.SharePoint.SPWeb.GetList(String strUrl) at Microsoft.SharePoint.Publishing.Internal.Store.GetListByUrl(SPWeb web, String listUrlName) at Microsoft.SharePoint.Publishing.Internal.LongRunningOperationJob.<>c__DisplayClassa.<Start>b__1() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) at Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(UInt32 tagID, ULSCatBase categoryID, String output, Boolean fRethrowException, TryBlock tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock) at Microsoft.SharePoint.Publishing.Internal.LongRunningOperationJob.<>c__DisplayClassa.<Start>b__0() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.SharePoint.Publishing.Internal.LongRunningOperationJob.Start(SPWeb currentUserWeb) at Microsoft.SharePoint.Publishing.Internal.WebControls.SmtInvokeCommonOperations.MoveItems(String[] sourceSmtObjectIds, String destSmtObjectId, String navigateWhenDoneUrl) at Microsoft.SharePoint.Publishing.Internal.WebControls.SMObjectList.RaisePostBackEvent(String eventArg) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Foundation General 90hv Unexpected Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace: at Microsoft.SharePoint.SPRegionalSettings.get_GlobalInstalledLanguages() at Microsoft.SharePoint.Utilities.ThemingLocations.GetThemableStylesFolders(SPSite site, Boolean includeFileSystem) at Microsoft.SharePoint.WebControls.CssRegistrationRecord.UpdateThemableReferences(SPSite site, IEnumerable`1 references) at Microsoft.SharePoint.WebControls.CssLink.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_error_aspx.ProcessRequest(HttpContext context) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) at System.Web.HttpServerUtility.Transfer(String path) at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.HttpApplication.RaiseOnError() at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) dfb9dd46-60ab-4228-a6f8-108b4e7a0192 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://companyweb:80/_Layouts/sitemanager.aspx?Source=%7BWebUrl%7D_layouts/settings.aspx&Filter=1&FilterOnly=1)). Execution Time=65.8955508288247 dfb9dd46-60ab-4228-a6f8-108b4e7a0192
The environment: Server 2008 r2- Sharepoint 2010 (upgraded from wss 3.0 to foundations 2010 then to server 2010)
sql 2008
The site has several other issues which may be related (content and structure logs under site settings file not found error when clicking on link in site settings Same with variation and variation labels). I am on a time crunch with this particular error any help in the right direction would be greatly appreciated.
Also moving the files using the file explorer does not work either so that option is not a work around.
모든 응답
-
2012년 5월 1일 화요일 오전 9:42
Hi,
Which account are you using to log on the SharePoint account. Do you have full control. The following blog might help:
Best Regards,
Sally Tang
-
2012년 5월 1일 화요일 오후 12:38Site collection administrator account. As well as an account with full control over the sites. I have already seen that. The explorer view won't work because they are subsites not under the same parent so I receive a source disk error when trying to move. The publishing feature is enabled on both sites I have also tried forcefully removing and reactivating the feature to no avail. I'm pretty much at my wits end with this entire collection.
--Mike--
-
2012년 5월 1일 화요일 오후 3:09After some more troubleshooting, I can see that deactivating and reactivating the publishing feature produces issues. The collection appears to have the publishing feature enabled on every site within the collection and obviously the publishing infrastructure is enabled for the entire collection. If I want to remove the publishing infrastructure and reactivate it will doing so automatically remove the publishing feature for each site in the collection or will I need to test this using only the 2 sites I wish to move the versioned documents between?
--Mike--
-
2012년 5월 2일 수요일 오전 7:42
Hello,
Deactive and reactive the publishing feature on the site collection level, also deactive and reactive the publishing feature on the site level.
Best Regards,
Sally Tang
-
2012년 5월 2일 수요일 오후 3:46
I have already done this. I have to force a deactivation of the publishing infrastructure (collection level publishing feature) through stsadm in order to be able to deactivate as I receive a "list does not exist" error when doing so. What I did find though, is that when I force the deactivation of the publishing infrastructure and attempt to reactivate using the site actions from top level site. I get the following error:
Failed to instantiate file "ContentQueryMain.xsl" from module "XSLStyleSheets": The specified list does not exist.
I have already performed a repair to replace the program files. I do have the ContentQueryMain.xsl in my programs file, but I am missing the styles library. I'm not sure on how to proceed here as I can't find the styles library.
Any ideas?
--Mike--
-
2012년 5월 2일 수요일 오후 5:34
I was able to solve the issue.
For future references here is what I did::
You must open sharepoint using the designer go to your root level site.
Click to open "all documents" in sharepoint designer.
You should see a folder called "styles library" and a library called "styles library1" Simply delete the empty styles library folder and rename the library back to "Styles Library" (removing the 1).
The library should have folders within it that contain the "ContentQueryMain.xsl" file . This all alludes back to my original error message of file not found etc...
--Mike--

