Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

JavaScript ObjectExpected Error When Legacy Rendering if Off

(0) ShareShare
ReportReport
Posted on by 1,875

Hi

Our customer is on Dynamics CRM 2016 on-premise and build version is 8.1.0.359.

When they upgraded from CRM 2015 to 2016, they were not able to send email from CRM. They checked with Microsoft and MS support told them to disable Legacy Rendering and then Email Send will work. They changed the settings. Since then our javascript is throwing below error.

Does anyone have any idea how to fix this? Do we need to change our script as there are 5-6 files on the form which includes jQuery etc? OR did MS fixed this legacy rendering engine issue in 8.2 (Dynamics 365)?

Microsoft Dynamics CRM Error Report Contents

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Object expected</Message>
<Line>15412</Line>
<URL>/_common/JsProvider.ashx?bundle=FormControlBundle&ids=1223231347-405283869</URL>
<PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=521317&updateTimeStamp=636205280623983540&userts=131302697804000525&ver=-763882230#etc=10007&extraqs=%3fetc%3d10007&pagemode=iframe&pagetype=entityrecord&counter=1485796487470</PageURL>
<Function>anonymousr:Objectexpected</Function>
<FunctionRaw>TypeError: Object expected</FunctionRaw>
<CallStack>
<Function>anonymousr:Objectexpected</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MS-RTC LM 8; rv:11.0) like Gecko</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>2133x1200</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-01-30T09:14:47</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{DC9DC499-6ADF-E611-80CF-00155D0ACE69}</OrgID>
<UserID>{97AED150-76DF-E611-80CF-00155D0ACE69}</UserID>
<CRMVersion>8.1.0.359</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>

<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<ScriptErrorDetails>
<Message>Object expected</Message>
<Line>15412</Line>
<URL>/_common/JsProvider.ashx?bundle=FormControlBundle&ids=1223231347-405283869</URL>
<PageURL>/form/page.aspx?lcid=1033&themeId=f499443d-2082-4938-8842-e7ee62de9a23&tstamp=521317&updateTimeStamp=636205280623983540&userts=131302697804000525&ver=-763882230#etc=10007&extraqs=%3fetc%3d10007&pagemode=iframe&pagetype=entityrecord&counter=1485796487470</PageURL>
<Function>anonymousr:Objectexpected</Function>
<FunctionRaw>TypeError: Object expected</FunctionRaw>
<CallStack>
<Function>anonymousr:Objectexpected</Function>
</CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MS-RTC LM 8; rv:11.0) like Gecko</BrowserUserAgent>
<BrowserLanguage>en-US</BrowserLanguage>
<SystemLanguage>en-US</SystemLanguage>
<UserLanguage>en-US</UserLanguage>
<ScreenResolution>2133x1200</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2017-01-30T09:14:47</ClientTime>
</ClientInformation>
<ServerInformation>
<OrgLanguage>1033</OrgLanguage>
<OrgCulture>1033</OrgCulture>
<UserLanguage>1033</UserLanguage>
<UserCulture>1033</UserCulture>
<OrgID>{DC9DC499-6ADF-E611-80CF-00155D0ACE69}</OrgID>
<UserID>{97AED150-76DF-E611-80CF-00155D0ACE69}</UserID>
<CRMVersion>8.1.0.359</CRMVersion>
</ServerInformation>
</CrmScriptErrorReport>

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans