Tuesday, April 23, 2013

How to fix:The Microsoft Exchange MAPI subsystem is not installed on this system

Recently I was installing CRM 2011 Email Router and during the installation process I received an error stating:

There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control pane

And it displayed an error "The Microsoft Exchange MAPI subsystem is not installed on this system."


Here is the Microsoft KB Article that helps you resolve just this. Your installation must run smoothly thereafter.

Thursday, April 4, 2013

How to fix: "Error while fetching data extension" reporting error in CRM 2011

As a consultant you might have come across this error while accessing reports on CRM 2011.

"Error occurred while fetching the data extension."

Below I show you the screenshot so you can have a familiar look at the error.


Resolution
You might use either of the below two solutions ....... or both:

SQL Server Reporting Service is not running
Check SQL Server Reporting Service for its status. Start the service if its already not running. Follow these steps:
  1. Start > Administrative Tools > Services
  2. Right click SQL Server Reporting Service > Properties > Start
Check SQL Reporting Services URL for the Organization
The SQL Report Server URL must have been configured incorrectly. Follow below steps to resolve:
  1. Open Deployment Manager
  2. Disable the Organization for which Reports are not running
  3. Click Edit Organization
  4. Check validity* of the Report Server URL. If it is not correct, update the Report Server URL. It might be of the kind http://crmsrv:5555/ReportServer_CRM2011
  5. Follow the wizard further and click Finish
  6. Enable the CRM Organization
*To know the correct URL for Report Server, open Reporting Services Configuration Manager and click on Web Service URL and check the URL towards the below of dialog window.

Produce reports and keep your management happy :)

Thursday, March 21, 2013

How to save read-only fields in CRM 2011

What was I trying to do?

My CRM form had few calculated fields which were populated using Jscript. And since these were calculated, I didn't wanted users to intervene. So I made them read-only!

After customizing the form and script, I open the form as a user and tried to save the data on the form by clicking the Save button and I closed the form.

Next time I reopened the form and the read-only fields were empty (the opens used as calculated fields based on javascript).

Solution

On the OnSave event of the form, insert this snippet:
Xrm.Page.getAttribute("fieldName").setSubmitMode("always");

The fieldName is the read-only field that was updated using Jscript. If there are multiple 'Jscript updated read-only' fields on your form, you have to duplicate the above snippet for those fields as well.

Hope it helps!


Thursday, March 7, 2013

How to enable trace in CRM 2011


Below are the steps to enable trace log in Microsoft Dynamics CRM 2011

  • Start  >  Run  >  regedit.exe
  • Browse registry editor to this location. HKEY_LOCAL_MACHINE  >  SOFTWARE  >  Microsoft  >  MSCRM
  • Right click and add new key of type (DWORD). Refer the image
    • TraceEnabled
    • TraceRefresh
  • Set their value = 1


Saturday, March 2, 2013

How to fix: This message has not yet been submitted for delivery

To make this message disappear you have to make certain configurations in CRM like one of the following:
  • Check to see if you have approved the CRM user to send an email. Settings > Administration > Users > Select the user and click Approve Email.
  • Open CRM user record and check Email Access Configuration section on the form. Make sure the correct profile has been chosen. i.e. If you are using Email Router to route incoming and outgoing emails, make sure the Email access type - Incoming and Email access type - Outgoing are set to Email router. (Make sure email router is configured for this).
  • In continuation to the above point, if you are using Outlook to send and receive emails, make sure Email access type - Incoming and Email access type - Outgoing are set to Microsoft Dynamics CRM for Outlook. (For this to work, you have to install and configure Microsoft Dynamics CRM Client for Office Outlook on the Client machine).
These steps are sure to help you understand the various check points to configure emails correctly in CRM. Share them with others if you know of someone who is battling their minds on this.

PS: Now I was using Microsoft Dynamics CRM Client for Office Outlook to send and receive emails and made sure the appropriate configurations have been done but, the message still seems to bother me. I noticed my Office Outlook application was closed :)