AnsweredAssumed Answered

MakeTableView in python script fails after Update to 10.3.1 on 64 bit OS

Question asked by jfraver1 on Dec 23, 2015
Latest reply on Sep 6, 2017 by ScottEvans_CCG

Hi,

 

Since upgrading ArcGIS Desktop from 10.2.2 to 10.3.1, we receive a new error in our python scripts that use MakeTableView -      arcpy.MakeTableView_management(sourcewrkspc + sourcedata, "in_memory\\" + layer, whereclause).

 

The script error is as follows:

ERROR 000358: Invalid expression

Failed to execute (MakeTableView).

 

Further tests revealed that the arcpy.MakeTableView does not work on tables with no OBJECTID. Registering the table with the database generates an OBJECTID and gets rid of the error, but this is not an option for some of our tables.

 

Has anyone experienced this problem with 10.3.1 and know why this error happens? Is there a fix besides creating a workaround to add an OBJECTID?

 

Thank you!

Outcomes