Help in WMI in ASP.net application

From: John _at_ X (_at_)
Date: 02/17/05


Date: Thu, 17 Feb 2005 11:21:03 -0800

Hi there,
We have been having trouble with the WMI in ASP.Net 2.0 application. let me
explain what we try to accomplish and please advice if this is the feasible
and correct solution if not help us to do it the right way.

There are many Services (such as Tomcat/watchdog events NT service/JVMI
services) which run on a remote servers(windows 2003/2000 server) and we
would like to stop the service from a ASP.Net application (web application).
We have created a DLL which can invoke the WMI APIs to stop/start the
services. The parameters that we pass or the server name (the host name),
user name who has administrative previleges on thsoe servers and the password
for that user. We are using the SystemName\cvim2 as the namespace.
Everything is working well when we try to invoke the DLL in development
environment (we are able to stop/start any servers remotely in Win XP
machine. But when we move to the production server the issue is that the
services are not able to be stopped or started. But we are able to query the
services. (we are able to find the services status thro the DLL).
We made a test application in VB form and tested in the production server as
well as from a remote machine it is giving the correct result. The only issue
which I am thinking of is IMPERSONATION of the user. When I log in from a
development server I am running as an administrator for the Web application
and it is able to commuicate to the remote server with the credentials I am
passing. But when I login to the PRODUCTION server after deploying the
ASP.net application I am using ASP.net user account which is not an
administrator. Is this the cause for this mishap. Please advice and help me
to fix this problem. It is been three days I am struggling to get this out
but in vain I am unable to figure out where things are going. i even tried
uninstalling the whole stuff like ASP .net, .net framework, web server but
none helps.
Any help would be greatly appreciated.
Thanks
John



Relevant Pages

  • SecurityFocus Microsoft Newsletter #152
    ... MICROSOFT VULNERABILITY SUMMARY ... Real Networks Helix Universal Server Remote Buffer Overflow ... ... NEW PRODUCTS FOR MICROSOFT PLATFORMS ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #140
    ... Cafelog b2 Remote File Include Vulnerability ... Webfroot Shoutbox Remote Command Execution Vulnerability ... Pablo Software Solutions Baby POP3 Server Multiple Connection... ... Microsoft Windows XP Nested Directory Denial of Service... ...
    (Focus-Microsoft)
  • RE: SBS 2003 sudden services problem over router based vpn
    ... I understand that your remote cannot receive POP3 emails through VPN ... SBS Server through routers. ...
    (microsoft.public.windows.server.sbs)
  • RE: Download connection Manager through RWW
    ... the issue may occur due to the Remote VD is ... Then please rerun the CEICW wizard and Configure Remote access wizard ... Start Internet Explorer. ... Since the Symantec anti-virus application installed on the server, ...
    (microsoft.public.windows.server.sbs)
  • Re: Connecting a remote workstation to a domain
    ... Terminal Server to go with the SBS server. ... I can remotely join XP Pro computers at the remote ... either way it loads her cached roaming profile ... I need the local printers at the remote office to be set up ...
    (microsoft.public.windows.server.sbs)