Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 15-Nov-10 21:19pm
v2

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900