web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

object doesn't support property or method - No Customization

(0) ShareShare
ReportReport
Posted on by 365

Dear, 

i just found an issue after finish installing CRM 2011 yest., i look  around and tried all the suggested solutions for my issue but nothing help so far. 

i hope to find someone here who are willing to help solve this issue. 

when opening Activity form ( Task , email .... ) o popup show with the following error. 

Field:window

Event:onload

Error: object doesn't support property or method form_onload

kindly note that i dont have any jscript or customization - as i said before its just a fresh install. (so there is nothing under Event Handler or libraries) 

i tried to repair/reinstall Microsoft URL rewrite - debugging tool (show nothing) - updating to latest rollup 16. 

OS: windows server 2008 R2 64 bit

SQL 2008 R2 Standard edition. 

Client: windows 7 32 bit

thanks in advance, 

regards, 

Fairouz

*This post is locked for comments

I have the same question (0)
  • Devendra Singh Baghel Profile Picture
    150 on at

    This might be browser related issue. Hence can you please test this on different browser?

    If this is not related with the browser then you need to check the following things.

    Open IIS on your CRM server and select CRM website and check modules. 

    Check if no RewriteModule is listed in the list and is not associated with DLL: %SystemRoot%\System32\Inetsrv\rewrite.dll. Then

     Repair or Reinstall the URL RewriteModule:

    The installation msi for the Microsoft URL RewriteModule can be found within the CRM server installation media under a folder called UrlRewriteModule. The file is called rewrite_1.1_amd64_rtw.

    After that restart the CRM Server after reinstalling the module.

    Please let me know if this helps you? 

    Thanks!

    Dev

  • mfairouz Profile Picture
    365 on at

    Hi, 

    thanks for your reply, 

    i already test it with IE9, IE10 , chrome & firefox ... all brwoser popup the same issue. 

    i didnt get excatlly what you mean in the second part of your msg, but i check IIS manager - modules and found RewriteModule exisit there and  associated with DLL: %SystemRoot%\System32\Inetsrv\rewrite.dll


    appreciate your support. 

    thanks, 

    Fairouz


  • mfairouz Profile Picture
    365 on at

    anyone have an idea about this issue or how to find out what cause this error please help.

  • ScottDurow Profile Picture
    21 on at

    Hi,

    It sounds like some of the system scripts are not being loaded correctly if this is a fresh install. Try installing Fiddler2 and look for any red requests in the left panel.

    Hope this helps,

    Scott

  • Devendra Singh Baghel Profile Picture
    150 on at

    It seems that there is some issue on the Form customization of Task, or Email entity. Below I have given the System script for the Email. You can follow the same for Task and other entities as well.

    Create a solution and add only email entity as a component in that. And download that solution. After that extract the solution's zip file, and edit customizations.xml file.

    There you need to search for below XML.

                                   <events>

                   <event name="onload" application="true" active="true">

                     <InternalHandlers>

                       <Handler functionName="Mscrm.Form_onload" libraryName="Email_main_system_library.js" handlerUniqueId="ecdfe4d8-d6d3-4d21-ab68-8ea75bb30a79" enabled="true" />

                     </InternalHandlers>

                   </event>

                 </events>

                 <clientresources>

                   <internalresources>

                     <clientincludes>

                       <internaljscriptfile src="$webresource:Email_main_system_library.js" />

                     </clientincludes>

                   </internalresources>

                 </clientresources>

    In the above snippet, I have given the Event and System library for Email entity. And the library is "$webresource:Email_main_system_library.js" , can you please check in the customization of Email entity, for this library under the "clientincludes" tag? This might be an issue.

    If this library is not exist there then you can modify the customization of the email entity, zip all files i.e.[Content_Types].xml, customizations.xml, solution.xml and import that zip again in CRM. After Publishing the customizations, it should eliminate the onload error on Email.

    And for other entities like Task, you need to download the blank and working customization of the Task and identify the name of the System library.

    Please let me know if this resolve your issue?

    Thanks!

    Dev

  • mfairouz Profile Picture
    365 on at

    Hi,

    i already check the http request using Fiddler but didnt find any thing below a screen shot for review.

    anyway i just double check again i found that this error popup windows only shows on Activity: (Email, Task, Fax, Recurring Appointment) other activities works fine without any issue.

      

    any other suggestion to find out what cause this popup window? 

    thanks and appreciate your support,

    Fairouz

     

     

  • Devendra Singh Baghel Profile Picture
    150 on at

    Can you please review the form customization of Email entity, as I mentioned above?

    One of our customer faced this kind of issue, then we found that "clientincludes" was missing there.

    <clientincludes>

                      <internaljscriptfile src="$webresource:Email_main_system_library.js" />

    </clientincludes>

    This might be a cause in your case.

    Thanks!

    Dev

  • mfairouz Profile Picture
    365 on at

    Dear DS83,

    thanks for the great support, i will check it today and let you if this fix my issue.

    thanks alot again

  • mfairouz Profile Picture
    365 on at

    Dear, 

    when iam trying to create a new solution i got many many popup error's similar to the previous above please check the attached screen shots

    i tried to re install SQL server and CRM 2011 but still have the same issues !! 

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!266:550:0]

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!267:550:0]

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!268:550:0]

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!269:550:0]

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!270:550:0]

    [View:https://onedrive.live.com/redir?resid=2497B00649064D42!271:550:0]

    is there any solution for this, or any other way to know what cause this problem - as i trun server trace on but didt see any error logged. 

    appreciate your support, and sorry for all of this 

    Regards, 

    Fairouz 

  • Verified answer
    Devendra Singh Baghel Profile Picture
    150 on at

    Sorry for delay, last 3 days was very busy.

    I checked your screens and seems that script handlers are properly added.

    one of our customer was getting same issue, then we had manually modified the FormXML and fixed the issue.

    Hence in your case it seems something else issue.

    As you had already installed CRM many times :), hence I would suggest to install once more.

    at this time please check all the pre-requisite of the CRM 2011 installed specially related to IIS.

    Then install CRM 2011 and before installing any Rollup please check if you are getting any issue. if you will not get any issue then install UR 12 not 16 and check again if you get any issue. hence please do not install directly UR 16.

    Also can you please let me know the version that which Windows & SQL server you are using? so I can try to replicate this issue at our end.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans