Problems when using WMI fra a web-service!

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Steen Tøttrup (sftsynkron_at_online.nospam)
Date: 11/05/04


Date: Fri, 5 Nov 2004 13:39:59 +0100


My problem has to do with WMI and .NET, and I'm hoping you can help me out!

I've been building a DNSAPI using WMI from C#, and everything has been
working fine, when using the API from a Windows service or application.

Now I trying to use the API from a web service, with no luck at all. When
trying to create a zone, I keep getting "Generic Error". I'm using the same
API, and the same arguments.

My first idea was that it had to do with access rights, so I change the
access to the web service from anonymous to Windows auth., but with no luck,
not even when the login I'm using is part of the domain and local admin
groups.

What else should I try?
Normally when creating the connection to the DNS namespace, I do not set
username and password as connection options, because that fails (something
with "not needed on local machine"), would that make a difference?

regards,
Steen



Relevant Pages

  • Re: Problems when using WMI fra a web-service!
    ... > My problem has to do with WMI and .NET, and I'm hoping you can help me out! ... when using the API from a Windows service or application. ... > Now I trying to use the API from a web service, ... > username and password as connection options, ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Abfrage eines physikalisch angeschlossenen Druckers
    ... "API" Klar ... wsh = network resources abfragen und methoden probieren. ... "WMI" hinderlich, weil neues Win wartet. ... Oder wie betroffenen Windows Scripter das gerne formulieren. ...
    (microsoft.public.de.german.scripting.wsh)
  • Re: How to get disk size in VB6
    ... It's not Windows ... On NT systems WMI runs as a service. ... API instead. ... It has Windows Installer functions that are just an ...
    (microsoft.public.vb.general.discussion)
  • Re: How to get disk size in VB6
    ... It's not Windows ... On NT systems WMI runs as a service. ... API instead. ... It has Windows Installer functions that are just an ...
    (microsoft.public.vb.general.discussion)
  • RE: Web Services Processor Utilization
    ... The problem is taht you still don't know if the spike is caused by the ... service logic or by the logic you called through the API! ... >>> I have written a web service that returns an XmlDocument. ... >>> limit the amount of CPU used? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)