https://bugs.winehq.org/show_bug.cgi?id=40248
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9c1ffb545f350743e71cdfcc0da | |e5e98324d10ee Summary|Some .NET applications |Multiple .NET applications |throw unhandled exception: |crash with unimplemented |System.NotImplementedExcept |'System.Security.Principal. |ion: |WindowsIdentity.get_Groups' |'System.Management.Manageme |using Wine-Mono |ntObjectSearcher.Get' when | |using Wine-Mono |
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
adding/correcting information for completeness.
The subject line "Some .NET applications throw unhandled exception: System.NotImplementedException: 'System.Management.ManagementObjectSearcher.Get' when using Wine-Mono" was certainly wrong/misleading and not related to the problem at all.
Even with ancient Wine/Wine-Mono versions, the output was already hinting at the problem.
Wine 1.7.8, Wine-Mono 4.5.2:
--- snip --- userName: romi-n550\focht at System.Security.Principal.WindowsIdentity.get_Groups () [0x00000] in <filename unknown>:0 at ConsoleApplication1.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 The requested feature is not implemented. --- snip ---
Anyway, it was fixed with the upgrade to Wine-Mono 8.1.0, commit https://source.winehq.org/git/wine.git/commit/9c1ffb545f350743e71cdfcc0dae5e... ("mscoree: Update Wine Mono to 8.1.0."). Part of Wine 8.19 release.
Thanks Esme.
Wine 8.19, Wine-Mono 8.1.0
--- snip --- userName: ROMI-N550\focht id.Groups: S-1-1-0 id.Groups: S-1-2-0 id.Groups: S-1-5-4 id.Groups: S-1-5-11 id.Groups: S-1-5-21-0-0-0-513 id.Groups: S-1-5-32-544 id.Groups: S-1-5-32-545 Everyone LOCAL NT AUTHORITY\INTERACTIVE NT AUTHORITY\Authenticated Users ROMI-N550\None BUILTIN\Administrators BUILTIN\Users account: ROMI-N550\focht sid: S-1-5-21-0-0-0-1000 0160:fixme:security:GetWindowsAccountDomainSid (00007FFFFEC5DB18 00007FFFFEC5DB58 00007FFFFE1FF4A8): semi-stub 0160:fixme:security:GetWindowsAccountDomainSid (00007FFFFEC5DCD8 00007FFFFEC5DD10 00007FFFFE1FF478): semi-stub isDomainAdmin: False --- snip ---
One Wine-Mono release before:
Wine 8.9, Wine-Mono 8.0.0
--- snip --- userName: ROMI-N550\focht at System.Security.Principal.WindowsIdentity.get_Groups () [0x00000] in <3d7a9349295c42b6abb3487b4473a6b8>:0 at ConsoleApplication1.Program.Main (System.String[] args) [0x00021] in <e6ce58cf1a9346c394d18192c399427f>:0 The method or operation is not implemented. --- snip ---
Wine -> Wine-Mono mappings:
https://wiki.winehq.org/Mono#Versions https://gist.github.com/rmi1974/a65b875934f87509b536a776347d007a (automated extraction, with hashes)
For reference, related issues:
* bug 32266 ("Songr Portable 2.0.1977 (.NET app) fails to start with Wine-Mono (needs WindowsIdentity.get_User)") * bug 50789 ("Multiple .NET applications crash with unimplemented 'System.Security.Principal.WindowsIdentity.get_Owner' using Wine-Mono (Affinity Photo 1.9.1, Pivot Animator 4.2)")
Regards