Dear All,
I am getting "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" this error. This is simple console application program and example of ManagementScope class.
I tried to solve this error by using this 1) disable firewall 2)restart services of RPC. but it didn't work . So please find the attached source code and help me.
Thanks & Regards
Farukh
Loading
Vijay YadavPosted Dec 13, 2011, 6:06 AM
No still not able to do it.
Farukh MujawarPosted Dec 13, 2011, 5:06 AM
1) type services.msc in run and restart (Remote Procedure Call)RPC services, SQL services,WMI services hope it will work for you.
2)add the below tag in app.config file.
3) make sure that you are using the computer have full administrator authority if not then right clik My computer ->Manage->Groups->add your user name in Remote Desktop User and administrator group.
Try all the thing i mentioned above hope i will solve your problem.
Thanks & Regards
Farukh
Vijay YadavPosted Dec 12, 2011, 7:18 AM
I also have the same problem, have you resolved it?
Farukh MujawarPosted Nov 23, 2011, 4:02 AM
Manoj SevdaPosted Nov 22, 2011, 3:34 AM