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, 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!

To save the data on the form (like everyone else and like it's suppose to be) I clicked on Save. Next time I opened the form and those read-only fields were empty. Did the user edit, no. No, because the field was read-only.

Workaround

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.

Why didn't the data save?

Apparently blogs and other Microsoft CRM experts claim its to save network traffic. Really?
I tried to investigate, but not enough. I better leave it at this. It would be easier to ask the masters. Microsoft CRM product team, I would like to know:
  • Why didn't it save?
  • Was this by design?


Strange, but true. Strange because I don't know yet.


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 :)

Monday, August 27, 2012

Unable to load client print control

When you search the post title on your preferred search engine (mostly Google or Bing) there are scores of blogs, websites and talks about resolving this issue.

"client print control" What is this anyway?

Well, when you open a report, you have a little control for printing the report. When you (from a client machine) click this for the first time, the report server installs an ActiveX component which is called the Client Print Control. This control helps the client machine send a print command which will then print you the page.

This might fail to load for a lot of reasons:
  • The ActiveX Print control is of an older version.
  • Is not installed on the client machine (Due to not enough security permissions)
  • Is installed but couldn't load (Due to not enough security permissions)
Now, you will find a lot of resources talking about how to resolve this issue. Could be to manually install the print control, push install the control on all clients, create exceptions, edit registry and more.

If you are still reading this, it clearly means none of the above mentioned solutions worked for you. It din't for me either.

My client is using Microsoft Dynamics CRM 4.0. To cater his database needs, he's on SQL Server 2005 SP4 (Build version - 9.00.5057) sitting on one box. The Reporting Services, since you know is a separate component was SQL Server Reporting Services SP2 (Build version - 9.0.3042) sitting on another box.

While it doesn't matter if they sit on the same box or different, I'm only mentioning the environment. (Can be ignored)

My persistency in pursuing the solution lead me to few websites.

SQL Server requirements and recommendations for Microsoft Dynamics CRM
How to determine the version and edition of SQL Server and its components
Microsoft Dynamics CRM Compatibility List

And hence a decision to upgrade SQL Server report server to a similar build as of SQL Server. So we went for a Report Server upgrade from SP2 to SP3 (at first).

The issue was resolved, even though the build versions are still not same (Report Server build was 9.0.4035). I'm hoping that other things should be fine as well. If not, we will consider upgrading Reporting Services to SP4 then.

As of now, I'm sipping coffee :)

Monday, April 30, 2012

Microsoft Dynamics CRM for Outlook Configuration Troubleshooting

CRM Outlook Client Subject Matter Experts have devised a wizard that you can follow to fix CRM Outlook Client Configuration Issues. Whether you use CRM Online or CRM On-Premise, go ahead by selecting your deployment to get to-the-point fixture solution.

A very useful piece of information can be read in full here.

Sunday, April 22, 2012

Process Explorer

What files and folders are open by an application, are not hidden anymore. Process Explorer tracks down dll version issues, and keeps a check on all the files and directories an Application or Windows is referencing.

Process Explorer download link