Answered by:
CRM 2011 (OnPremise): Error on Solution window

Question
-
Hi
We have CRM 2011 on premise and suddenly the following new error started on each event of Solution screen
This error occurs on each solution, if we open any solution and immidiately this error occurs
---------------------------
Message from webpage
---------------------------
There was an error with this field's customized event.Field:window
Event:onload
Error:Object doesn't support property or method 'Form_onload'
---------------------------
OK
---------------------------this error comes on each client event, save,change, publish...every time
It Looks to me some issue with some JS file, but i dont know which js and where ?
Thank you
Many Thanks -Bhautik Desai xRM TechnologiesFriday, December 9, 2011 1:16 PM
Answers
-
Hi Philip
I am using IIS 7
I have manually added following in IIS and now it works
<rewrite>
<rules>
<rule name="ClientGlobalContextRule" stopProcessing="true">
<match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?(WebResources|Handlers)/ClientGlobalContext.js.aspx" />
<action type="Rewrite" url="/{R:1}/_Common/ClientGlobalContext.js.aspx" />
</rule>
<rule name="WebResourcesRule" stopProcessing="true">
<match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?webresources/([^\\?]+)" />
<action type="Rewrite" url="/{R:1}/Handlers/WebResource.ashx?name={R:3}" />
</rule>
<rule name="FederationMetadataRule" stopProcessing="true">
<match url="FederationMetadata/2007-06/FederationMetadata.xml" />
<action type="Rewrite" url="/Handlers/FederationMetadata.ashx" />
</rule>
</rules>
</rewrite>
Now its working
Thank you
Many Thanks -Bhautik Desai xRM Technologies- Edited by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:54 PM
- Marked as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:55 PM
Friday, December 9, 2011 3:54 PM -
Hi,
Look on :
CRM 2011 - Form errors when opening non customised forms (object doesn't support property or method 'Form load')
Regards,
PhilippeBlog : dynamicscrmcustomization
Please remember to click "Vote as Helpful" and “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
- Proposed as answer by Philippe LEAL Friday, December 9, 2011 2:08 PM
- Unproposed as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:12 PM
- Marked as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:55 PM
Friday, December 9, 2011 2:08 PM
All replies
-
Hi,
Look on :
CRM 2011 - Form errors when opening non customised forms (object doesn't support property or method 'Form load')
Regards,
PhilippeBlog : dynamicscrmcustomization
Please remember to click "Vote as Helpful" and “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
- Proposed as answer by Philippe LEAL Friday, December 9, 2011 2:08 PM
- Unproposed as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:12 PM
- Marked as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:55 PM
Friday, December 9, 2011 2:08 PM -
Hi Philippe
Thank you for your post
However, the error i am getting is only on CRM Solution screen
on Normal non- custom form, I am not getting any erros.
Still, I have tried the solution which you sent me
I have tried the settings and repairing of URLRewrite stuff which steps was described in your link
but still same error in Solution screen
Thank you
Many Thanks -Bhautik Desai xRM TechnologiesFriday, December 9, 2011 3:15 PM -
Hi,
Are you on Windows Server 2008 R2 and IIS 7.5 ?
http://social.microsoft.com/Forums/en-US/crmdeployment/thread/922ad0a5-7309-4ed1-8eee-cbc727647498/
Regards,
PhilippeBlog : dynamicscrmcustomization
Please remember to click "Vote as Helpful" and “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Friday, December 9, 2011 3:37 PM -
Hi Philip
I am using IIS 7
I have manually added following in IIS and now it works
<rewrite>
<rules>
<rule name="ClientGlobalContextRule" stopProcessing="true">
<match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?(WebResources|Handlers)/ClientGlobalContext.js.aspx" />
<action type="Rewrite" url="/{R:1}/_Common/ClientGlobalContext.js.aspx" />
</rule>
<rule name="WebResourcesRule" stopProcessing="true">
<match url="/?([0-9a-zA-Z][^/]*)?/?((?:%7b|\{)[^/]*(?:%7d|\}))?/?webresources/([^\\?]+)" />
<action type="Rewrite" url="/{R:1}/Handlers/WebResource.ashx?name={R:3}" />
</rule>
<rule name="FederationMetadataRule" stopProcessing="true">
<match url="FederationMetadata/2007-06/FederationMetadata.xml" />
<action type="Rewrite" url="/Handlers/FederationMetadata.ashx" />
</rule>
</rules>
</rewrite>
Now its working
Thank you
Many Thanks -Bhautik Desai xRM Technologies- Edited by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:54 PM
- Marked as answer by Bhautik Desai-XRM Tech Friday, December 9, 2011 3:55 PM
Friday, December 9, 2011 3:54 PM