Re: Connection to SQL on WMI Executed Process
From: [MS] Scott McNairy (scotmc_at_online.microsoft.com)
Date: 03/24/04
- Previous message: [MS] Scott McNairy: "Re: AddPrinterDriver return error 87 HELP!!!"
- In reply to: Jason: "Connection to SQL on WMI Executed Process"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 15:51:23 -0800
This seems very related to the SQL Server configuration, perhaps a password
reset or something along those lines.
I would think that the SQL Authentication model would work here, I would
attempt to get that SQL model working from the target machine itself, then
try to do it with WMI.
The other security model won't work by default, that would be a delegation
hop, and you need to do several things to make that scenario work properly.
Like enabling the machine for delegation, being a member of an Active
Directory domain, and requesting the proper authority and delegation levels
on the IWbemService, apply the proper scope object to the request in .NET,
or SWbemService object.
-- [MS] Scott McNairy WMI Test Engineer This posting is provided "As Is" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Jason" <jtiger12ANTISPAM@yahoo.com> wrote in message news:064A53B6-9A32-4E90-A5FF-4E918D9BEFBE@microsoft.com... > I have unique situation that I cannot find a solution for. I am writing a custom Client/Server application that remotely triggers a small client executable on a machine using WMI. Once the executable installs the software it is looking for, it logs the install info to a sql DB. In the past, I have been remotely executing the process using sysinternal's psexec. The client executable has not changed since then. Since I have started triggering the client through a WMI win32_process, the client cannot open up a connection to my SQL server. I have tried using both SQL Auth and Windows Auth. it stops execution on this line - rs.activeconnection = conn.connectionstring. I have tried using all different levels of security_Privledges.
- Previous message: [MS] Scott McNairy: "Re: AddPrinterDriver return error 87 HELP!!!"
- In reply to: Jason: "Connection to SQL on WMI Executed Process"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|