Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
                            
                         
                        
                     
                 
                
                    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