Make XY Event Layer Works in Model but not in exported Python at 10.0

519
1
12-02-2013 07:34 AM
JimHall1
New Contributor II
Hi,

I have a data management model that converts an SDE based table into an XY Event Layer file and then converts that into a feature class for further processing. It works fine as a model, but when I export it to python the Make XY Event Layer bombs with a 732 error.

ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: XY Table: Dataset 'E:\testing\qvsql02.sde\ARC_SDE10.SDE.GPCoordDataLoad' does not exist or is not supported
Failed to execute (MakeXYEventLayer)

I have tested that the connection to the database does work and that the file is accessible. The parameters have not changed since it worked in the model.

Suggestions?

Thanks Much.

Jim
Tags (2)
0 Kudos
1 Reply
JimHall1
New Contributor II
Also,  here is an image of the model that goes with the script included above.

Thanks,

Jim
0 Kudos