Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1751

Python Script Set Dataset permission Error

$
0
0
I try to run Python scrip(10.1) to set network dataset permission but get error.does anyone know why?

here is the Python code:arcpy.ChangePrivileges_management(targetDBConn +"Transportation",
"GISVEC1_APP_RL", "GRANT", "GRANT")

Here is the error message:ERROR 999999: Error executing function.
Underlying DBMS error [Microsoft SQL Server Native Client 10.0: Incorrect syntax near '-'.]
Failed to execute (ChangePrivileges).

Thanks.

Viewing all articles
Browse latest Browse all 1751

Trending Articles