No Mono apps works

Questions about Wine on Linux
Locked
Zenego
Newbie
Newbie
Posts: 4
Joined: Sun May 07, 2017 3:28 pm

No Mono apps works

Post by Zenego »

Hello, I am trying to run Windows apps that require Mono on Wine, none of them work and the error is the same.

wine-1.6.2
Lubuntu 14.04

Code: Select all

fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 19/02/2017, dlt (d/m/y): 15/10/2017

Unhandled Exception:
System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [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.TextBox..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox/ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x00000] in <filename unknown>:0 
  at MappedComboBox.MappedComboBox..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () [0x00000] in <filename unknown>:0 
  at YAPE.MainForm..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] in <filename unknown>:0 
  at System.TimeZone.get_CurrentTimeZone () [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.TextBox..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox/ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x00000] in <filename unknown>:0 
  at MappedComboBox.MappedComboBox..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () [0x00000] in <filename unknown>:0 
  at YAPE.MainForm..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () [0x00000] in <filename unknown>:0 
The apps don't work on Windows XP, therefore I can't run them in the virtual machine.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: No Mono apps works

Post by dimesio »

Zenego wrote: wine-1.6.2
Lubuntu 14.04
Start by upgrading Wine; 1.6.2 is over three years old and no longer supported. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu

You will also need to upgrade wine-mono. WineHQ doesn't package that, but Wine should prompt you download it the first time after upgrading.

If upgrading Wine and wine-mono doesn't help, try installing whatever version of .NET your app requires (use winetricks).
Zenego
Newbie
Newbie
Posts: 4
Joined: Sun May 07, 2017 3:28 pm

Re: No Mono apps works

Post by Zenego »

I have installed winehq-stable (wine-2.0.1) and it downloaded Mono, but it still doesn't work. :(

Code: Select all

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) <0x1d86828 + 0x001c8> in <filename unknown>:0 
  at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) <0x1d866c0 + 0x0006f> in <filename unknown>:0 
  at System.TimeZoneInfo.CreateLocal () <0x1d850d0 + 0x0007f> in <filename unknown>:0 
  at System.TimeZoneInfo.get_Local () <0x1d85048 + 0x0001b> in <filename unknown>:0 
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x1d84fd0 + 0x0000f> in <filename unknown>:0 
  at System.DateTime.get_Now () <0x1d849e0 + 0x00067> in <filename unknown>:0 
  at System.Windows.Forms.TextBoxBase..ctor () <0x1d814a8 + 0x00357> in <filename unknown>:0 
  at System.Windows.Forms.TextBox..ctor () <0x1d80968 + 0x0002b> in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) <0x1d80768 + 0x00017> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox+ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) <0x1d80150 + 0x001c3> in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () <0x1d7f440 + 0x000bb> in <filename unknown>:0 
  at MappedComboBox.MappedComboBox..ctor () <0x1d7f370 + 0x00013> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () <0x1d41720 + 0x0075f> in <filename unknown>:0 
  at YAPE.MainForm..ctor () <0x1d1b400 + 0x0005f> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () <0x1d10fa8 + 0x00033> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) <0x1d86828 + 0x001c8> in <filename unknown>:0 
  at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) <0x1d866c0 + 0x0006f> in <filename unknown>:0 
  at System.TimeZoneInfo.CreateLocal () <0x1d850d0 + 0x0007f> in <filename unknown>:0 
  at System.TimeZoneInfo.get_Local () <0x1d85048 + 0x0001b> in <filename unknown>:0 
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x1d84fd0 + 0x0000f> in <filename unknown>:0 
  at System.DateTime.get_Now () <0x1d849e0 + 0x00067> in <filename unknown>:0 
  at System.Windows.Forms.TextBoxBase..ctor () <0x1d814a8 + 0x00357> in <filename unknown>:0 
  at System.Windows.Forms.TextBox..ctor () <0x1d80968 + 0x0002b> in <filename unknown>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) <0x1d80768 + 0x00017> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox+ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (ComboBoxStyle value) <0x1d80150 + 0x001c3> in <filename unknown>:0 
  at System.Windows.Forms.ComboBox..ctor () <0x1d7f440 + 0x000bb> in <filename unknown>:0 
  at MappedComboBox.MappedComboBox..ctor () <0x1d7f370 + 0x00013> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () <0x1d41720 + 0x0075f> in <filename unknown>:0 
  at YAPE.MainForm..ctor () <0x1d1b400 + 0x0005f> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () <0x1d10fa8 + 0x00033> in <filename unknown>:0
