AnsweredAssumed Answered

Describe workspace noodle scratcher

Question asked by HandsomePete on Jan 29, 2014
Latest reply on Jan 30, 2014 by HandsomePete
Here's a funny one.  I've got a python script that runs the arcpy.Describe method on an sde connection file.  When I run the script from the command line, it runs fine (script is attached).

However, when I run it from the command line as a different user (a local user)* it returns an error that says:

"AttributeError: DescribeData: Method connectionString does not exist"

Why would the different user matter?  I think it has an issue with the sde connection fine in question, because it can run it on other connection files w/ no problem.  But that still leaves the question of why it would run ok as one user and return an error as another.

*On the command prompt:
runas /noprofile /user:garfield python
In the python command line
>>>execfile('C:\\<folderwherepythonscriptlives>\\<nameofpythonscrip>.py')

Attachments

Outcomes