Jump to content

Access to the path 'C:\inetpub\wwwroot\HAP\app_data' is denied.


Recommended Posts

Posted

When browsing to MyFiles on a fresh install of HAP v8.7 I get the following error....

 

Access to the path 'C:\inetpub\wwwroot\HAP\app_data' is denied.

 

However I have already given my 'IIS AppPool\HAP' user modify access to this directory and setup.aspx confirms that the App_Data directory is writable.

 

Any ideas?

 

Thanks

Posted

Looks like the issue is to do with the enablereadto and enablewriteto entries within the drive mappings. If I set these to 'All' it works ok.

 

%homedir%

 

Previously I had these set to enablereadto="%username%" enablewriteto="%username%" which doesn't work.

 

Is 'All' the only option?

Posted (edited)

Spoke too soon! When browsing to MyFiles I can now see and access my drives but I still get the error Access to the path 'C:\inetpub\wwwroot\HAP\app_data' is denied.

 

snip.PNG

Edited by gybe78
Posted
Thanks for the response Nick. I've double checked these settings and they're already set as you describe.
Posted
Double check that read only isn't still present.

 

Although I had unticked "Read Only" on the properties of C:\Inetpub\wwwroot\HAP, it had not taken effect and kept coming back like a lost dog. Following article You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7 I ran the command attrib -r +s c:\inetpub\wwwroot\HAP which has resolved the issue.

 

Thanks for your help.

Posted

@nickbro

 

Turns out users still randomly get the Access to the path 'C:\inetpub\wwwroot\HAP\app_data' is denied. error message, and when they do, links in the top menu bar don't work. However, refreshing the page mostly clears the error and then links in the top menu bar do work.

 

Bug or an issue for me only do you think?

 

Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...