https://bugs.winehq.org/show_bug.cgi?id=37760
Bug ID: 37760 Summary: Several .Net applications fail under wine-mono with System.TimeZoneNotFoundException Product: Wine Version: 1.7.33 Hardware: x86 URL: http://dlm.cypress.com.edgesuite.net/akdlm/downloadman ager/software/PSoCDesignerSetup.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
I noticed this in http://dlm.cypress.com.edgesuite.net/akdlm/downloadmanager/software/PSoCDesi... while looking at bug 31369, but it's also been reported in bug 28177 (and I recall seeing it in some other applications, but I don't have a note of which ones they were).
Native .Net via winetricks works around it. (dotnet20sp2 in the case of PSoC Designer)
Unhandled Exception: System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown. at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at System.Windows.Forms.TextBoxBase..ctor () [0x00000] in <filename unknown>:0 at System.Windows.Forms.RichTextBox..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.RichTextBox:.ctor () at Cypress.CyInstaller.Gui.CyInstallerWizard.InitializeComponent () [0x00000] in <filename unknown>:0 at Cypress.CyInstaller.Gui.CyInstallerWizard..ctor (Cypress.CyInstaller.Core.CyInstallerCore core) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Cypress.CyInstaller.Gui.CyInstallerWizard:.ctor (Cypress.CyInstaller.Core.CyInstallerCore) at psocdesignerinstaller.Program.Main (System.String[] commandLine) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown. at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at System.Windows.Forms.TextBoxBase..ctor () [0x00000] in <filename unknown>:0 at System.Windows.Forms.RichTextBox..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.RichTextBox:.ctor () at Cypress.CyInstaller.Gui.CyInstallerWizard.InitializeComponent () [0x00000] in <filename unknown>:0 at Cypress.CyInstaller.Gui.CyInstallerWizard..ctor (Cypress.CyInstaller.Core.CyInstallerCore core) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Cypress.CyInstaller.Gui.CyInstallerWizard:.ctor (Cypress.CyInstaller.Core.CyInstallerCore) at psocdesignerinstaller.Program.Main (System.String[] commandLine) [0x00000] in <filename unknown>:0