Recently i installed and setup a fresh copy of our CRM 2011 system, the installation went fine and there were no errors or warnings during the installation.
There was an error with this field’s customized event
Error: object doesn’t support property or method ‘Form load’
That was strange when there are no customizations made and it’s just freshly installed or not even upgraded from CRM 4.0.
After much digging, i learned that it was just because of a corrupt or missing component (ReWrite Module) for the CRM website in IIS.
Before proceeding with the steps to resolve, we can confirm that by opening up IIS Manager from your CRM server – navigate to CRM website – open Modules under IIS Tab,
If you notice the above image, there is none named Rewrite Module listed under modules.
So, the Resolution was to install/repair the Microsoft URL ReWrite module from your CRM installation media under a folder named URLReWriteModule and the file name is “rewrite_1.1_amd64_rtw”
Alternatively, you can also download that from here,
Once you install/repair the URL Rewrite Module – The Errors doesn’t occur any more and everything works fine.
You can also confirm the changes by going back to Modules under IIS and check for ReWrite Module entry and also open the CRM web.config and find the new entry like this,
URL ReWrite – What it does and how does it work in conjunction with CRM?
When a webresource Ex. An entity form is requested from the CRM server, the URL is built dynamically using URL ReWrite component. More information on URL Rewriting in Asp.net is found here.
Hope this helps someone and was a good learning for me as well.