问题描述
我的任务是将CRM 4.0升级到CRM 2013,并且CRM的定制过多。我已更改代码,然后升级到CRM 2011,然后在CRM 2011上应用RU 16,然后获取数据库并导入CRM2013。
现在在CRM 2013中,我在销售订单上遇到以下错误。并且表单未加载数据并在页面上显示错误。
I have a task to upgrade the CRM 4.0 to CRM 2013 and CRM have too much customization. i have change the code and then upgrade to CRM 2011 then apply RU 16 on CRM 2011 then get the data base and import in the CRM 2013.Now in CRM 2013 i am facing the following error on the Sales Order. and form is not loading the data and showing the Error on Page.
我已经看到此错误是由于功能区按钮代码引起的。
i have seen that this error is due to the Ribbon button Code.
enter code here
Microsoft Dynamics CRM Error Report Contents
<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Unable to get property 'ClientVariables' of undefined or null reference</Message>
<Line>2</Line>
<URL>/_common/JsProvider.ashx?ids=1959345455-451858892-1713948411-1279630416-1250882489-367493978-19173614-574022791-696891199-2007586035-1552783829&ver=-732227036</URL>
<PageURL>/_forms/read/page.aspx?etc=1088&id=%7b2D6957CA-A049-E411-93FF-00155D171506%7d&pagemode=iframe&theme=Outlook15White</PageURL>
<Function>anonymous(){returnthis.get_$L_0().ClientVariables}</Function>
<CallStack>
<Function>anonymous(){returnthis.get_$L_0().ClientVariables}</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>1366x768</ScreenResolution>
<ClientName>Web</ClientName>
<ClientTime>2014-10-02T17:22:42</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{4D4702C4-252C-E411-892F-00155D171505}</OrgID>
<UserID>{9FDA4ECF-252C-E411-892F-00155D171505}</UserID>
<CRMVersion>6.0.0.809</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>
我已经执行以下操作:
1- IISRest
2-重新启动系统
3-从SalesOrder_Ribbon Webresource中删除代码,然后执行此操作,然后将其删除,但在重新设置IIS后再次得到错误
4-从浏览器中删除临时文件
5次使用Internet Explorer和Chrome浏览器
1- IISRest2- Reboot system3- remove the code from SalesOrder_Ribbon webresource when do this then error removed but after reset the IIS again getting the error4- remove the temporary files from browser5- use Internet explorer and chrome
请帮助我解决此问题。
M Salman Malik
Regards,M Salman Malik
推荐答案
当我遇到同样的问题时,我通过向广告系列添加读取权限来解决此问题
When I had this same problem, I fixed it by adding the Read privilege to the Campaign entity.
这样,它开始正常工作。
With that, it started working fine.
让我知道这是否也对您有用。
Let me know if this works for you too.
干杯,
亚历杭德罗·切塞蒂
Cheers,Alejandro Cesetti
这篇关于无法在CRM 2013中获取未定义或空引用的属性“ ClientVariables”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!