Running the following code in ASP.NET I get a "Access is denied." error on
the "connection = " line (3'rd Line)
Dim Instance, Instances, myQuery, Locator, Connection
Locator = CreateObject("WbemScripting.SWbemLocator")
Connection = Locator.connectserver("myComputerName", "root\cimv2",
"myID", "myPassword")
myQuery = "select * from Win32_ComputerSystem"
Instances = Connection.ExecQuery(myQuery)
For Each Instance In Instances
Response.Write(Instance.Model)
Next
Any suggestions on what permissions I need to change to make this work?
Bishop - 30 Jun 2005 18:52 GMT
Oops, wrong group. Sorry
> Running the following code in ASP.NET I get a "Access is denied." error on
> the "connection = " line (3'rd Line)
[quoted text clipped - 10 lines]
>
> Any suggestions on what permissions I need to change to make this work?