[Bug 31033] New: Multiple apps need IWbemServices::GetObject to retrieve WMI class instances
http://bugs.winehq.org/show_bug.cgi?id=31033 Bug #: 31033 Summary: Multiple apps need IWbemServices::GetObject to retrieve WMI class instances Product: Wine Version: 1.5.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs(a)winehq.org ReportedBy: focht(a)gmx.net Classification: Unclassified Hello, continuation of bug 20651 Multiple apps still fail to query for WMI classes/properties because IWbemServices::GetObject method is not implemented (they use a different method). One app is bug 28682 (Ragnarok downloader) Example .NET code: --- snip --- ManagementClass class2 = new ManagementClass("Win32_Processor"); foreach (ManagementObject obj2 in class2.GetInstances()) { if (str == string.Empty) { str = obj2.Properties["ProcessorId"].Value.ToString(); } } --- snip --- MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/aa392109%28v=vs.85%2... Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.ragnarokeurope.c | |om/includes/files/ROManager | |.exe Blocks| |28682 Depends on| |31032 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 --- Comment #1 from Anastasius Focht <focht(a)gmx.net> 2012-06-27 04:53:50 CDT --- Hello, "SQL Server System Configuration Checker" from "Microsoft SQL Server 2005 Express Edition" also suffers from this (after bug 31037 is fixed). App WMI log: --- snip --- Openning namespace \\root\default GetNamespace \\root\default returned 0 (0x0) Getting method EnumValues in StdRegProv class GetMethod returned 2147749889 (0x80041001) --- snip --- Trace log: --- snip --- 0027:trace:wbemprox:wbem_services_OpenNamespace 0x191b48, L"default", 0x00000000, (nil), 0x8cb2fc, (nil) 0027:trace:wbemprox:WbemServices_create ((nil),0x8cb2fc) 0027:trace:wbemprox:WbemServices_create returning iface 0x192a70 0027:trace:wbemprox:wbem_services_QueryInterface 0x192a70 {00000000-0000-0000-c000-000000000046} 0x8cb234 0027:trace:wbemprox:wbem_services_QueryInterface 0x192a70 {0000013d-0000-0000-c000-000000000046} 0x8cb238 0027:fixme:wbemprox:client_security_SetBlanket 0x7d7bee30, 0x192a70, 10, 0, (null), 5, 3, (nil), 0x00000000 0027:fixme:wbemprox:client_security_Release 0x7d7bee30 ... 0027:Call oleaut32.SysAllocString(49838114 L"EnumValues") ret=4987ba64 ... 0027:fixme:wbemprox:wbem_services_GetObject ... 0027:trace:wbemprox:wbem_services_Release destroying 0x192a70 ... 0027:trace:ole:SysAllocStringLen L"The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine nexus4 Error:2147749889 (0x80041001). " --- snip --- Download: http://go.microsoft.com/fwlink/?linkid=65212 Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 Bug 31033 depends on bug 31032, which changed state. Bug 31032 Summary: Ragnarok download manager shows a .NET exception on start (GdipLoadImageFromStream stream clone fails) http://bugs.winehq.org/show_bug.cgi?id=31032 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2012-06-28 14:34:35 CDT --- http://source.winehq.org/git/wine.git/commitdiff/dc0e478d5cfa1cdf9b250411023... Still gives a .NET error dialog: ========= See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Management.ManagementException: Error code: 0x80041002 at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.PropertyData.RefreshPropertyInfo() at System.Management.PropertyDataCollection.get_Item(String propertyName) at FilesDownloader.MainForm.GetCPUId() at FilesDownloader.MainForm.MainForm_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- FilesDownloader Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///Z:/home/austin/ROManager.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. ========= you can bypass that, then the application will download its files as expected. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |dc0e478d5cfa1cdf9b250411023 | |8c10012ab2d19 Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2012-06-28 14:36:35 CDT --- (In reply to comment #2)
http://source.winehq.org/git/wine.git/commitdiff/dc0e478d5cfa1cdf9b250411023...
Still gives a .NET error dialog:
Ah, that's bug 28682, nevermind :). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> 2012-06-28 14:50:35 CDT --- (In reply to comment #3)
(In reply to comment #2)
http://source.winehq.org/git/wine.git/commitdiff/dc0e478d5cfa1cdf9b250411023...
Still gives a .NET error dialog:
Ah, that's bug 28682, nevermind :).
It now needs an implementation of Win32_Processor.ProcessorId, which should be the last one for this app. I have a patch in my tree. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=31033 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2012-07-03 14:15:21 CDT --- Closing bugs fixed in 1.5.8. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=31033 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ragnarokeurope.c |https://web.archive.org/web |om/includes/files/ROManager |/20130318195510/http://down |.exe |load.microsoft.com/download | |/6/C/7/6C7458CA-8B07-411E-9 | |E3B-0DED20512696/SQLEXPR32. | |EXE -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla