Custom list manage permission error
Hi, I have a SharePoint site that manages our sales department's requirement. The problem is that when I click on "Manage Permissions" on any of the folders in a custom list, it gives an error stating "The value does not fall in the expected range". After searching for this error on the net, I came to a conclusion that this is caused when the "Publishing Infrastructure" feature is enabled on the site. The problem only occurs for custom lists and not for any document librarys. I want to know if this is a bug in MOSS 2007 and if there is any workaround or hotfix from Microsoft. Regards, Melwin Menezes
February 3rd, 2009 7:33pm

Is this WSS or MOSS? Was the list created here, or was it created from a template?"The value does not fall in the expected range" is a pretty generic error so it could be from any number of sources. SharePoint Developer | Administrator | Evangelist -- Twitter - https://twitter.com/next_connect
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2009 10:07pm

Its MOSS 2007. Below is the stack trace...Note that the error goes once i disable publishing feature.Value does not fall within the expected range. at Microsoft.SharePoint.SPListItemCollection.GetItemById(Int32 id) at Microsoft.SharePoint.Publishing.CachedListItem.FetchAllFields() at Microsoft.SharePoint.Publishing.CachedListItem.GetFieldContents(String index, Boolean refetchIfFieldNotFound) at Microsoft.SharePoint.Publishing.CachedListItem.get_Item(String index) at Microsoft.SharePoint.Publishing.WebControls.ConsoleContext.get_CurrentItemCheckoutOwnerId() at Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.retrieveItemVersion() at Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.OnLoad(EventArgs e) at Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource.OnLoad(EventArgs e) at Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.ForceInitLoad(EventArgs e) at Microsoft.SharePoint.Publishing.WebControls.PublishingSiteActionsMenuCustomizer.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
February 3rd, 2009 10:27pm

Has anyone got any leads regarding to the problem ?
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2009 6:51pm

Hi, Could you please tell me what is the content type of the list? If its content type is discussion, it is a known issue in our product (MOSS 2007 SP1, post SP1 Rollup package KB941274). If we have a site (based on Publishing Portal template), we will have an exception when try to: view properties, edit discussion item or manage permissions. Please try to following hotfix:(KB952704) Description of theSharePoint Server 2007 hotfix package: May 20, 2008 http://support.microsoft.com/default.aspx?scid=kb;EN-US;952704 Hope it helps. Xue-Mei Chang
February 6th, 2009 9:44am

Hi Chang,We found this error in a custom list with custom content type.But we were able to reproduce this on a site ( based on publishing template) with a custom list with content type as item.The hotfix mentioned above doesnt mention the problem that we are facing.Do you think its a bug in SharePoint? Is there a hotfix or a workaround available?Thanks
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2009 9:51pm

Did you find any resolution on this issue. I am having a similar issue. [NullReferenceException: Object reference not set to an instance of an object.] Microsoft.SharePoint.Publishing.FieldCache.TryGetValue(Object key, Object& value) +265 Microsoft.SharePoint.Publishing.CachedListItem.GetFieldContents(String index, Boolean refetchIfFieldNotFound) +84 Microsoft.SharePoint.Publishing.CachedListItem.get_Item(String index) +31 Microsoft.SharePoint.Publishing.WebControls.ConsoleContext.get_CurrentItemCheckoutOwnerId() +155 Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.retrieveItemVersion() +119 Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.OnLoad(EventArgs e) +59 Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource.OnLoad(EventArgs e) +146 Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.ForceInitLoad(EventArgs e) +43 Microsoft.SharePoint.Publishing.WebControls.PublishingSiteActionsMenuCustomizer.OnLoad(EventArgs e) +168 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
March 11th, 2009 10:17pm

Sree,I spent some time in reflector and this seems clearly tobe a bug. The error is because it is trying to get the value of theCheckedOutUserIdfield which doesn't, and should never exist for a list item because you don't check out list items, just documents.If you manually add CheckedOutUserId to the list's fields, I think the issue would go away. The field ID forCheckedOutUserId is3881510a-4e4a-4ee8-b102-8ee8e2d0dd4b. It is in the _hidden group, so you'd have to add it with a script. Please let me know if that works.--Doug
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2009 1:58am

Melwin,Did you ever resolve this issue? I have the exact same problem as you (custom list definition with custom content type, publishing site, getting the same error when trying to manage item level permissions). I saw on another forum post it may have to do w/ lookups in the custom content type, but I did not see a resolution. Do you have lookups also?Anyone else see this issue?Thanks,Todd
June 16th, 2009 6:51pm

I was having the same error on a custom list with a custom content type, I found this thread:http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/a062e297-6873-47a9-a269-9c57d0760d0e?prof=requiredThe problem was 2 fields in the content type had the same GUID
Free Windows Admin Tool Kit Click here and download it now
February 12th, 2010 12:24pm

I am having the exact same issue. I am having the problem every time I want to edit an item on a list on a custom content type. The problem starts ocurring when I activate publishing feature and goes away as soon as I deactivate it. I haven't tried the CheckedOutUserId hack yet. Hasn't been released a hot fix for this yet? Thanks a lot. Manuel
January 13th, 2011 9:35pm

I am having the exact same issue. I am having the problem every time I want to edit an item on a list on a custom content type. The problem starts ocurring when I activate publishing feature and goes away as soon as I deactivate it. I haven't tried the CheckedOutUserId hack yet. Hasn't been released a hot fix for this yet? Thanks a lot. Manuel
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2011 9:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics