-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[.net 6] System.TimeZoneNotFoundException: The time zone ID 'Asia/Almaty' was not found on the local computer. #68
Comments
But when running locally (Windows 10), it works |
I fixed it by forcing local ICU through nuget App-local ICU. Probably, there is no ICU installed on Windows server 2019 |
I have the same problem on Windows 10 with " System.TimeZoneNotFoundException: The time zone ID 'Europe/Berlin' was not found on the local computer.".
|
@MrDoe, only include in Windows platform:
Also, in program you can check if IcuMode enabled with method:
|
@Yerkon Thanks for your answer! I tried this, the IcuMode works, but I still get the error. Maybe it is an issue with .NET 8 running on Windows 10. I debugged the library and changed
to
in TimeZoneHelper.Net6.0.cs. Now it works, but I get another error: ""TODO: add support for custom serialization." The error is occuring when I try to select a DateTime64 column. As a workaround, I'm currently using |
@MrDoe, maybe @victor-sushko will help? |
In recent versions ClickHouse "breaks" wire protocol. |
Hello,
After upgrading project from .net 5 to .net 6, error occurs on Windows Server 2019.
`
`
"Octonica.ClickHouseClient" Version="2.2.9"
For "Octonica.ClickHouseClient" Version="2.2.8" the same
The text was updated successfully, but these errors were encountered: