New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsTime Zone Not Found on ComputerTime Zone Not Found on Computer
New Post
12/3/2014 12:21 PM

I don't know if this error is related on to the Events module, however both modules that I have on my site (a list of upcoming events on the home page that is driven from a primary calendar) error out for certain people.  This is the error that they are seeing:

A critical error has occurred. Please check the Event Viewer for further details.

The event log shows this information:

FriendlyName:Trip Calendar
PortalName:Myrtle Beach Golf Talk
ActiveTabName:Trip Calendar
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
InnerException:The time zone ID '(UTC-05:00) Eastern Time (US & Canada)' was not found on the local computer.
DotNetNuke.Services.Exceptions.ModuleLoadException: The time zone ID '(UTC-05:00) Eastern Time (US & Canada)' was not found on the local computer. ---> System.TimeZoneNotFoundException: The time zone ID '(UTC-05:00) Eastern Time (US & Canada)' was not found on the local computer. at System.TimeZoneInfo.FindSystemTimeZoneById(String id) at DotNetNuke.Entities.Users.UserProfile.get_PreferredTimeZone() at DotNetNuke.Modules.Events.EventBase.GetUserTimeZoneId() at DotNetNuke.Modules.Events.EventBase.GetDisplayTimeZoneId(EventModuleSettings modSettings, Int32 modPortalid, String userTimeZoneId) at DotNetNuke.Modules.Events.EventBase.GetDisplayTimeZoneId() at DotNetNuke.Modules.Events.EventBase.get_SelectedDate() at DotNetNuke.Modules.Events.EventMonth.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 A similar error is produced from the Events module on the home page.  This does not happen with all users, just a few.  This user also has his time zone set for International Date Line West which seems to be the default for new users for some reason that i have not figured out yet.  The host and portal are not set to that, so that's something else to rack down...


New Post
12/3/2014 1:41 PM
are you running latest Version of the module?
DNN has changed timezone Format in DNN 7

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
New Post
12/3/2014 2:21 PM

Yes, I have DNN 7.3.4 and Events 6.1.5 (both the latest).

I've also done some more testing and this is what I have found.  My site requires verified users:

 1. Created new user, did not change default time zone from International Date Line West when registered

This user had the error in both of the modules.  Updated the user profile to be Eastern Time.  No more error.

2. Created new user, changed the default time zone to Eastern Time when registering (It's a mandatory field).

This user also had the error.  This time all that i did was go in and click update on the profile, I didn't do anything with the user's time zone.  No error.

3. Created new user, left the default time zone (International Date Line West) when registered.

 This user had the error.  Like #2, I simply went into the profile and clicked Update (didn't change the time zone from International Date Line West) and the errors are gone.

 So it doesn't look like it's the Events module at all, but something with the profile of the user when registered.

Time to look into that...

New Post
12/3/2014 2:40 PM
This looks like new users probably aren't getting their time zone set on creation. You can check this in the user profile table. So it will default back to either module or portal time zone (depending on how you have configured the module settings). It would be worth updating those to make sure they are using valid time zones. In theory they should query them out of what is available on the physical server, which it sounds like they are out of step with...

Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
New Post
12/3/2014 3:13 PM

Roger, good to hear from you, hope all is well!

I pulled down the data from the UserProfiles table, and I see something interesting.

When the user has had their profiles updated (even by clicking the Update button), the Time Zone property changes...

Here are each of the users mentioned above:

  1. Eastern Standard Time
  2. Dateline Standard Time
  3. Dateline Standard Time

And for a fourth user that I have not "updated", I get (UTC-12:00) International Date Line West as the time zone.  And after the user is "updated" (again, just by going in to the User Profile and clicking Update), it has changed to Dateline Standard Time and the errors in the Events modules are gone.

So I have a workaround, however how do I fix it so that the timezone is updated properly upon user registration...

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsTime Zone Not Found on ComputerTime Zone Not Found on Computer

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out