Cannot complete scheduled refresh when document library requires check in/out

Hi,
I have set up a report with a scheduled refresh but it fails with an error if the document library requires check in/out. In the refresh history it shows the error:- 
'We couldn't save the refreshed report. ExcelServices operation ended with error: SavingWorkbookNotCheckedOut Correlation ID: 89eb08a4-b14d-45b6-8a34-581e505b67fe'
If I remove the requirement to have the workbook checked in/out then the refresh works fine.
Is there a way to have this work on document libraries when required check in/out is enabled?
Best regards
Aquila

Hi Mini,
Thanks for taking the time to help with this.
Yes removing the requirement for check out does work, as was stated in my original post "If I remove the requirement to have the workbook checked in/out then the refresh works fine.". This is the workaround that I'm currently using but there
are some reports where we would like to be able to prevent multiple users editing at the same time hence the required check out.
We would like to be able to have required check out and scheduled refresh (because if you have cake you're going to want to eat it!), but I'm guessing it's one or the other at the moment.
Cheers
Aquila

Similar Messages

  • [COMException (0x80004005): Cannot complete this action Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo

    i have sharepoint 2010 site which was running fine few days back. but now i am getting error. the funny thing is that i can't access the Homepage.aspx but if goto
    siteName//_layouts/viewlsts.aspx  i am able to see All list and library and can view any list item also.
    Cannot complete this action.
    Please try again.<nativehr>0x80004005</nativehr><nativestack></nativestack>
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Runtime.InteropServices.COMException: Cannot complete this action.
    Please try again.<nativehr>0x80004005</nativehr><nativestack></nativestack>
    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.<nativehr>0x80004005</nativehr><nativestack></nativestack>]
    Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, 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, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, 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) +589
    [SPException: Cannot complete this action.
    Please try again.]
    Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +27258082
    Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, 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) +27638207
    Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, 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) +1750
    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) +26191185
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) +608
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) +132
    Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +564
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) +27
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) +918
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    Thanks and Regards
    Er.Pradipta Nayak
    Visit my Blog
    Xchanging

    This could be due to a database health issue. If you run DBCC CHECKDB against this content database, does it come back with any consistency errors?
    Another option is to dismount and remount the database from SharePoint, using Dismount-SPContentDatabase and Mount-SPContentDatabase. Some consistency checks are performed during the mount operation.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Cannot access control center when I swipe up checked settings both are on for screen

    Since upgrade to iOS 7, I have no access to control center. Any one else with issue?

    Always tried from horizontal position. Tried from vertical position and it came up. Guess it only works vertically

  • I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:  Cannot complete i Tunes Store request. A required iTunes com

    I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. I amrunning iTunes 8.2.1 (6) and not able to upgrade iTunes on this computer. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:
    Cannot complete  iTunes Store request. A required iTunes component is not installed (-42404)
    Please help.

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • OOTB approval worfklow not creating task when require checkout is set as Yes on the document library

    HI,
    I set the document library versioning to "require check-out" to yes.
    I set the workflow settings to create an approval workflow and "start the workflow when the item is created".
    I create a new document from the document template, save and check-in. The workflow task is not getting created, however the workflow is started.
    when i change the require check-out to "No" and create a new document as above, the workflow tasks are getting created.
    Can someone advise on what is the problem when versioning is enabled?? can anyone provide solution. thanks.

    Hi,
    According to your description, my understanding is that the task was not created after the approval workflow was running when setting the require check out to be yes.
    I tested the scenario in my environment, if I used the Office client application to create documents, then the task would not be created even when the workflow was running.
    There may be some reason that the creating task action is missed when the document is created using Office client application and the require check out is set to be yes.
    As a workaround, I recommend to install Office Web Apps and use Office Web Apps to create the documents when setting the require check out to be yes.
    The workflow will be starting before the documents is checked in, and it will create the task after the document is checked in.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to export and import a document library data to a new sharepoint farm

    Hi 
    i have a sharepoint 2010 farm and has one sharepoint web application
    in  this application  it has a document library  and this doc library has a 2000 folders and each folder has  2500 documents
    , here i how i export upto 500 folders from this doc library to a new sharepoint farm 
    adil

    if your both farm are on same version level then you can use export & import funcation if only Document library required.
    Perform export on source farm
    Export a site, list, or document library in SharePoint Server 2010
    copy the files to target farm and run the import.
    Import a list or document library in SharePoint Server 2010
    another way is backup the site collection from source and restore  it to destination.
    for backup: http://technet.microsoft.com/en-us/library/ee748617(v=office.14).aspxFor
    restore: http://technet.microsoft.com/en-us/library/ee748655(v=office.14).aspx
    there is always 3rd party tool options.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Cannot complete my visa card on my account

    what happen on my card cannot complete on itune when try to use it say please contact itune support but i even useing befor
    when i try other card got same problem but my card can use other apple id i think problem is this apple id please let me knows what can i do
    regard
    Surachai

    what wrong on  my apple id i can not edit payment information  have 4 card still same problem when i edit all information and apply it say please contact support
    i can not buy any app from appstore please help a
    regard

  • Require entry of metadata when creating a folder in a document library

    Sharepoint Foundation 2010 -
    While users are required to enter metadata when uploading a document, it would be a tremendous help if they were required to enter metadata when creating a folder inside a document library.
    Is there a way to force entry of metadata when creating a folder? And if this is possible, can I create different metadata requirements for documents uploaded inside a folder?
    Thanks.

    Yes, you will need to create a Content Types that inherits the Folder Content Type, and then assign your new Content Type to your library. The following blog post explains how to do this (it was written for 2007 but same applies for 2010),
    http://www.sharepoint-guru.com/2007/06/adding-metadata-to-folder.html
    You can create additional Content Types to reflect the different types of files, each with their own set of metadata columns and requirements.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • When do Workflows fire for a Document Library that requires Check In?

    I have a SharePoint Designer workflow that is set to fire if the item is changed, and this workflow is running against a Document Library that requires Check In.
    So, the big question is, does the workflow fire if the document is checked out, and the properties are modified, but before the document is checked back in?  Or, will the workflow only fire after the document is checked back in?
    I understand that a workflow is asynchronous, and that a document could be modified and then checked in, and the workflow might only fire after that. What I want to know is whether the workflow will fire if the document properties are modified but the document
    is not checked in for some time.

    The workflow will fire only when the user checks in the document.

  • I'm using a Mac. When I tried to open my iPhoto library in Elements I get the error message "cannot complete request PE doesn't recognize this type of file"?

    I use a Mac. When I try to open my iPhoto Library in Elements I get the error message "cannot complete request, PE does not recognize this type of file." The import option only allows me import a "frame from Video"?

    You can't use iPhoto that way.  Poking around in the iphoto library from outside iphoto is just begging for trouble, the fastest way to corrupt your library and lose all your images.
    You have two choices with iphoto:
    1. Set PSE as your external editor and send the photos from iphoto. Save, never save as, and don't change the name or format and iphoto will remember your last saved edits and the original, although you have to lose the edited version to revert to the original. This doesn't work with raw files.
    2. Export the photos from iphoto, use File>Open in PSE and then you can make all the changes to name and format that you want. Then import the saved edited version to iphoto as a new file.

  • Word cannot open file when uploaded document to document library progrmmatically.

    I have created one button in which I am uploading a new document to document library through my code. The document library contains document template.
    My code is as below:
    private SPListItem CreateDocument(SPList Docs, string title)
    SPListItem newItem = null;
    try
    SPFolder cmsDocsFolder = Docs.RootFolder;
    SPFileCollection fileCollection = cmsDocsFolder.Files;
    if (!string.IsNullOrEmpty(Docs.ContentTypes[0].DocumentTemplateUrl))
    string docTemplateUrl = Docs.ContentTypes[0].DocumentTemplateUrl;
    SPFile docTemplateFile = Docs.ParentWeb.GetFile(docTemplateUrl);
    byte[] binaryFile = docTemplateFile.OpenBinary();
    string newFileUrl = cmsDocsFolder.Url + "/" + RemoveSpecialCharacters(title).Trim() + _docxExt;
    if (!Docs.ParentWeb.GetFile(newFileUrl).Exists)
    SPContentType contentType= Docs.ContentTypes.Cast<SPContentType>().FirstOrDefault(c => c.Id.IsChildOf(ContentTypeIDs.CMSDocument));
    if (contentType != null)
    SPFile addedFile = fileCollection.Add(newFileUrl, binaryFile, false);
    newItem = addedFile.Item;
    newItem[FieldNames.ContentTypeId] = ContentTypeIDs.CMSDocument;
    newItem[FieldNames.ContentType] = contentType.Name;
    catch (Exception ex)
    return newItem;
    My code does not throw any error but when I go to document library and click on uploaded document the file tries to open in word application but I am getting an error:
    "Word cannot open the file because the file format does not match the file extension. (url)"
    The browser I am using is FF.
    What am I missing? Please help.

    Hi,
    Please try to upload your document using SharePoint UI.
    If the issue still exists in Firefox, I suggest you check your Firefox settings.
    If not, please debug your code and watch the value or here is a blog for your reference:
    http://thearkfloats.blogspot.com/2013/10/programmatically-upload-to-sharepoint.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • User getting error when creating a new Document Library

    The user is getting the following error when trying to create a new Document Library in SharePoint 2010:
    Error
    Cannot complete this action.
    Please try again.
    Correlation ID: 37ecd5eb-6129-4fa3-84bd-c6f0ad8115d5
    Has anyone come across this error and know how to resolve it?

    Hi,
    According to your post, my understanding is that the user could not create a document library.
    To narrow down whether the issue is related to the user permission, you can check which permission the user has.
    You can also assign the user full control to check whether it works.
    What’s more, did the issue occur in other sites? You can check with other sites or create a new site to check whether it works. Maybe the site has been corrupted.
    To quickly and accurately find the issue, I recommend you can check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • The file .docx cannot be opened because there are problems with the contents in sharepoint document library

    I created a site and  created a document libarary and assigned a word document as a content type . I have written a workflow to create a new document . The workflow is working fine and all the document is getting created and values are getting stored
    in it .
    As per my requirement I am saving the above site as site template .
    After that I am creating a new site based on the above site template , Its getting created and I started the workflow , its working fine and the document is also getting created .
    The problem is I am getting error while opening the word document
    Error - The file filename.docx cannot be opened because there are problems with the contents .
    Details - No error details availble .
    Indresh

    What are you doing within the txt document?  Is it general text and string based items, or have you something more elaborate going on?
    An older discussion here elaborates a bit more on the dotx vs docx side of things.
    http://social.msdn.microsoft.com/Forums/en-US/de1b5ff9-ea6d-460c-a707-8c28acd4906f/error-opening-office-open-xml-file-when-using-sd-workflow-to-create-item-in-document-library?forum=sharepointcustomizationlegacy
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • I am trying to download a document which requires me to have Adobe Reader, which I do; however, it keeps asking me to install the Reader program.  When I try to do that, I keep getting a message that I have a more functional product installed.  Regardless

    I am trying to download a document which requires me to have Adobe Reader, which I do; however, it keeps asking me to install the Reader program.  When I try to do that, I keep getting a message that I have a more functional product installed.  Regardless, I cannot open the document that i need and it is urgent that i complete it and send it in.  Please help.

    Use this link Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs
    When you have downloaded it, then clean out the old adobe reader and then try to install the latest one, i had to do this about a week ago and it solved the problem.
    Regards

  • Tried loading the latest version of itunes but the download would not complete. Now when I connect my phone to a usb i get an error stating required files are missing, reinstall itunes. I tried that but the reinstall keeps timing out?

    Tried loading the latest version of itunes but the download would not complete. Now when I connect my phone to a usb i get an error stating required files are missing, reinstall itunes. I tried that but the reinstall keeps timing out?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

Maybe you are looking for

  • How to fix the security setting?

    Hi there, I wish to convert file from Microsoft Word to Adobe Reader. However, I do not know how to put in a security. What should I do in order to prevent someone copying the content, printing or leave comments? Can you please show me the steps? I c

  • Error while extracting data into 0GL_ACCOUNT

    Hi all,         Initialize delta Process has been done successfully for extracting data into 0GL_ACCOUNT using DataSource 0GL_ACCOUNT_ATTR. However when using Delta Update for extracting data, the following error is displayed: 'ALE change pointers ar

  • Dummy PC in new GL

    Hi Friends, We have document splitting on Profit center level,still somehow,the dummy PC had been configured and consequently,a few entries had been posted to dummy PC ,since the Cost center master did not have a PC. How to remove the dummy PC settin

  • Name of program to print notification under Plant & maintenance t-code iw23

    i required to modify the print format for plant and maintenence notification print preview program run by  t-code iw23. i want to insert 1 more filed - work center which is not there in standard output form how to go about. how to attached smart form

  • How do I set up 2 stage verification

    Does any one know how to get the two stage verification system activated on my icloud account. the settings on my ipod touch say sign into applied.apple.com from a mac or pc, but this is not helpful to me! Is this a website? or what, please explain,