Then I tried winehq-devel (wine-2.7), but it doesn't work either.

Code: Select all

Unhandled Exception:
System.ArgumentException: The DateStart property must come before the DateEnd property.
Parameter name: dateStart
  at System.TimeZoneInfo+AdjustmentRule.ValidateAdjustmentRule (System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo+TransitionTime daylightTransitionStart, System.TimeZoneInfo+TransitionTime daylightTransitionEnd) [0x0006f] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo+AdjustmentRule.CreateAdjustmentRule (System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo+TransitionTime daylightTransitionStart, System.TimeZoneInfo+TransitionTime daylightTransitionEnd) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.ParseRegTzi (System.Collections.Generic.List`1[T] adjustmentRules, System.Int32 start_year, System.Int32 end_year, System.Byte[] buffer) [0x0015a] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) [0x000de] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x0003f] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.CreateLocal () [0x00018] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.get_Local () [0x00009] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.DateTime.get_Now () [0x00008] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Windows.Forms.TextBoxBase..ctor () [0x000e8] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.TextBox..ctor () [0x00012] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox+ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (System.Windows.Forms.ComboBoxStyle value) [0x00118] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x0004e] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at MappedComboBox.MappedComboBox..ctor () [0x00000] in <914659b0325a47a3b1e764cc480b1277>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () [0x00102] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0 
  at YAPE.MainForm..ctor () [0x0001f] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () [0x0000b] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The DateStart property must come before the DateEnd property.
Parameter name: dateStart
  at System.TimeZoneInfo+AdjustmentRule.ValidateAdjustmentRule (System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo+TransitionTime daylightTransitionStart, System.TimeZoneInfo+TransitionTime daylightTransitionEnd) [0x0006f] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo+AdjustmentRule.CreateAdjustmentRule (System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo+TransitionTime daylightTransitionStart, System.TimeZoneInfo+TransitionTime daylightTransitionEnd) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.ParseRegTzi (System.Collections.Generic.List`1[T] adjustmentRules, System.Int32 start_year, System.Int32 end_year, System.Byte[] buffer) [0x0015a] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) [0x000de] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x0003f] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.CreateLocal () [0x00018] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.get_Local () [0x00009] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.DateTime.get_Now () [0x00008] in <1c90db0b17cb4b1e827d577d0607b212>:0 
  at System.Windows.Forms.TextBoxBase..ctor () [0x000e8] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.TextBox..ctor () [0x00012] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.ComboBox+ComboTextBox..ctor (System.Windows.Forms.ComboBox owner) [0x00000] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ComboBox+ComboTextBox:.ctor (System.Windows.Forms.ComboBox)
  at System.Windows.Forms.ComboBox.set_DropDownStyle (System.Windows.Forms.ComboBoxStyle value) [0x00118] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at System.Windows.Forms.ComboBox..ctor () [0x0004e] in <dfcf5e19b3744f6abc3507fe9dffa1dd>:0 
  at MappedComboBox.MappedComboBox..ctor () [0x00000] in <914659b0325a47a3b1e764cc480b1277>:0 
  at (wrapper remoting-invoke-with-check) MappedComboBox.MappedComboBox:.ctor ()
  at YAPE.MainForm.InitializeComponent () [0x00102] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0 
  at YAPE.MainForm..ctor () [0x0001f] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0 
  at (wrapper remoting-invoke-with-check) YAPE.MainForm:.ctor ()
  at YAPE.Program.Main () [0x0000b] in <e02cd17c29394b1bb8e9f3c56b10b69a>:0
And I tried to install the original .net, but the window disappears when the installation starts.

