none
MS CRM 2011 UR-12 JavaScript error on selection of Account from lookup?

    Question

  • Dear All,

    I  have a Account lookup in Case.While selecting an account sometime I get the below JS error.

    Microsoft Dynamics CRM Error Report Contents
    
    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get value of the property 'get_innerGrid': object is null or undefined</Message>
       <Line>469</Line>
       <URL>/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=1&DefaultViewId=00000000-0000-0000-00AA-000010001002&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=false&objecttypes=1</URL>
       <PageURL>/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=1&DefaultViewId=00000000-0000-0000-00AA-000010001002&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=1&ShowPropButton=1&browse=false&objecttypes=1</PageURL>
       <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
       <CallStack>
        <Function>safeWindowShowModalDialog(url,winArguments,features,useModalDialog)</Function>
        <Function>openStdDlg(url,winArguments,width,height,resizable,modeless,customWinParams,functionReference)</Function>
        <Function>openStdDlgWithCallback(url,winArguments,width,height,functionReference,resizable,modeless,customWinParams)</Function>
        <Function>LookupObjects(lookupField,lookupStyle,lookupTypes,lookupBrowse,bindingColumns,additionalParams,showNew,showProp,bPopulateLookup,defaultType,searchString,dataProviderOverride,defaultViewId,customViews,filterRelationshipId,rId,rType,rDependAttr,allowFilterOff,disableQuickFind,disableViewPicker,viewsIds,crmAttributeId,callbackReference)</Function>
        <Function>LookupObjectsWithCallback(callbackReference,lookupField,lookupStyle,lookupTypes,lookupBrowse,bindingColumns,additionalParams,showNew,showProp,bPopulateLookup,defaultType,searchString,dataProviderOverride,defaultViewId,customViews,filterRelationshipId,rId,rType,rDependAttr,allowFilterOff,disableQuickFind,disableViewPicker,viewsIds)</Function>
        <Function>anonymous(ignoreOnClick,noDialog,searchValue,asyncOperation){if(this.get_readOnly())return;var$v_0=this.get_element().onclick;if(ignoreOnClick||IsNull($v_0)){!noDialog&&!Mscrm.Utilities.isIosDevice()&&this.setFocus(null);this.RaiseSetAdditionalParamsEvent();var$v_1=this.getLookupField(),$v_2=null;if(noDialog){this.$22_4(asyncOperation);return}var$v_3=newMscrm.FormInputControl.ShowDialogEventArgs($v_1);if(!Mscrm.Utilities.isModalDialogSupported()){var$v_4=[$v_2];$v_3.$q_1=Mscrm.Utilities.createCallbackFunctionObject("callbackForShowDialog",this,$v_4)}if(this.$2Q_4($v_3))$v_2=$v_3.$l_1;else{var$v_5=this.$1X_4(),$v_6=this.$f_4(),$v_7=this.$15_4($v_6),$v_8=this.$1Y_4($v_6);if(!IsNull($v_6)&&!isNullOrEmptyString($v_7)){this.AddParam("currentid",$v_7);!isNullOrEmptyString($v_8)&&this.AddParam("currentObjectType",$v_8)}var$v_9=this.get_element().getAttribute("allowFilterOff");$v_9=!IsNull($v_9)?$v_9:null;var$v_A=this.get_element().getAttribute("disableQuickFind");$v_A=!IsNull($v_A)?$v_A:null;var$v_B=this.get_element().getAttribute("disableViewPicker");$v_B=!IsNull($v_B)?$v_B:null;var$v_C=this.get_element().getAttribute("availableViewIds");$v_C=!IsNull($v_C)?$v_C:null;var$v_D=Mscrm.Utilities.createCallbackFunctionObject("handleAfterLookup",this);$v_2=LookupObjectsWithCallback($v_D,$v_1,this.get_lookupStyle(),this.get_lookupTypes(),this.get_lookupBrowse(),this.$C_4,this.get_additionalParams(),1,this.get_showProperty(),false,this.get_defaultType(),searchValue,this.get_dataProviderOverride(),this.get_defaultViewId(),this.get_customViews(),$v_5.$W_0,$v_5.$Q_0,$v_5.$d_0,$v_5.$V_0,$v_9,$v_A,$v_B,$v_C)}Mscrm.Utilities.isModalDialogSupported()&&this.handleAfterLookup($v_2)}}</Function>
        <Function>anonymous(domEvent){if(this.get_isInlineLookup()&&!this.$i_4)if(!IsNull(this.get_element().getAttribute("isDeDupLookup"))&&this.get_element().getAttribute("isDeDupLookup").toString()==="1"&&!isNullOrEmptyString(this.$1Z_4()))this.$2d_4();elsethis.showSearchResults();elsethis.Lookup(false,false,"",false)}</Function>
        <Function>anonymous(){returnb.apply(a,arguments)}</Function>
        <Function>anonymous(b){returne.call(a,newSys.UI.DomEvent(b))}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>en-US</SystemLanguage>
       <UserLanguage>en-US</UserLanguage>
       <ScreenResolution>1366x768</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2013-02-06T14:46:23</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{6717BEE0-640A-4591-944B-BE814D2BFA23}</OrgID>
        <UserID>{EB6B9C66-492E-E211-AF62-78E7D162F914}</UserID>
        <CRMVersion>5.0.9690.3233</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>
    

    Any suggestion for this error will be appreciated. 

    Regards,

    Yusuf


    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Mohammad Yusuf Ansari http://microxrm.blogspot.in

    Wednesday, February 06, 2013 10:46 AM