Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you try to view the service calendar in Microsoft Dynamics CRM 3.0: "An unhandled exception was generated during the execution of the current web request"


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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 Update Rollup 1 for Microsoft Dynamics CRM 3.0 is available

↑ Back to the top


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: 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 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

↑ Back to the top


Keywords: KB917545, kbmbsmigrate, kbqfe, kbhotfixserver, kberrmsg, kbbug, kbfix

↑ Back to the top

Article Info
Article ID : 917545
Revision : 7
Created on : 1/11/2008
Published on : 1/11/2008
Exists online : False
Views : 411