简体   繁体   中英

The type initializer for 'PublicDomain.TzTimeZone' threw an exception

hi i am getting This problem - type initializer for 'PublicDomain.TzTimeZone' threw an exception. with .net please tell me why this is and how to solve this?

thanks

inner exception is "Cannot find time zone with UTC offset -12:00:00."

Well, we don't know what that type is... (presumably the code from here ) but my guess is that it's missing a file with time zone data in, or something similar.

The exception should have an InnerException which will give more information about what went wrong. Hopefully that will help you solve it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM