none
Object reference not set to an instance of an object RRS feed

  • Question

  • Hi all,

    I had a website created using sharepoint 2010. I had a main page like

    MasterPage, Resources, Publications (these all are the tabs i mean subsites/workspaces)

    whenever i clicked on resources it is opening it contained some word documents.

    in resources page i clicked on site Actions->manage content and structure i am getting this message. I don't know how to solve this.

    Anybody can help me please.

    I am pasting the full stack trace here. Thanks alot.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.SharePoint.Publishing.Internal.WebControls.ObjectSerializer.DeleteAllowed(Boolean checkPermissions) +459
    Microsoft.SharePoint.Publishing.Internal.WebControls.SmtButtonField.FormatDataValue(Object dataTextValue, Boolean encode) +876
    System.Web.UI.WebControls.BoundField.OnDataBindField(Object sender, EventArgs e) +161
    Microsoft.SharePoint.Publishing.Internal.WebControls.SmtButtonField.OnDataBindField(Object sender, EventArgs e) +8
    System.Web.UI.Control.OnDataBinding(EventArgs e) +131
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +169
    System.Web.UI.Control.DataBindChildren() +11058975
    System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +182
    System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +267
    System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +3340
    Microsoft.SharePoint.WebControls.SPGridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +87
    System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +72
    System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +18
    System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +147
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.GridView.OnPreRender(EventArgs e) +46
    System.Web.UI.Control.PreRenderRecursiveInternal() +108
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Control.PreRenderRecursiveInternal() +224
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

    please suggest me to solve this Error.

    Thanks alot

    Monday, January 30, 2012 10:16 PM

Answers

  • I think your problem could be solved by this thread.

    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/54eb0b9e-1491-47f0-b904-a44cb6c0dc59/

     

    Just check if you have any library, site with a name containing '_files'.


    Varun Malhotra
    =================
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you.
    • Marked as answer by Shimin Huang Friday, February 3, 2012 10:12 AM
    Monday, January 30, 2012 11:19 PM