Magaly.Clement

MakeQueryLayer - ERROR 000368: Invalid input data

Discussion created by Magaly.Clement on Feb 28, 2018
Latest reply on Mar 8, 2018 by Magaly.Clement

Hi !

 

I made a script in Python 3.6.2.

It works fine on my computer but when i want to execute since my server i have the error (my parameters are exactely the same):

 

"C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6582, in MakeQueryLayer
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6579, in MakeQueryLayer
retval = convertArcObjectToPythonObject(gp.MakeQueryLayer_management(*gp_fixargs((input_database, out_layer_name, query, oid_fields, shape_type, s
rid, spatial_reference), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 506, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000368: Invalid input data.
Failed to execute (MakeQueryLayer).



Where can I look ? Configuration ? 

 

Thanks for help

Outcomes