From: John M on
here is the message
Server Error in '/' Application.
--------------------------------------------------------------------------------

Value does not fall within the expected range.
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.ArgumentException: Value does not fall within the
expected range.

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:

[ArgumentException: Value does not fall within the expected range.]
Microsoft.SharePoint.Library.SPRequestInternalClass.GetFolderContentTypeOrder(String
bstrWebUrl, String bstrFolderUrl, String& pbstrContentTypeOrder) +0
Microsoft.SharePoint.Library.SPRequest.GetFolderContentTypeOrder(String
bstrWebUrl, String bstrFolderUrl, String& pbstrContentTypeOrder) +113
Microsoft.SharePoint.SPFolder.get_ContentTypeOrder() +209
Microsoft.SharePoint.SPContext.get_ContentTypes() +643
Microsoft.SharePoint.SPContext.get_ContentType() +395
Microsoft.SharePoint.WebPartPages.ListFormWebPart.get_FormPageUrl() +707
Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnInit(EventArgs e)
+127
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Control.AddedControl(Control control, Int32 index) +2065327
System.Web.UI.ControlCollection.Add(Control child) +146
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart
webPart) +247
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPart(WebPart
webPart) +97
System.Web.UI.WebControls.WebParts.WebPartManager.AddWebPart(WebPart
webPart) +52
System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart
webPart) +11
Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart
webPart) +161
Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart
webPart) +69
Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean
onlyInitializeClosedWebParts) +7829
Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() +53
Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object
sender, EventArgs e) +376
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnInitComplete(EventArgs e) +2009612
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +821



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42