Overview
This article describes the resolution of the error which occurs when opening the web page. The following error is shown: The time zone ID 'TheNameOfATimeZoneIsShownHere' was not found on the local computer.
For example,
- The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer.
- The time zone ID 'Jerusalem Standard Time' was not found on the local computer.
This happens on certain pages, e.g., the archive page of the user profile page. The Outlook Connector also fails to synchronize.
The following error message is shown in the aspnet/ui/archive.log file:
2014-01-29,16:29:30,993,1,"#00001B98","#00000017","error ","Archive","Error: The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer." aspnet/ui/user_dialog_userprofiledialog_aspx.log 2014-01-29,16:29:40,682,1,"#00001B98","#0000001A","warning","user_dialog_userprofiledialog_aspx","WARNING: Method 'get_DefaultTimeZone()', Could not evaluate DefaultTimeZone. Details: The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer." 2014-01-29,16:29:40,687,1,"#00001B98","#0000001A","error","user_dialog_userprofiledialog_aspx","ERROR: Method 'OnError()' failed with error Error Caught in Page_Error event, Error in: http://server/MailArchiver/User/Dialog/UserProfileDialog.aspx?rwndrnd=0.20932922366124962 Error Message: The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer." 2014-01-29,16:29:40,696,1,"#00001B98","#0000001A","error","user_dialog_userprofiledialog_aspx","ERROR: Method 'OnError()' failed with exception System.TimeZoneNotFoundException: The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer. aspnet/ui/WSOutlook.log 2014-01-29,16:31:26,444,1,"#00001B98","#0000001A","info","WSOutlook","GetMessages: startDate 29.01.2013 16:31:26, endDate 29.01.2014 16:31:26, userId 0444e25b3ad80c4b8f10b7ccea09e12d, databaseId f690389f-0647-470d-a366-50d36575215f, timeStamp -9223372036854775808, ceilingTimeStamp -9223372036854775808" 2014-01-29,16:31:26,654,1,"#00001B98","#0000001A","error","WSOutlook","Error: GetMessages failed. The time zone ID 'Mitteleuropäische Zeit' was not found on the local computer."
Note: It is important that there is a string present between '' in the above error. If the string between '' is empty, please check Error: 'The time zone ID '' was not found on the local computer'.
Environment
Build 20131111
Resolution
- Upgrade to MARC2014 build 20140616 or newer. The issue has been fixed such as on exception the Timezone ID defaults to local.
- Delete the affected user's profile file from ..\ASPNET\UI\Profiles
- If Step 2 does not help, open the user's profile under ..\ASPNET\UI\Profiles and edit them manually, such as in the example above, change the existing time zone from
Mitteleuropäische Zeit
to the English termW. Europe Standard Time
. To find the English term, check the registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
Note: You will find the same time zone string for the value of the time zone key in the ..\ASPNET\UI\Profiles\<corresponding user profile> as shown in the error message in the aspnet/ui/archive.log file.
Priyanka Bhotika
Comments