Archive

Archive for September, 2015

Incorrect date (KPI) calculation – Enhanced SLA

September 28, 2015 Leave a comment

We have an ‘Enhanced SLA’ configured in our CRM application which was working fine in development environment.

Recently we deployed solution on Customer’s server and surprisingly SLA showing incorrect First Response\Resolve by KPI’s hence ‘SLA Counter’ showing wrong timer.

Refer below screen where Timer showing 561 days however ‘Failure Date’ was after 3 days.
Incorrect SLA Counter

Incorrect SLA Counter

Reason

  • Looks like its product issue with date calculations for non US based servers.
  • In simple terms if your CRM Application Server’s Region is Non-Us you might get wrong date calculations.
  • My customer is non-Us based and all the servers ‘Region’ settings set to their country which causing the issue.

Fix

  • In my case changing CRM Site Globalization culture to English (United States) (en-US) solved the issue.
  • Follow below steps
    • Open IIS
    • Select ‘Microsoft Dynamics CRM’ website
    • Double click on ‘.NET Globalization’ feature
    • Set ‘Culture’ and ‘UI Culture’ to ‘English (United States) (en-US)
CRM Website- Net Globalization

CRM Website – Net Globalization

  • Reset the IIS

Refer this article for more details

🙂

Intermittent 404 error while accessing F5 load balanced CRM

September 12, 2015 Leave a comment

We recently configured F5 load balancer with 2 CRM application servers and deployed our build.

Within no time we started getting “404 Not Found” randomly while navigating with in the CRM application and up on refresh CRM screen loading properly.

Reason and Fix

  • In one of the 2 CRM application servers, CRM website running on different port other than 80.
  • So, when request made from load balancer to the wrongly bind CRM server, it was looking for CRM website from port 80 which was not available.
  • Up on refresh, if Load Balancer connects to the Application server with CRM on 80 port, its showing up.
  • We corrected CRM application port binding to 80 to fix the issue.

🙂

Categories: CRM Tags: , , ,

Script error with navigate() statement while navigate between forms – CRM Jscript

September 12, 2015 Leave a comment

We have a Custom entity with 3 forms and the requirement is to navigate to a different form based on a field value .

So we registered a script on form ‘load’ event to navigate to a specific form based on an option set value.

Navigation worked as expected except few user’s that too when application should take User to ‘Form 2’.

Reason and Fix

  • We configured new Security Roles recently.
  • Our forms were role based and we missed enabling newly added “Security Role” for ‘Form 2’.
Role Based Forms - Account

Role Based Forms Screen

  • By enabling newly added Security Role for ‘Form 2’ script started working.

🙂

Categories: CRM Tags: , , ,

Error initializing component with element id=’xxxx’ and with type=’null’: Object doesn’t support this action – CRM

September 12, 2015 Leave a comment

Recently we configured F5 load balancer and from then we were frequently getting Script Error Notifications while navigating in CRM application.

In error report there is below content

<CrmScriptErrorReport>

<ReportVersion>1.0</ReportVersion>

<ScriptErrorDetails>

<Message>Error initializing component with element id=’xxxx’ and with type=’null’: Object doesn’t support this action</Message>

Reason

  • ‘Anonymous Authentication’ has been disabled for one of the CRM application in NLB.
  • CRM authenticates once for the session and then uses ‘Anonymous’ access to load the components like web resources,Notifications etc. Hence its required to enable Anonymous Authentication.

Fix

  • Enable ‘Anonymous Authentication’ and reset the IIS.
Anonymous Authentication Enabled

Anonymous Authentication Enabled

🙂

Categories: CRM Tags: ,