1 Reply Latest reply on Oct 24, 2013 12:56 AM by jking

    When I execute the query in python script,giving  error as mcafee.CommandInvokerError: Unable to find target table 'EPOPolicyTypes' using databaseType ''

    dipaliepo

      I am using the Mssql database. When I execute this query there,it works fine. The table is also present.

       

      The code is as follows:

       

      import mcafee

       

      mc = mcafee.client('epo-windows','8443','admin','Infyepo@123')                                                          

       

      typeId="1"  

       

       

      mc.core.executeQuery(target="EPOPolicyTypes",select="(select *)",where="(where(eq EPOPolicyTypes.TypeId \""+typeId+"\"))")

       

      [{u'EPOPolicyTypes': u'1'}]

       

       

       

      Error:

      mcafee.CommandInvokerError: Unable to find target table 'EPOPolicyTypes' using databaseType ''

       

       

      please suggest the solution.