locked
Master Pages will not load RRS feed

  • Question

  • How do I track down what field type is missing or incorrect, we cannot view our masterpage currently. It is checked in and published.

     

    Thank you,

    John Newton  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.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.

    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:

    [COMException (0x81020014): One or more field types are not installed properly. Go to the list settings page to delete these fields.]

      Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) +0

      Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) +265

     

    [SPException: One or more field types are not installed properly. Go to the list settings page to delete these fields.]

      Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) +373

      Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() +2191

      Microsoft.SharePoint.SPListItemCollection.get_Count() +70

      Microsoft.SharePoint.SPList.GetItemById(Int32 id, String strRootFolder, Boolean cacheRowsetAndId) +744

      Microsoft.SharePoint.SPContext.get_Item() +820

      Microsoft.SharePoint.SPContext.get_ContentType() +1313

      Microsoft.SharePoint.WebPartPages.ListFormWebPart.get_FormPageUrl() +1521

      Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnInit(EventArgs e) +202

      System.Web.UI.Control.InitRecursive(Control namingContainer) +143

      System.Web.UI.Control.AddedControl(Control control, Int32 index) +271

      System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) +305

      System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPart(WebPart webPart) +1931678

      System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart) +63

      Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart) +147

      Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart webPart) +122

      Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts) +8059

      Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() +93

      Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +690

      System.EventHandler.Invoke(Object sender, EventArgs e) +0

      System.Web.UI.Page.OnInitComplete(EventArgs e) +11042782

      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1674

     

    • Edited by JohnMCS Thursday, April 14, 2011 3:46 PM format
    Thursday, April 14, 2011 3:43 PM

Answers

  • This might be because of the fact that your list definition contains at-least one column which is referencing any other column and it does not exist ( might be deleted by someone or miss-spelled ).

    Go to List/Document Settings > Check all the columns which has been custom added.

    Try creating a new view by including each column one by one and testing it. You will get to know which column has not been defined properly or have issue and causing the error.

    And you know what to do next >> Fix it ( or delete it ) :-)

    Also make sure to use the internal name of the field avoid any issues.

     

    Or are you using any caml query on the page.

    So make sure you are using proper internal name fo cloumns


    Dare to promise
    • Marked as answer by Leoyi Sun Tuesday, April 26, 2011 9:35 AM
    Friday, April 15, 2011 7:18 PM

All replies

  • Do you have any custom C# code that install a new field? If yes, you can find the custom fields when you create a new column. If you are unable to create a new column, then it might be the field that is causing the error.  The other option however, is to debug the master page. 

     

    Thanks

    V


    V
    Thursday, April 14, 2011 5:14 PM
  • This might be because of the fact that your list definition contains at-least one column which is referencing any other column and it does not exist ( might be deleted by someone or miss-spelled ).

    Go to List/Document Settings > Check all the columns which has been custom added.

    Try creating a new view by including each column one by one and testing it. You will get to know which column has not been defined properly or have issue and causing the error.

    And you know what to do next >> Fix it ( or delete it ) :-)

    Also make sure to use the internal name of the field avoid any issues.

     

    Or are you using any caml query on the page.

    So make sure you are using proper internal name fo cloumns


    Dare to promise
    • Marked as answer by Leoyi Sun Tuesday, April 26, 2011 9:35 AM
    Friday, April 15, 2011 7:18 PM