http://bugs.winehq.org/show_bug.cgi?id=32005
Bug #: 32005 Summary: Microsoft SQL Server Management Studio Express 2005: service status notifications missing (needs ExecNotificationQueryAsync) Product: Wine Version: 1.5.15 Platform: x86 URL: http://www.microsoft.com/download/en/details.aspx?id=8 961 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: djelinski1@gmail.com Classification: Unclassified
Created attachment 42188 --> http://bugs.winehq.org/attachment.cgi?id=42188 +wbemprox trace of attempt to restart service
Continuation from bug 31524: Now that methods for controlling service are implemented, it is possible to invoke stop/pause/restart on service. Under Windows, selecting Restart first stops service, then starts it. Under Wine it only stops the service. The application never receives any notification after service status changes. After invoking either stop or restart the service is stopped, but the options to stop and pause are still enabled and the options to start and resume are still disabled. This is most likely due to unimplemented IWbemServices::ExecNotificationQueryAsync, that can be seen early in the attached log. I improved the stub a little, so the parameter values are included.
Attached log was obtained by connecting to a MSDE database and selecting Restart. Winetricks dotnet20 win7 was required to install this application.
http://bugs.winehq.org/show_bug.cgi?id=32005
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download
http://bugs.winehq.org/show_bug.cgi?id=32005
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |31524
http://bugs.winehq.org/show_bug.cgi?id=32005
--- Comment #1 from Austin English austinenglish@gmail.com 2013-05-14 15:54:22 CDT --- http://source.winehq.org/git/wine.git/commitdiff/0083d4b092892404a09d6154fe0...
http://bugs.winehq.org/show_bug.cgi?id=32005
--- Comment #2 from Daniel Jelinski djelinski1@gmail.com 2013-05-15 05:21:33 CDT --- Thanks Austin. With that patch the application is still not notified of service status changes.
On the other hand, I'm not sure if that's actually required to restart the service. It's quite possible that the only reason why Restart doesn't work is that StopService doesn't update value of State field.
http://bugs.winehq.org/show_bug.cgi?id=32005
--- Comment #3 from Daniel Jelinski djelinski1@gmail.com 2013-05-16 15:29:34 CDT --- For the record: trace:wbemprox:wbem_services_ExecNotificationQueryAsync 0x45cecd8, L"WQL", L"select * from __InstanceModificationEvent within 10 where TargetInstance isa 'Win32_Service'", 0x00000000, (nil), 0x3666e8 err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting $end trace:wbemprox:parse_query wql_parse returned 1
http://bugs.winehq.org/show_bug.cgi?id=32005
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2013-05-17 01:56:02 CDT --- (In reply to comment #3)
For the record: trace:wbemprox:wbem_services_ExecNotificationQueryAsync 0x45cecd8, L"WQL", L"select * from __InstanceModificationEvent within 10 where TargetInstance isa 'Win32_Service'", 0x00000000, (nil), 0x3666e8 err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting $end trace:wbemprox:parse_query wql_parse returned 1
The 'within' and 'isa' keywords are not supported yet. Nor do we support event classes such as __InstanceModificationEvent.
http://bugs.winehq.org/show_bug.cgi?id=32005
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #5 from Daniel Jelinski djelinski1@gmail.com 2013-05-18 09:52:02 CDT --- Actually these notifications are not needed for controlling service. They are probably needed to detect when service is stopped by another application. Bug 33607 describes the real reason why restarting fails.