WMI: Access Denied error when connecting remote machine
From: Matti Puroj?rvi via .NET 247 (anonymous_at_dotnet247.com)
Date: 05/15/05
- Next message: Per Dahl via .NET 247: "Having problems with CredentialCache.DefaultCredentials"
- Previous message: Valli AR via .NET 247: "FormsAuthentication.SignOut problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 15 May 2005 05:06:39 -0700
Hi
WMI Problem:
I want to use (ASP.NET C#) and WMI.
While connecting a remote computer (Win 2000) which is joined to AD, the following error will occur.
Exception Details: System.UnauthorizedAccessException: Access is denied.
-User as Administrator
-Password as administrator's password of the remote machine
-No firewall.
The main part of a code:
System.Management.ManagementScope oMs = new System.Management.ManagementScope(("\\\\193.167.116.137\\root\\cimv2"), oConn);
I can connect to that pc using explorer.
What should i do?
w rgds
--------------------------------
From: Matti Puroj?rvi
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>CQ8C4Huy8UC2UP+UCLshoA==</Id>
- Next message: Per Dahl via .NET 247: "Having problems with CredentialCache.DefaultCredentials"
- Previous message: Valli AR via .NET 247: "FormsAuthentication.SignOut problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|