umbraco console app Access to the path '~/App_Data/TEMP/ExamineIndexes/InternalMember/' is denied
Hello,
I had to make changes to an umbraco console app see here which accesses the content of a v. 7.2.6 umbraco site.
In localhost the console works just fine. When I upload it to a test server I get in the logs the error:
Access to the path '~/App_Data/TEMP/ExamineIndexes/InternalMember/' is denied caused by line:
application.Start(application, new EventArgs());
So far I've tried to give full control to the IIS APPPOOL\identity to my site's path /AppData/TEMP/ExamineIndexes/InternalMember/ but I still get the exception.
I've even given full control to everyone no only the site/appdata/temp/...
but also to the folder's ~/AppData/TEMP/ExamineIndexes/InternalMember/ which somehow get created inside bin/Debug and bin/Release folders of the console app.
It was indeed a permissions problem with the user running the console through the task scheduler on right click ans run as admin the exception vanished.
umbraco console app Access to the path '~/App_Data/TEMP/ExamineIndexes/InternalMember/' is denied
Hello,
I had to make changes to an umbraco console app see here which accesses the content of a v. 7.2.6 umbraco site.
In localhost the console works just fine. When I upload it to a test server I get in the logs the error: Access to the path '~/App_Data/TEMP/ExamineIndexes/InternalMember/' is denied caused by line: application.Start(application, new EventArgs());
Hi Dora,
First thing that comes to mind is that the user running the console app doesn't have access to that folder.
Did you check that ?
Dave
Hi, thanks for your response,
So far I've tried to give full control to the IIS APPPOOL\identity to my site's path /AppData/TEMP/ExamineIndexes/InternalMember/ but I still get the exception. I've even given full control to everyone no only the site/appdata/temp/... but also to the folder's ~/AppData/TEMP/ExamineIndexes/InternalMember/ which somehow get created inside bin/Debug and bin/Release folders of the console app.
It was indeed a permissions problem with the user running the console through the task scheduler on right click ans run as admin the exception vanished.
is working on a reply...