Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Unable to map Pacific/Auckland to iana timezone #5068


User avatar
0
[email protected] created

We are on version AspNetZero 5.2 and I have updated the TimeZoneConverter to 2.4.1

If I change the site's time zone to anything but UTC I get the above error on GetScripts and all the action menus have disappeared.

Is there a fix for this?

We are building on Mac OSX and AWS Containers


15 Answer(s)
  • User Avatar
    0
    [email protected] created

    Exception details

    Exception: Unable to map Pacific/Auckland to iana timezone.

    Abp.Timing.Timezone.TimezoneHelper.WindowsToIana(string windowsTimezoneId) in D:\Github\aspnetboilerplate\src\Abp\Timing\Timezone\TimezoneHelper.cs, line 45

    Stack Query Cookies Headers 
    
    Exception: Unable to map Pacific/Auckland to iana timezone.
        Abp.Timing.Timezone.TimezoneHelper.WindowsToIana(string windowsTimezoneId) in D:\Github\aspnetboilerplate\src\Abp\Timing\Timezone\TimezoneHelper.cs
        Abp.Web.Timing.TimingScriptManager+<GetUsersTimezoneScriptsAsync>d__3.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Timing\TimingScriptManager.cs
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Abp.Web.Timing.TimingScriptManager+<GetScriptAsync>d__2.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Timing\TimingScriptManager.cs
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Abp.AspNetCore.Mvc.Controllers.AbpScriptsController+<GetScripts>d__9.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Controllers\AbpScriptsController.cs
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        lambda_method(Closure , object )
        Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeActionMethodAsync>d__12.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextActionFilterAsync>d__10.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
        Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
        Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeInnerFilterAsync>d__14.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextExceptionFilterAsync>d__23.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ExceptionContext context)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextResourceFilter>d__22.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeFilterPipelineAsync>d__17.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeAsync>d__15.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Builder.RouterMiddleware+<Invoke>d__4.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware+<Invoke>d__4.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        IdentityServer4.Hosting.IdentityServerMiddleware+<Invoke>d__3.MoveNext() in C:\local\identity\server4\IdentityServer4\src\IdentityServer4\Hosting\IdentityServerMiddleware.cs
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware+<Invoke>d__7.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        IdentityServer4.Hosting.BaseUrlMiddleware+<Invoke>d__3.MoveNext() in C:\local\identity\server4\IdentityServer4\src\IdentityServer4\Hosting\BaseUrlMiddleware.cs
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext()
        System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+<Invoke>d__7.MoveNext()
    
    System.Exception: Unable to map Pacific/Auckland to iana timezone.
       at Abp.Timing.Timezone.TimezoneHelper.WindowsToIana(String windowsTimezoneId) in D:\Github\aspnetboilerplate\src\Abp\Timing\Timezone\TimezoneHelper.cs:line 45
       at Abp.Web.Timing.TimingScriptManager.<GetUsersTimezoneScriptsAsync>d__3.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Timing\TimingScriptManager.cs:line 49
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Abp.Web.Timing.TimingScriptManager.<GetScriptAsync>d__2.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Timing\TimingScriptManager.cs:line 36
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Abp.AspNetCore.Mvc.Controllers.AbpScriptsController.<GetScripts>d__9.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Controllers\AbpScriptsController.cs:line 93
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at lambda_method(Closure , Object )
       at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
       at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ExceptionContext context)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.<Invoke>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext() in C:\local\identity\server4\IdentityServer4\src\IdentityServer4\Hosting\IdentityServerMiddleware.cs:line 72
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at IdentityServer4.Hosting.BaseUrlMiddleware.<Invoke>d__3.MoveNext() in C:\local\identity\server4\IdentityServer4\src\IdentityServer4\Hosting\BaseUrlMiddleware.cs:line 43
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware.<>c__DisplayClass0_0.<<UseJwtTokenMiddleware>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware.<>c__DisplayClass0_0.<<UseJwtTokenMiddleware>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
    

    Variable Value v 636610367367788430 Variable Value .AspNetCore.Antiforgery.vbDEJeYVN-0 CfDJ8D5sMoNYrEhFnnVwRWCXBlBDX7mUvI9qvBRlVqUdppm_qv72TM7Kb1DHfZRM4cHjvQdtKiqf_t48a_Dmc4UAcSCCHPcQSaKDWIaqxOOcNu30bNTmAinZ8mxkdr1_h-rBDUVzXWTzFJniV6QqkuSIajc .AspNetCore.Culture c=en|uic=en .AspNetCore.Identity.Application CfDJ8D5sMoNYrEhFnnVwRWCXBlCfkd6pKYcUR3s99SRDgIki7TT9BF1BD7F4e_6AmL2mOk8NikscI8v6Qrufx1f3_iVrifttlF_0dUDy-dbtv9wzPd_ySLm7VD9qG52S5dm2HNafZh4aBEGIEyWX5PxjUg7pW_rGOMSmExW0va7qP4XmX635xespRVf79vA_BisFLDEsGb5L8gjbOBqPHqB0PtkAZTq48Vldj_DtuWhg7io3wJo0WNtOG7eEKLikkUTxgylHdR5FH4wMVDQrOkNg5-2Ea5p9rRnTsKQ1jpLRZE3GqhQ-pT9wwifJFnjMkbeJJHhzDvpSVwBVD22XvGc-y-W9wa7niK-NAMeFehU99z1R7O2V9o_dB_F2FbyBH1TRalPX_Eug8jEfAVbec-tCQll6obigCr2PbpB7Qy6aBFullC28mrxYVuomazJ9C_8iNIc6-RR6oDQUX-e9wMLjMk8z0McIhCDY74PQ8iJASB2VfBnZlM6QaQ7ho2xsLPkvCJu28tBrWOyI1NJP5aDLJm3Q4oK7LlZ7K7ynZyoX9hyL8izN-o1HnqgKVA_ZDt8dxpjH-ym4VOy-MGSb_uXGI56oGgsbxlQXN5hFEs2HZOtwv2asUKt6bUQT-ueJ8IulFTWl3oH5ipdvp8eblj8Zroy_R_CS0siiC_4eOSgGGPh89y2PTcI5_KdR9FuUVZW6MC7DbbQj39SYnKHadS_pWFGT71xtE8MaOryYbO5rkoQeNhGQ5naBnU5eMtHn42KCbO2S6Cuzgu5zI2RjCkwBIIVRgYKZfaoEXr28xEa3a11op3mK8kzujtu3sXAyT2P3-BFhKnm9LcVF8sS8XcAHrd4P03HuFnOwqC_aqDs4NhG7io-Js6XxOLfxyfTorfIcRAMTp-MIkad9k2vuSGwgtraJduE9mXOLD7RVhNL1Q4mI Abp.TenantId 1 idsrv.session edbecc295f62eb0698fc0c6ad2419ad6 XSRF-TOKEN CfDJ8D5sMoNYrEhFnnVwRWCXBlBrbOsWHY4d9VqQfGX4PtOBCQjk5qFWbRTMBTOAVSM5uzghhWqEVM5_vpwneFaLgjQr6eQvoGw9HxrdursoY5iWmCGEsEXq46SMi9V-kJ3KkhuuU9bbRnnlskT5keB1wB8XLwLtobyEq4pNkEmlCa1gZyigKZNiZ9MbjWY5GOC8aA Variable Value Accept / Accept-Encoding gzip, deflate Accept-Language en-US,en;q=0.5 Cache-Control no-cache Connection keep-alive Cookie .AspNetCore.Culture=c%3Den%7Cuic%3Den; Abp.TenantId=1; .AspNetCore.Antiforgery.vbDEJeYVN-0=CfDJ8D5sMoNYrEhFnnVwRWCXBlBDX7mUvI9qvBRlVqUdppm_qv72TM7Kb1DHfZRM4cHjvQdtKiqf_t48a_Dmc4UAcSCCHPcQSaKDWIaqxOOcNu30bNTmAinZ8mxkdr1_h-rBDUVzXWTzFJniV6QqkuSIajc; XSRF-TOKEN=CfDJ8D5sMoNYrEhFnnVwRWCXBlBrbOsWHY4d9VqQfGX4PtOBCQjk5qFWbRTMBTOAVSM5uzghhWqEVM5_vpwneFaLgjQr6eQvoGw9HxrdursoY5iWmCGEsEXq46SMi9V-kJ3KkhuuU9bbRnnlskT5keB1wB8XLwLtobyEq4pNkEmlCa1gZyigKZNiZ9MbjWY5GOC8aA; idsrv.session=edbecc295f62eb0698fc0c6ad2419ad6; .AspNetCore.Identity.Application=CfDJ8D5sMoNYrEhFnnVwRWCXBlCfkd6pKYcUR3s99SRDgIki7TT9BF1BD7F4e_6AmL2mOk8NikscI8v6Qrufx1f3_iVrifttlF_0dUDy-dbtv9wzPd_ySLm7VD9qG52S5dm2HNafZh4aBEGIEyWX5PxjUg7pW_rGOMSmExW0va7qP4XmX635xespRVf79vA_BisFLDEsGb5L8gjbOBqPHqB0PtkAZTq48Vldj_DtuWhg7io3wJo0WNtOG7eEKLikkUTxgylHdR5FH4wMVDQrOkNg5-2Ea5p9rRnTsKQ1jpLRZE3GqhQ-pT9wwifJFnjMkbeJJHhzDvpSVwBVD22XvGc-y-W9wa7niK-NAMeFehU99z1R7O2V9o_dB_F2FbyBH1TRalPX_Eug8jEfAVbec-tCQll6obigCr2PbpB7Qy6aBFullC28mrxYVuomazJ9C_8iNIc6-RR6oDQUX-e9wMLjMk8z0McIhCDY74PQ8iJASB2VfBnZlM6QaQ7ho2xsLPkvCJu28tBrWOyI1NJP5aDLJm3Q4oK7LlZ7K7ynZyoX9hyL8izN-o1HnqgKVA_ZDt8dxpjH-ym4VOy-MGSb_uXGI56oGgsbxlQXN5hFEs2HZOtwv2asUKt6bUQT-ueJ8IulFTWl3oH5ipdvp8eblj8Zroy_R_CS0siiC_4eOSgGGPh89y2PTcI5_KdR9FuUVZW6MC7DbbQj39SYnKHadS_pWFGT71xtE8MaOryYbO5rkoQeNhGQ5naBnU5eMtHn42KCbO2S6Cuzgu5zI2RjCkwBIIVRgYKZfaoEXr28xEa3a11op3mK8kzujtu3sXAyT2P3-BFhKnm9LcVF8sS8XcAHrd4P03HuFnOwqC_aqDs4NhG7io-Js6XxOLfxyfTorfIcRAMTp-MIkad9k2vuSGwgtraJduE9mXOLD7RVhNL1Q4mI Host localhost:22743 Pragma no-cache Referer <a class="postlink" href="http://localhost:22743/App/Users">http://localhost:22743/App/Users</a> User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0

  • User Avatar
    0
    alper created
    Support Team

    hi

    see

  • User Avatar
    0
    [email protected] created

    I am unsure on the fix after reading the linked page.

    I have installed 2.4.1 of the TimeZoneConverter in the Core Project

  • User Avatar
    0
    ismcagdas created
    Support Team

    @[email protected] there were several issues related with timezones. Please try to replace your TimingAppService with this one <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Timing/TimingAppService.cs">https://github.com/aspnetzero/aspnet-ze ... Service.cs</a>.

    We were using "TimeZoneInfo" in several places which is OS dependant.

  • User Avatar
    0
    [email protected] created

    We have downloaded the latest version of the Framework (4.6.1) that has the above changes. From this clean project, the only code we add is Clock.Provider = ClockProviders.Utc;

    When we go to the settings and change timezone to New Zealand we get the exception again on the getScripts

    Anything else we can do....

    thanks

  • User Avatar
    0
    aaron created
    Support Team

    Framework?

    The latest version of ASP.NET Zero is v5.4.1.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @[email protected] ,

    As an addition to @aaron's question,

    1. Did you use an existing database or created a new database ?
    2. Have you tried on MAC or AWS ?

    Thanks.

  • User Avatar
    0
    [email protected] created

    Sorry . mistake

    Framework 5.4.1 .Net Code 2.0

    Mac OSX

    New Database

    Minimum install to test the UTC issue

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thank you for detailed information, please follow this issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1170">https://github.com/aspnetzero/aspnet-ze ... ssues/1170</a>. We will work on that in a short time and fix it.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We have just tried it on a Mac but we couldn't reproduce the problem. I'm attaching below what we have selected as the timezone.

    Could you share a similar screenshot ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    First, could you try to update your system ? It seems like there is a similar issue here <a class="postlink" href="https://github.com/mj1856/TimeZoneConverter/issues/4">https://github.com/mj1856/TimeZoneConverter/issues/4</a>. Specified timezone might not exist in your system.

    If it doesn't work for you, could you try changing GetWindowsTimezones method in TimeZoneService class like below;

    public List<NameValueDto> GetWindowsTimezones()
    {
    	return TZConvert.KnownWindowsTimeZoneIds.OrderBy(tz => tz)
    		.Select(tz => new NameValueDto
    		{
    			Value = tz,
    			Name = tz
    		}).ToList();
    }
    
  • User Avatar
    0
    [email protected] created

    I noticed you have closed the ticket due to not being able to reproduce

    I have uploaded the project and screen shots - Clean download - Clean DB. Running OSX

    [LINK DELETED]

    hopefully you can find the cause

    thanks!

  • User Avatar
    0
    ismcagdas created
    Support Team

    @[email protected],

    Could you delete the uploaded files ? The AspNet Zero forum is open to public so anyone can see it. You someone can download your project and it is against our licensing rules.

    About the problem; We have reproduced this problem but in a different way.

    1. We runned the project in MAC.
    2. Selected a timezone in MAC.
    3. Then, we runned the project using same DB on windows and it failed.

    We fixed this problem on <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1177">https://github.com/aspnetzero/aspnet-ze ... ssues/1177</a>, could you also try this ? If this doesn't work for you as well, please send an email to <a href="mailto:[email protected]">[email protected]</a> and we will arrange a remote support meeting with you. Don't forget to delete Timezone related setting data in AbpSettings table after applying the fix on <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1177">https://github.com/aspnetzero/aspnet-ze ... ssues/1177</a>.

  • User Avatar
    0
    [email protected] created

    Thank you!

    The new code has resolved the issue and now the getScripts.js is downloading

    thanks again

    Julian

  • User Avatar
    0
    ismcagdas created
    Support Team

    @[email protected] Great :). Sorry for wasting your time.