
Hello,
I created a Dialog in CRM 2011. Everyone in the company starting using it, no errors occurred. Last week one of the user ran the dialog and when the person hit the finish button, an error shows up. This is the detail of the error. I don't understand it. Please need help. Thank you!
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Error initializing component with element id='webResources_lookup' and with type='null': Object doesn't support this action</Message>
<Line>0</Line>
<URL>/cs/dialog/rundialog.aspx?DialogId=%7bAF123825-9ED1-476A-B3CB-4798DFC7F4FC%7d&EntityName=email&ObjectId=%7b3534FE05-7AA7-E711-9D39-0050568019E4%7d</URL>
<PageURL>/cs/dialog/rundialog.aspx?DialogId=%7bAF123825-9ED1-476A-B3CB-4798DFC7F4FC%7d&EntityName=email&ObjectId=%7b3534FE05-7AA7-E711-9D39-0050568019E4%7d</PageURL>
<Function>anonymous(type,properties,events,references,element){try{if(!Mscrm.PageManager.$1d)return$create(type,properties,events,references,element)}catch($v_0){if(!element)returnnull;var$v_1=String.format("Errorinitializingcomponentwithelementid='{0}'andwithtype=</Function>
<CallStack>
<Function>anonymous(type,properties,events,references,element){try{if(!Mscrm.PageManager.$1d)return$create(type,properties,events,references,element)}catch($v_0){if(!element)returnnull;var$v_1=String.format("Errorinitializingcomponentwithelementid='{0}'andwithtype='{1}':{2}",!element?"null":element.id,!type?"null":type.getName(),$v_0.message);catchError($v_1,window.location.href,0,true)}returnnull}</Function>
<Function>crmApplicationInitHandler()</Function>
<Function>anonymous(c,d){for(varb=0,e=a.length;b<e;b++)a[b](c,d)}</Function>
<Function>anonymous(){vara=this.get_events().getHandler("init");if(a){this.beginCreateComponents();a(this,Sys.EventArgs.Empty);this.endCreateComponents()}}</Function>
<Function>anonymous(){if(!this.get_isInitialized()&&!this._disposing){Sys._Application.callBaseMethod(this,"initialize");this._raiseInit();if(this.get_stateString){if(Sys.WebForms&&Sys.WebForms.PageRequestManager){this._beginRequestHandler=Function.createDelegate(this,this._onPageRequestManagerBeginRequest);Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(this._beginRequestHandler);this._endRequestHandler=Function.createDelegate(this,this._onPageRequestManagerEndRequest);Sys.WebForms.PageRequestManager.getInstance().add_endRequest(this._endRequestHandler)}vara=this.get_stateString();if(a!==this._currentEntry)this._navigate(a);elsethis._ensureHistory()}this.raiseLoad()}}</Function>
<Function>b()</Function>
<Function>anonymous(){document.removeEventListener("DOMContentLoaded",a,false);b()}</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>2133x1200</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2017-10-02T10:36:40</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{BB528058-2FA1-E211-9803-00155D014140}</OrgID>
<UserID>{65FBBFCB-9582-E711-ABB1-0050568019E4}</UserID>
<CRMVersion>5.0.9690.4376</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
*This post is locked for comments
I have the same question (0)Hi,
it seems that somewhere in your dialog or in your email form(as I see that this dialog is for email) you have a field web_ressource. It appears that this user isn't setting this value which then throw your error.
Could tell the user to fill every field of the dialog and on your side check that your customizations are working correctly(i.e. setting correctly the default values that you defined)