Select to view content in your preferred language

Cannot access any REST services: "Access to the temp directory is denied."

710
1
05-19-2011 05:38 PM
JonathanCox
Emerging Contributor
Howdy,
I was recently forced to re-install ArcInfo and ArcServer after half the contents of my python26/arcgis10.0 folder were mysteriously overwritten. Since then, I have not been able to access any REST items. Manager thinks for a bit then gives me a blank screen, and rest/admin and rest/services both yield the same error message (appended below). I've tried uninstalling, deleting all the Arc user accounts, then re-installing. I've gone through and given IUSR and all re-established Arc user accounts access to every folder I can think of. Also I've added my user account, ISUR, and the Arc user accounts to the agsadmin group and just about all other user groups that seemed relevant. Still, it claims I don't have permission. Any idea what's going on?

many thanks,
jonathan cox


ERROR:
Server Error in '/ArcGIS/rest' Application.

Access to the temp directory is denied.
Identity 'IIS APPPOOL\ArcGISServicesAppPool' under which XmlSerializer is running does not have sufficient permission to access the temp directory. CodeDom will use the user account the process is using to do the compilation, so if the user doesnt have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.
0 Kudos
1 Reply
JonathanCox
Emerging Contributor
Ok, a colleague and I managed to figure this one out. It turns out that the folder it was complaining about was Windows/temp. All I had to do was manually go in and add users and the proper permissions to this directory, and now everything works.
0 Kudos