broken project data source

389
2
02-15-2018 09:41 AM
BrandonFlessner
Occasional Contributor

I'm trying to publish a GP service but I'm getting the error 00068 about a broken project data source. The thing is the script creates the project data source that Pro believes is missing. The script then does some stuff to populate the table using an insert cursor before copying the table to the location specified by the user:

### ...
route = arcpy.GetParameterAsText(0)
outTable = arcpy.GetParameterAsText(1)

arcpy.CreateTable_management('in_memory', 'outTable')

## do some stuff to populate the table

arcpy.CopyRows_management('in_memory/outTable', outTable)

Any ideas on how to get around this?

0 Kudos
2 Replies
DamasoAvalos_Ruiz1
New Contributor III

Hello

Did you get an answer to this problem?, Almost a year after you post this question I am having the same problem. 

0 Kudos
BrandonFlessner
Occasional Contributor

I believe the issue was that I was trying to publish from the latest version of Pro to an earlier version of Enterprise. I would check to see that both Pro and Enterprise are the same vintage first. Hope that helps!

0 Kudos