none
IE 11 crashes on setting required level in dynamics CRM 2013 hosted RRS feed

  • Question

  • Internet Explorer crashes whenever I try to setRequiredLevel for a field in dynamics CRM 2013 hosted org. Below is the code which is causing issue.

    try { if (Xrm.Page.getAttribute("new_cvv") != null) {Xrm.Page.getAttribute("new_cvv").setRequiredLevel("required");} } catch (e) { alert(e.toString()); }

    I have tried using setTimeOut but it did not worked. There is no debug information about this. I have updated IE 11 to 11.0.3 but it also went in vain. This code is running fine in IE 10 or there browsers. I am running windows 8. Kindly help me I am stuck on this.

    Tuesday, September 1, 2015 4:59 AM

Answers

  • Hi,

    for crash information see Start>Event Viewer...

    'crashing' (if that's what you mean) is almost always associated with misbehaving/old Addons , occasionally mshtml.dll will raise an error where legacy markup is used.

    To debug scripts in IE11...

    first...Internet Options>Advanced tab, check "Record console messages".

    then on a web page that you want to debug... f12>Debug tab, select "Break on all errors" from the dropdown, return to your  page without closing the dev tool. The debugger will break when you encounter the script error.

    Post questions about html, css and scripting for web site development to

    http://stackoverflow.com. If possible include with your questions a link to your website or a mashup (jsfiddle) that shows the issue... Any console or event viewer messages/errors.

    Regards.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us


    Rob^_^

    Tuesday, September 1, 2015 7:50 AM
  • Hi,

    It seems that you have found the reasons for the issue. Our common troubleshooting methods properly doesn’t work for your problem due to the issue is related to the JavaScript developing code. I suggest you can post it in MSDN forums for further support.

    https://social.msdn.microsoft.com/Forums/en-us/home   

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

    Wish you have nice experience in Windows.

    Best Regards

    Simon

    Friday, September 4, 2015 1:09 AM

All replies

  • Hi,

    for crash information see Start>Event Viewer...

    'crashing' (if that's what you mean) is almost always associated with misbehaving/old Addons , occasionally mshtml.dll will raise an error where legacy markup is used.

    To debug scripts in IE11...

    first...Internet Options>Advanced tab, check "Record console messages".

    then on a web page that you want to debug... f12>Debug tab, select "Break on all errors" from the dropdown, return to your  page without closing the dev tool. The debugger will break when you encounter the script error.

    Post questions about html, css and scripting for web site development to

    http://stackoverflow.com. If possible include with your questions a link to your website or a mashup (jsfiddle) that shows the issue... Any console or event viewer messages/errors.

    Regards.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us


    Rob^_^

    Tuesday, September 1, 2015 7:50 AM
  • Hi,

    It seems that you have found the reasons for the issue. Our common troubleshooting methods properly doesn’t work for your problem due to the issue is related to the JavaScript developing code. I suggest you can post it in MSDN forums for further support.

    https://social.msdn.microsoft.com/Forums/en-us/home   

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.

    Wish you have nice experience in Windows.

    Best Regards

    Simon

    Friday, September 4, 2015 1:09 AM