Menu

File access errors

There has been loads of heartache reported about file access errors when using IIS.
This is always to do with what user account has what write/read access on the webroot folder and subfolders.
In all cases this is just a lack of Full Control for the current user.
However that doesn't stop it being a massive pain and taking all the fun out of things.

To repeat this is just when using IIS.
When IIS installs it is ends up not giving full control to the web root and it is up to you to sort out priviledges.
This is a one-off task, but always seems to be loaded with complication and is a classic - not right first time problem.

As an alternative try switching off IIS and using Apache.
Switching off does not mean unintsalling, just disabling the service in the IIS control panel.
Start | IIS | In control panel in the top right cornerclick Stop in manage server.

With that done install and start an instance of a Apache web server.
Now this is a lot more techy than enabling IIS, but if you have admin rights when you install it then you will have the right priviledges when you come to use it. It still has the same Windows file access set up, but somehow it seems nicer.

Some things to note:

  • Apache doesn't distribute an executable. You have to get it from somewhere else. Apache list https://www.apachehaus.com/cgi-bin/download.plx
  • You will need the x64 version
  • You will probably have to install the Microsoft Visual C++ 2008 x64 run time redistributable package, but you might already have it installed.
  • The webroot folder is called htdocs in Apache speak. It lives one folder down from wherever you install the root Apache folder
Posted by clochardM33 2023-04-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.