Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

MOSS Publishing Portal Page Editing Toolbar Index out of range error

  Asked By: Noemi    Date: Nov 20    Category: MOSS    Views: 3484

On MOSS publishing portal, with a page (with article page with summary
links layout) open, go to site actions, edit page. Then click on Page
dropdown on the page editing toolbar, select Page settings, then I got
the following error from the _layouts/PageSettings.aspx page:

Index was out of range. Must be non-negative and less than the size of
the collection.
Parameter name: index at
System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument
argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Microsoft.SharePoint.SPFieldMultiColumnValue.get_Item(Int32 index)
at
Microsoft.SharePoint.Publishing.Fields.ContentTypeIdFieldValue.get_IsEmpty()

at
Microsoft.SharePoint.Publishing.PageLayout.get_AssociatedContentType()
at Microsoft.SharePoint.Publishing.PageLayout.get_UIDisplayName()
at
Microsoft.SharePoint.Publishing.PageLayoutComparerByUIDisplayName.Compare(PageLa\
yout
x, PageLayout y)
at
System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[]
keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer)

Have any of you run into this problem? Any suggestions?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Kedar Phule     Answered On: Nov 20

I found out the problem. I had a solution to install a page  layout
whose associated content type is not correct. Since I can't update
this value via the browser (giving me error  message), I had to create
a simple program using object model to update the property.

All is well now.

 




Tagged: