[Bug 40248] Some .NET applications throw unhandled exception: System.NotImplementedException: ' System.Management.ManagementObjectSearcher.Get' when using Wine-Mono

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 16:46:42 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=40248

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |download, source
            Summary|Exception when I try to     |Some .NET applications
                   |call Translate method       |throw unhandled exception:
                   |                            |System.NotImplementedExcept
                   |                            |ion:
                   |                            |'System.Management.Manageme
                   |                            |ntObjectSearcher.Get' when
                   |                            |using Wine-Mono
          Component|advapi32                    |mscoree
                 CC|                            |focht at gmx.net

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the app works fine here with .NET 4.0 Framework installed ('winetricks -q
dotnet40) and Wine 3.5

--- snip ---
$ wine ./ConsoleApplication1.exe 
...
0009:fixme:advapi:LsaOpenPolicy ((null),0x33f054,0x00000800,0x33f02c) stub
0009:fixme:advapi:LsaClose (0xcafe) stub
...
userName: 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-32-544
id.Groups: S-1-5-32-545
0009:fixme:advapi:LsaOpenPolicy ((null),0x33f084,0x00000800,0x33f05c) stub
0009:fixme:advapi:LsaClose (0xcafe) stub
Everyone
LOCAL
NT AUTHORITY\INTERACTIVE
NT AUTHORITY\Authenticated Users
BUILTIN\Administrators
BUILTIN\Users
account: n550\focht
0009:fixme:advapi:LsaOpenPolicy ((null),0x33f08c,0x00000800,0x33f064) stub
0009:fixme:advapi:LsaClose (0xcafe) stub
sid: S-1-5-21-0-0-0-1000
0009:fixme:advapi:GetWindowsAccountDomainSid (0xc9e824 0xc9e84c 0x33f1d0):
semi-stub
0009:fixme:advapi:GetWindowsAccountDomainSid (0xc9e940 0xc9e964 0x33f1c8):
semi-stub
isDomainAdmin: False
--- snip ---

Making this ticket about Wine-Mono insufficiency to be still useful.

https://github.com/mono/mono/blob/HEAD/mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs#L241

$ wine --version
wine-3.5

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list