Archive

Posts Tagged ‘crm 2011’

Outlook Client: Cannot find any organizations on the server. Try entering the URL again

ISSUE

We took the database backup of production CRM and restored in UAT and imported the organization to create UAT CRM environment.  Users would like to connect Outlook client to both Production and UAT, but when user tries to add the second environment (it doesn’t matter which order), we get below error message:

Cannot find any organizations on the server. Try entering the URL again. If the problem persists, contact your system administrator.

CAUSE

Whenever an organization is configured in outlook there will be an entry in the registry with that organization GUID and the outlook client automatically detects there is one organization with the GUID of the first organization and therefore, while configuring the second organization with the same GUID, the CRM outlook client does not detect the organization ID

WORKAROUND TO COME ACROSS

  • Restore the production organization database as TempUAT on the UAT server
  • Build TempUAT organization in UAT server
  • Backup the TempUAT and restore it as UAT on the UAT server
  • Build UAT organization on UAT server
  • Then the outlook client will identify both the organizations

Disable Trace in CRM 2011

January 11, 2013 Leave a comment

Recently our testing server was getting loads of data through CRM Trace. When we check the trace properties all the keys mentioned as part of the Microsoft article are disabled.

We tried by

  • Updating the registry entries Enable/Disable
  • Removed all the Trace related entries
  • Restarted the IIS and Machine for some times
  • Used Diagnostic Tool to do the same jobs again

Still no luck….

At the end after some research on CRM Files/Database/Registry and Bing found that after Update Roll Up 6 these settings were moved to MSCRM_CONFIG database.

Here are the queries to check or to update the Trace settings

select * from OrganizationProperties where ColumnName =‘TraceEnabled’

update  OrganizationProperties set BitColumn =‘0’where ColumnName =‘TraceEnabled’

Hope this helps some body 🙂

Get away from “Error – Subreport could not be shown”

October 10, 2012 Leave a comment

As part of development we used to restore CRM organization many times. Recently we found that the out of the box reports are giving problems which have sub reports.

When we try to open a report it is giving “Error – Subreport could not be shown” whereever there is reference to sub report.

Problem here is the relation between parent report and sub report got disturbed and CRM doesnot able to link these two reports.

Resolution (atlease in my case):

  • From Reports section select the sub report and click on edit
  • Remove the value in Parent Report look up field
  • Map Parent Report again

This would solve the problem. But in some cases we may need to re-publish the reports. Below steps will help us in publishing the reports again

  • Open command prompt on CRM application server
  • Go to Microsoft Dynamics CRM\Tools folder
  • PublishReports.exe NameOfYourOrg
  • Ex: C:\Program Files\Microsoft Dynamics CRM\Tools\PublishReports.exe mytestcrm

Hope this helps 🙂

CRM like scroll bars in HTML web resource or custom page

August 6, 2012 1 comment

When we show HTML web resource or custom aspx pages as part of CRM we may need to show the same styles for the custom pages. Here is the style script to show CRM like scroll bars as part of HTML web resource or aspx pages


<STYLE type="text/css">
    .TA {
scrollbar-base-color: #E9EDF1;
scrollbar-arrow-color: #3b3b3b;
scrollbar-3dlight-color: #A5ACB5;
scrollbar-darkshadow-color: #A5ACB5;
scrollbar-face-color: #E9EDF1;
scrollbar-highlight-color: #E9EDF1;
scrollbar-shadow-color: #E9EDF1;
scrollbar-track-color: # E3E8ED;
}

}  </STYLE>
<body class='TA'>

</body>

Hope this helps 🙂

Signature in Emails using Personal Email Templates

Just like in Outlook users are interested in using Signature facility when creating the Emails in CRM. To get this we can make use of Personal Email templates available.

Personal Email templates will be available for all the users and the one which is created by one user can not be accessed by others unless it is marked for Organization level access.

Here is the way,

  • Go to File–>Options–>Email Templates
  • Select New
  • Select Global as Template Type in the pop up
  • Enter Title as <<User Name Signature>>
  • Enter Subject, As this is a required field we need to give some value here. But When you use the template you can select Not to override the existing subject line
  • Have your signature as part of Body
  • Save and Close

Use Signature Email Tempalte

  • Create an Email activity
  • You can click on Insert template and select the template created above
  • If you first enter the email details like Subject and Body, System will give a confirm box to replace the subject line with the templates subject. Here you can select Cancel to continue with the existing subject line

Hope this small tip helps somebody 🙂