How to resolve a workflow error when there is no workflow? RRS feed

  • Question

  • MOSS 2007 Service Pack 1 running on a Windows 2003 server.  One machine for all sharepoint functions, one machine for sql server functions.


    A user reported today that of his group of developers - about 12 - he is the only one who sees the following. He can check out documents in their document library. When he attempts to check the documents back in, he gets an error saying the document is not checked out.  When I look in the 12hive logs, I see:

    Workflow Soap: GetWorkflowDataForItem failed Item: http://oursite/sites/IT/projects/dst/public/Shared%20Documents/DST%20Support%20and%20Ownership%20List%20New.doc Value does not fall within the expected range. 2b752599-046e-4a47-89c9-171ea88e7740


    He has tried several documents and gets similar errors in 12hive each time. I also notice that within the event viewer, at the same time as all of this, there are messages that look like:

    Event Type: Warning
    Event Source: Office SharePoint Server
    Event Category: Workflow Features
    Event ID: 7397
    Date:  1/31/2012
    Time:  3:35:29 PM
    User:  N/A
    Computer: NTSRV45

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


    This user is listed as having "Full Control" on the library and site.

    Tuesday, January 31, 2012 8:38 PM

All replies

  • Whoops - I forgot the last part. I checked for out of the box as well as sharepoint designer workflows, and neither exist.

    I just got back from the user's desk. When I look at the doc library, none of the documents display the checked out icon. However, when I go into the library settings and look at managed checked out documents, two of the documents are checked out to people in the group. One of the docs is checked out to the fellow with the problem.

    I had him go to the doc library. It shows him as having the document checked out. The manage checked out documents shows that likewise. When he clicks on the document, however, Word 2010 says that it is not checked out. We checked out the document, made a simple change, hit the X to leave the document. He was prompted to save his change, which he did. He was then prompted to check the document in - when he tried, he got an error saying that the document was no longer checked out or was deleted.


    If he tries to check in the document within SharePoint 2007, he gets an error in SharePoint that says The file [...] is not checked out.  at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile...

    • Edited by lwvirden Tuesday, January 31, 2012 8:51 PM
    Tuesday, January 31, 2012 8:39 PM
  • Is it possible that your users are using more than one top level URL, i.e. could some be accessing the site using http://oursite/... and others might be using http://oursite.domain/... or something else? This looks a little like an Alternate Access Mapping (AAM) issue, but that would only really come into play if there are multiple URLs being used.

    If it helps any, the "manage checked out files" option only shows files that have never been checked in and have no checked in version (i.e. they are new files which were never checked in). This is why other users will not see them, there is no checked in version for them to see, they are in a kind of limbo. If the library does not require check in/out to be used, then this could be a sign that there are mandatory metadata fields on the library which have not been filled out for the documents in question, so your user could try editing the properties of the document, making sure all required fields have a valid value and then try checking in again.


    Wednesday, February 1, 2012 12:56 PM
  • Another thing that MAY help when investiating issues of this nature is Feature Stapling.  Are there any workflow that are either: -

    1. Activated via the SharePoint Services Timer Service
    2. Activated indirectly via another feature service

    Both of these would involve programmed solutions, not anything within the Admin GUI or SPD.  The team of developers should be able to assist with that part of the investigation.

    Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
    Wednesday, February 1, 2012 1:11 PM
  • I don't see any workflows associated with this library, and the developers don't know of any.


    As for AAM, the user is using the primary top level that most users are using here. I still am not certain why it allows him to check things out but not back in...

    Wednesday, February 1, 2012 6:31 PM