Click to See Complete Forum and Search --> : WMI Script to connect to a remote user


vaish
January 22nd, 2004, 05:05 AM
i am trying to access a remote machine using WMI script and retrieve the services from the remote machine. But i am not able to establish a connection with the remote machine.I get the following error.



Exception Details: System.UnauthorizedAccessException: Access is denied.



The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited privileges. Consider granting access rights to the resource to the ASP.NET process identity.



To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column.



Please Help me it is very important.

Thanks for ur help



vaish