AnsweredAssumed Answered

Arcpy Database Connection from Server Failing

Question asked by sarahclark on Mar 3, 2016
Latest reply on Mar 3, 2016 by vangelo-esristaff

Hello -

 

I have some Python scripts on our GIS server. Suddenly, actually just this morning, the SDE connections have stopped working. The scripts use .sde files located in a folder on a shared drive to set the python workspace to a database on our database server:

 

arcpy.env.workspace = os.path.join(sdeFolder,'test.sde')
testFiles = arcpy.ListFeatureClasses()
print testFiles

 

The arrays are empty rather than showing all feature classes. Any idea how to fix/debug?

 

Thanks!

Sarah

Outcomes