DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 917545 - Last Review: June 20, 2014 - Revision: 5.0

Hotfix Download Available
View and request hotfix downloads
 
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows


The hotfix that is discussed in this article is not available for the Chinese version of Microsoft Dynamics CRM or for the Japanese version of Microsoft Dynamics CRM.

Symptoms

You cannot view the service calendar in Microsoft Dynamics CRM 3.0. Additionally, you receive the following error message:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Cause

This problem occurs when you have working hours set in Microsoft Dynamics CRM 3.0 and when one of the following conditions is true:
  • You change time zones on your computer.
  • You change from daylight saving time to standard time, or you change from standard time to daylight saving time.

Resolution

This problem is fixed in Microsoft Dynamics CRM 3.0 Update Rollup 1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
922815  (http://support.microsoft.com/kb/922815/ ) Update Rollup 1 for Microsoft Dynamics CRM 3.0 is available

More information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable the hotfix, add the ForceTimeZone DWORD value to the following registry subkey:
HKLM\Software\Microsoft\MSCRM
The ForceTimeZone DWORD value must have a value of decimal 1. To add the ForceTimeZone DWORD Value, follow these steps:
  1. On the Microsoft Dynamics CRM server, click Start, click Run, type regedit, and then click OK.
  2. Right-click the HKLM\Software\Microsoft\MSCRM registry key, click New, and then click DWORD value.
  3. Type ForceTimeZone, and then press ENTER.
  4. Double-click ForceTimeZone, type 1 in the Value data box, and then click OK.
This hotfix corrects the problem going forward. However, you may have to manually fix some calendar records. You must manually fix some calendar records if you receive the following error messages when you click Work Hours after you open a user record in Microsoft Dynamics CRM.
Error message 1
SOAP Request failed:
>Url:http://n30/MSCRMServices/calendar.asmx
>MethodName:Expand
>Response: >
<?xml version="1.0" encoding="utf-8"?> >
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.InvalidOperationException: Relative recurrence generated an interval that is not contained by the scope. > at Microsoft.Crm.Scheduling.RelativeRecurrenceRule.Expand(TimeIntervalCollection scopes) >
Error message 2
>CrmSoapExtension detected non-CrmException - report will be sent to Watson: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: Relative recurrence generated an interval that is not contained by the scope. at Microsoft.Crm.Scheduling.RelativeRecurrenceRule.Expand(TimeIntervalCollection scopes) at Microsoft.Crm.Scheduling.Engine.LeafCalendarRule.ExpandRecurrence(TimeIntervalCollection effectiveScopeIntervals, TimeIntervalCollection instanceIntervals, Int32 effectiveTimeZoneCode) at Microsoft.Crm.Scheduling.Engine.CalendarRule.Expand(TimeIntervalCollection scopeIntervals, TimeIntervalCollection instanceIntervals, Int32 fallbackTimeZoneCode)
Note You receive these error messages if you enable the DevErrors setting or if you review the platform trace log files.

To resolve this problem immediately, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

For more information about software update terminology, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates
887283  (http://support.microsoft.com/kb/887283/ ) Microsoft Business Solutions CRM software hotfix and update package naming standards
Keywords: 
kbfix kbbug kberrmsg kbHotfixServer kbqfe kbmbsmigrate KB917545
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support