IndexOutOfRangeException on PageType.Save()

Vote:
 
Hi, I'm trying to update an existing page type definition by loading a PageType instance, modifying some values and putting it back. However when I hit PageType.Save() I get the following error: Exception: System.IndexOutOfRangeException Message: Index was outside the bounds of the array. Source: EPiServer at EPiServer.DataAbstraction.PageType.?(DataSet ) at EPiServer.DataAbstraction.PageType.Save() I'm pouring over my code to see what I might have done wrong, but I suspect it might have something to do with the PageDefinitions within the page type (maybe they have to be saved first?). It would be desirable to have an error that explained which array was out of bounds, and if it has anything to do with my PageType instance (I strongly suspect it is ;-) ) Cheers, Andy
#17577
Mar 25, 2008 19:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.