Select to view content in your preferred language

Inconsistent permissions Issue when accessing python toolbox within add-in.

84
1
a week ago
gdesantis5
Occasional Contributor

Hello,

I have a Addin that contains two python toolboxes in it. One user is getting the following error when accessing one of the toolboxes.

blur out both first .png

 Any help as to what the issue is.

Thanks.

0 Kudos
1 Reply
Wolf
by Esri Regular Contributor
Esri Regular Contributor

I doubt that this is a problem with access to the 'Assembly cache' folder - Actually when you register your esriAddinX file it will get unzipped in that folder using your user credentials and consequently it might not be the script folder itself, but instead it might be a reference to another file from within the script. 
There are some Microsoft tools that you can use to check which file (or folder) is the cause of this 'access denied' error:  
Search for Microsoft's SysinternalsSuite which is a collection of useful Windows tools.  One of the tools is called ProcMon64.exe (for 'Process Monitor) and this tool allows you to capture any file i/o events and the cause of potential errors:

Wolf_0-1752198901937.png

You can use this tool (running on the machine where the problem occurs) to see which file (access) is causing the issue.



0 Kudos