使用WMI时访问被拒绝错误0X8007005(查询远程计算机数据) [英] Access Denied Error 0X8007005 While using WMI(Querying Remote computer data)

查看:315
本文介绍了使用WMI时访问被拒绝错误0X8007005(查询远程计算机数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

当我尝试仅查询远程系统时,会出现此问题.我正在使用WMI Code Creator连接到SQl Server 2005/2008.它连接并给我数据,没有问题.但是,当我尝试使用源代码时,它无法连接.相反,它给我错误消息访问被拒绝",错误代码为0X80070005.
我正在使用XP System作为客户端和服务器.
谁能帮我解决这个问题.
非常感谢.

问候
Jesu

Hi All.

This problem occurs when I try to query remote system only. I am using WMI Code Creator to connect to SQl Server 2005/2008. It connects and gives me data, there is no problem. But when I try in my source code it does not connect. Rather It gives me the error message "Access is Denied" and the error code is 0X80070005.
I am using XP System as Client and server.
Can anyone help me to come out of this problem.
Thanks a lot.

Regards
Jesu

推荐答案

如果不知道脚本中的哪行代码引发了该错误,就不可能说出出了什么问题,但是无论在何种情况下都尝试了任何操作,脚本正在运行,没有执行该操作的权限.

如果没有看到引发错误的代码,就不可能说出出了什么问题.
Without knowing what line of code in the script threw that error it''s impossible to say what went wrong, but whatever operation was tried under whatever account the script was running didn''t have the permissions to perform that action.

Without seeing the code that threw the error, it''s impossible to say what went wrong.


这篇关于使用WMI时访问被拒绝错误0X8007005(查询远程计算机数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