Code: Select all

fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:clusapi:OpenCluster ((null)) stub!
fixme:clusapi:ClusterOpenEnum (0xdeadbeef, 4) stub!
fixme:clusapi:ClusterEnum (0xdeadbeef, 0, 0x32f7a0, 0x136c68, 261) stub!
fixme:clusapi:ClusterCloseEnum (0xdeadbeef) stub!
fixme:clusapi:CloseCluster (0xdeadbeef) stub!
fixme:advapi:DecryptFileW (L"G:\\2b80ccefe8b6effd1602cd62\\", 00000000): stub
fixme:ntdll:EtwRegisterTraceGuidsW (0x34c808, 0x3720f0, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33fc98, (null), (null), 0x3720f8): stub
fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79}
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:thread:SetThreadStackGuarantee (0x33fb48): stub
fixme:advapi:LsaOpenPolicy ((null),0x33f1f8,0x00000001,0x33f1e4) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:netapi32:NetGetJoinInformation Semi-stub (null) 0x33f284 0x33f280
fixme:msxml:domdoc_putref_schemas (0x183398)->(0x33f160 {VT_DISPATCH: 0x1ff8fc}): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x183398)->(0x33f13c)
err:richedit:ReadColorTbl malformed entry
err:richedit:ReadColorTbl malformed entry
err:richedit:ReadColorTbl malformed entry
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:propsheet:PROPSHEET_SetHeaderTitleW (0x30052, 0, L".NET Framework 4.6 Setup"): stub
fixme:propsheet:PROPSHEET_SetHeaderSubTitleW (0x30052, 0, L"Please accept the license terms to continue."): stub
fixme:propsheet:PROPSHEET_SetHeaderTitleW (0x30052, 2, L".NET Framework 4.6 Setup"): stub
fixme:propsheet:PROPSHEET_SetHeaderSubTitleW (0x30052, 2, L"Please wait while the .NET Framework is being installed."): stub
fixme:wevtapi:EvtOpenChannelConfig ((nil) L"Microsoft-Windows-CAPI2/Operational" 0) stub
fixme:wevtapi:EvtGetChannelConfigProperty ((nil) 0 0 16 0x2ecc25c 0x2ecc278) stub
fixme:wevtapi:EvtSetChannelConfigProperty ((nil) 0 0 0x2ecc254) stub
fixme:wevtapi:EvtSubscribe ((nil) 0xc4 L"Microsoft-Windows-CAPI2/Operational" (null) (nil) (nil) (nil) 1) stub
fixme:advapi:LsaOpenPolicy ((null),0x2fcdef8,0x00000001,0x2fcdee4) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:wer:WerReportCreate build report information from scratch for 0xdcb6d8
fixme:wer:WerReportAddDump (0xdcb6d8, 0x74, (nil), 2, 0x2fcd830, (nil), 0) :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 0, (null), L"Microsoft .NET Framework 4.6 Setup") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 1, (null), L"4.6.00081") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 2, (null), L"14.0.81.0") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 3, (null), L"1") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 4, (null), L" ") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 5, (null), L"None_UI_Interactive_Crash") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 6, (null), L"0xc000008c") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 7, (null), L"0") :stub
fixme:wer:WerReportSetParameter (0xdcb6d8, 8, (null), L" ") :stub
fixme:wer:WerReportAddFile (0xdcb6d8, L"C:\\users\\ego\\Temp\\Setup_20170508_224122899.html", 5, 0x0) :stub
fixme:wer:WerReportAddFile (0xdcb6d8, L"C:\\users\\ego\\Temp\\Microsoft .NET Framework 4.6 Setup_20170508_224125456.html", 5, 0x0) :stub
fixme:wer:WerReportSetUIOption (0xdcb6d8, 3, L".NET Framework 4.6 Setup has failed") :stub
fixme:wer:WerReportSetUIOption (0xdcb6d8, 8, L".NET Framework 4.6 Setup has failed") :stub
fixme:wer:WerReportSubmit (0xdcb6d8, 1, 0x10, 0x2fcd83c) :stub
Locked