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/download/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
Support assistance with unsupported customizations may be considered billable.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×