laptop and a wrench

不具合

Arcpy does not import when logged out and running as a scheduled task and the user is in the Power User Group.

最後に公開された状態: August 25, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM089224
送信されましたFebruary 21, 2013
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2008 R2
ステータスNon-Reproducible

参考情報

No Public Explanation

対処法

Use the older version 9.3 syntax:import arcgisscriptinggp = arcgisscripting.create(9.3)Change the permissions on the Network Server account with the following steps:The issue here is that the FLEXnet Licensing Service (which Esri now uses at 10.1, but was not used in 10.0) doesn’t have the proper execution permissions set to it such that the “Network Service” account can start it.Ensure that you are logged in as a user with administration privileges on the machine.From the windows Start menu, select run and enter ‘cmd’. Right-click on “cmd.exe” and select “Run as Administrator.”In the command prompt, run the following command: sc sdshow "FLEXnet Licensing Service"This will print out the DACL permissions that are registered with that service: D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;NU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWRPLOCRRC;;;IU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)We need to insert “(A;;CCLCSWRPWPDTLOCRRC;;;WD)” into the permission string, such that it becomes: D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;NU)(A;;CCLCSWRPWPDTLOCRRC;;;WD)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWRPLOCRRC;;;IU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD) NOTE: The user’s DACL string may vary, and edits to the string should be done carefully.To register the DACL with the service run the command: sc sdset "FLEXnet Licensing Service" ${your original DACL string with the new permission string inserted}For the example above you would enter: sc sdset "FLEXnet Licensing Service" D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;NU)(A;;CCLCSWRPWPDTLOCRRC;;;WD)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCLCSWRPLOCRRC;;;IU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)You should see a [SC] SetServiceObjectSecurity SUCCESS. That's it. Network Service should now run without error.

再現の手順

不具合 ID: NIM089224

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動