Select to view content in your preferred language

Delete Features and Append Does Not Work on Remote Computer - No Error Trapped

607
2
Jump to solution
10-11-2012 07:44 AM
MichaelVolz
Esteemed Contributor
To All Python Scripters:

I am trying to modify a python script to Delete Features from a file gdb on a remote computer and append new features from an SDE database on the network to this feature class on the remote computer.  This script currently works for updating data on a file gdb on an ArcGIS Server server on the network, but it is not working for the remote computer.

In addition, the error trapping I have enabled is not showing that there are any problems and the script appears to be running to completion as per print statements I have added to the code.

Has anyone ever encountered a problem such as this?

By any chance does the remote computer location need to be shared?  I am currently trying to access the remote computer by its UNC name of //"workstation #/c:/GIS_Testing/file_geo.gdb.

Any help or hints are greatly appreciated.  Thank you.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MathewCoyle
Honored Contributor
You'll need to have access to the directory on the remote computer. If you can't navigate to it in windows explorer you probably won't have access.

View solution in original post

0 Kudos
2 Replies
MathewCoyle
Honored Contributor
You'll need to have access to the directory on the remote computer. If you can't navigate to it in windows explorer you probably won't have access.
0 Kudos
MichaelVolz
Esteemed Contributor
Thanks Mathew.  It was an access issue.  I was running the python script as myself and it worked, but the scheduled task was being run as a domain account where the password will never change.  I created a share on the remote computer in a specific folder where the data was stored and gave this domain account access to this share.  Now the scheduled task works as expected.

I'm kind of perplexed, though, why no error message was thrown up to indicate explicitly that there was no access to this location.
0 Kudos