locked
Object Reference not to set an instance of an object RRS feed

  • Question


  • Hi recently in my CRM when i want to change default pricelist ,

    click on lookup,i found some error and when go throuh the eventviewer i found this exception

    Object reference not set to an instance of an object.
       at Microsoft.Crm.Sdk.Query.ConditionExpression..ctor(String attributeName, ConditionOperator conditionOperator, Array values)
       at Microsoft.Crm.ApplicationQuery.RetrieveByObjectPriceLevel.DecorateQuery()
       at Microsoft.Crm.ApplicationQuery.BuildQuery()
       at Microsoft.Crm.ApplicationQuery.GetViewData()
       at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)
       at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()
       at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()
       at Microsoft.Crm.Application.Controls.GridUIProvider.PrepareGridData()
       at Microsoft.Crm.Application.Controls.GridUIProvider.Render(HtmlTextWriter output)
       at Microsoft.Crm.Application.Components.UI.Grid.DataGrid.RenderData(HtmlTextWriter output)
       at Microsoft.Crm.Application.Components.UI.Grid.DataGrid.RenderInnerHtml(HtmlTextWriter output)
       at Microsoft.Crm.Application.Components.UI.Grid.DataGrid.Render(HtmlTextWriter output)
       at ASP.mindchampspteltd__controls_lookup_lookupinfo_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at Microsoft.Crm.Application.Pages.DialogPage.Render(HtmlTextWriter output)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) in lookupinfo.aspx

    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Friday, July 6, 2012 11:47 AM

Answers

  • Hi ,i also dont know,

    i re imported new customization from vanilla crm ,and working fine.


    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    • Marked as answer by san Sanz Thursday, August 23, 2012 9:29 AM
    Thursday, August 23, 2012 9:28 AM

All replies

  • Hi,

    Check whether that user has having privileges to update the record.


    Thanks & Regards, MS CRM Consultant, V.Surya.

    Saturday, July 7, 2012 10:08 AM
    Answerer
  • im using administrator account,

    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    Saturday, July 7, 2012 10:26 AM
  • Hi Sanz,

    Is there any javascript attached  on change event of the price list lookup in CRM.

    If yes, probably the error may be thrown out of it.


    -Devashish
    http://thecrmworld.wordpress.com
    http://ebizartisans.com

    Friday, July 13, 2012 6:00 PM
  • Hi ,i also dont know,

    i re imported new customization from vanilla crm ,and working fine.


    By Sanz. -- If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".

    • Marked as answer by san Sanz Thursday, August 23, 2012 9:29 AM
    Thursday, August 23, 2012 9:28 AM