DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2494575 - Last Review: February 25, 2011 - Revision: 2.1

SYMPTOMS

After you upgrade to Microsoft Dynamics CRM 2011 and then open forms of certain entities, you receive an error message that resembles the following:

There was an error with this field's customized event.

Field:window

Event:onload

Error: 'crmForm.all.tab2Tab.style' is null or not an object. 

CAUSE

This issue can occur if you use unsupported JScript customizations in Microsoft Dynamics CRM 4.0 that break the form loads in Microsoft Dynamics CRM 2011. Unsupported JScript methods include hiding controls, tabs, or menu items. 

RESOLUTION

To resolve this issue, remove these kinds of customizations and instead use supported methods. The Microsoft Dynamics CRM SDK has a list of new capabilities that replace unsupported methods. Refer to the SDK topic "Upgrade Scripts to Microsoft CRM 2011" for more information about how to replace the old, unsupported methods with the new, supported methods.

MORE INFORMATION

To download the Microsoft Dynamics CRM 2011 SDK, visit the following Microsoft website:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=420f0f05-c226-4194-b7e1-f23ceaa83b69 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=420f0f05-c226-4194-b7e1-f23ceaa83b69)

To  download the Microsoft Dynamics CRM 2011 SDK on the Microsoft Developer Network (MSDN), visit the following MSDN website:

http://msdn.microsoft.com/en-us/library/gg309408.aspx (http://msdn.microsoft.com/en-us/library/gg309408.aspx)

Support assistance with unsupported customizations may be considered billable.

APPLIES TO
  • Microsoft Dynamics CRM 2011
  • Microsoft Dynamics CRM Online Professional Edition
Keywords: 
kbmbsmigrate kbsurveynew kberrmsg KB2494575
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support