Configuring permissions on IIS

JustinKite_

New member
So none of my users, nor the admin panel have access to update user profile pictures (avatars), anyone know how to fix this?
Here's what the error reads in the admin panel:
766263c7707667c1ff2460b9525786b1.png
 
Looks like your /data and /internal_data directories do not have world read/write access. It needs (at the minimum) the ability for the PHP processor to read/write to it and the HTTP server to write to it. The issue is that the directory does not have the appropriate write permission assigned.
 
Looks like your /data and /internal_data directories do not have world read/write access. It needs (at the minimum) the ability for the PHP processor to read/write to it and the HTTP server to write to it. The issue is that the directory does not have the appropriate write permission assigned.
Ok, so how do I give it that permission lol
 
Again... being on a Windows server it's different than a linux server.
With Linux it would be a simple chown -R user:group /your_root/data.
With Windows you will have to find your PHP processor owner and give it write access.
It sounds like you have almost no Windows server administration experience so I'd strongly suggest you inquire about getting some outside management service. Me personally... I'd move off the Windows server to a Linux one first as that is what most use. The fact that Windows is not as widely used is what you are finding to be the issue.
 
According to the Installation instructions you need to give the IUSR_ account "Full Control" for both data and internal_data folders
In Linux, these should be "chmod 0777". You can generally do this via your FTP client by making sure that the directory has read, write, and execute permissions for user, group and world. In Windows/IIS, you need to grant the "Full Control" permission to the IUSR_ account.

Once complete, refresh the installer. If changed correctly, the error message regarding directories not being writable should disappear.

In Windows don't you just right-click the folder and click Properties > Security tab ?
 
According to the Installation instructions you need to give the IUSR_ account "Full Control" for both data and internal_data folders


In Windows don't you just right-click the folder and click Properties > Security tab ?
Pretty sure that's correct... but I don't know if apache uses the IUSR_account or not.
 
According to the Installation instructions you need to give the IUSR_ account "Full Control" for both data and internal_data folders


In Windows don't you just right-click the folder and click Properties > Security tab ?
I tried that and it didn't work :P
 
Are you sure you are using the right account? Have you checked the permissions that are in the root directory (specifically for user names). Instead of IUSR_account it may very well be apache, HTTP, or something else.
Seriously.... it sounds like you should engage a Windows Admin. As I've said before, the number of Windows server users are not that high, and of those that there are, many use the default IIS server instead of apache.

https://httpd.apache.org/docs/2.4/platform/windows.html is a good place to start reading at.

https://www.devside.net/wamp-server...ions-with-chmod-on-windows-for-apache-and-php
 
Last edited:
Are you sure you are using the right account? Have you checked the permissions that are in the root directory (specifically for user names). Instead of IUSR_account it may very well be apache, HTTP, or something else.
Seriously.... it sounds like you should engage a Windows Admin. As I've said before, the number of Windows server users are not that high, and of those that there are, many use the default IIS server instead of apache.

https://httpd.apache.org/docs/2.4/platform/windows.html is a good place to start reading at.

https://www.devside.net/wamp-server...ions-with-chmod-on-windows-for-apache-and-php
There are only two users that are listed for their permissions to be edited and those are the IUSR_ and Windows user accounts.
 
If you insist on using an unmanaged server then it's going to require some effort on your part to learn how to do things.

Having said that, I already gave you the answer on the other thread.
 
If you insist on using an unmanaged server then it's going to require some effort on your part to learn how to do things.

Having said that, I already gave you the answer on the other thread.
The whole point of a community is to communicate. I'm communicating with fellow users of Xenforo to see if they've experienced the same issues and what they've done yo fix it. I'm not seeking comments to tell me to search elsewhere for assistance, unless it's a direct suggestion to a specific place. I'm still learning as I go and these comments just aren't helping. It's simply, if you know what's wrong or have a reference, respond with it, and if you don't, don't respond.
 
I'm still learning as I go and these comments just aren't helping. It's simply, if you know what's wrong or have a reference, respond with it, and if you don't, don't respond.
The point is, the is actually a support site for XenForo itself... your issue is actual server related you are unfamiliar with how to administer a Windows server that is used on the internet. Most of those here use Linux due to several benefits it has in comparison to WIndows and will be more familiar with it.
There are more appropriate places to go to get guidance on learning how to administer a server (either Windows or Linux).
You've been advised what the issue is (a permission issue) and how to resolve it (changing the permissions for the HTTP/PHP processes to have read/write access) but it IS going to take some work on your part in learning how to administer the server (odds are a VPS instance?) that you have - or the parting with of money to hire someone that DOES know what they are doing to fix it.
If you are using a WAMP server setup, then that is even outside the standard Windows server setup as most use IIS (as I've said before).

Again, is there a particular reason you are using a Windows server instead of Linux? If not, I'd strongly recommend backing your DB and files up and either provision the VPS/dedi to a Linux configuration or if on a shared hosting provider then finding one that uses Linux/cPanel. You will get a LOT more response here as more use Linux than Windows.
 
your issue is actual server related
f5968599c847f726e9e25213910a6901.png


If you are using a WAMP server setup, then that is even outside the standard Windows server setup as most use IIS (as I've said before).
3128b9d8440509759d53229c8f1b45cb.png



Again, is there a particular reason you are using a Windows server instead of Linux? If not, I'd strongly recommend backing your DB and files up and either provision the VPS/dedi to a Linux configuration or if on a shared hosting provider then finding one that uses Linux/cPanel. You will get a LOT more response here as more use Linux than Windows.
The only reason is that I prefer Windows over Linux.
 
The only reason is that I prefer Windows over Linux.
And you have to realize... Windows server admins here in the LARGE minority. So you are less likely to get help.

Your other points belay the fact that the Server & Hosting area is not a "how do I administer my server" area, but more specific to getting responses like you have received. Due to the fact that apparently very few use Windows servers, your resource pool is minuscule and will most likely result in you having to refer to a more Windows server specific site. Hopefully one of those rare few that use Windows server for HTTP services on the web will show up here.

For some reason I thought you were using Apache - but that may have been another Windows user I was conversing with.... but nope, it was you now that I checked

Screen-Shot-2018-01-03-at-9.00.08-PM.webp

I do administration on both Windows and Linux servers, and when having to expose to the internet for serving sites, mail, etc. I prefer to use Linux (in fact, I refuse to expose Windows to the internet if I'm administering it) as it has been much more reliable and your resource base for obtaining help (for free) is much higher.
If you are not using Windows ASP.NET programming, there is no real technical reason to choose Windows over Linux/BSD. The actual memory/CPU footprint will be smaller with Linux/BSD and those resources can be used by the HTTP/PHP processes to allow better performance.

I wish you luck in resolving your issue.
 
If you are not using Windows ASP.NET programming, there is no real technical reason to choose Windows over Linux/BSD. The actual memory/CPU footprint will be smaller with Linux/BSD and those resources can be used by the HTTP/PHP processes to allow better performance.
Hogwash. Used to be true during Windows 2000 days. Hasn't been true since Windows 2008. In fact the advances and optimizations make Windows/IIS on par with Linux.

To fix the permissions issue.
  • Create a new user to run PHP and set a strong password for the user. Mine is called PHP_Prefetch
  • Give that user read/write/modify permissions on the data and internal_data folders.
  • In IIS manager go to basic settings, select connect as and set it up with the user you created.
That should do it. If you still have problems post again.
 
Hogwash. Used to be true during Windows 2000 days. Hasn't been true since Windows 2008. In fact the advances and optimizations make Windows/IIS on par with Linux.
So, you are stating that the overhead of Windows is lower than Linux/BSD?
So, by your statement I can grab a 1 CPU/1GB RAM/15GB HDD VPS and Windows will run as well as Linux will on that offering full HTTP/PHP/SQL/MTA services?
 
I have a couple Windows 2016 Server VPS running with 1 gig/cpu. 15 gig HD too small. I use 50. No problems at all. You really should do some investigation into how efficient Windows server core really is.
 
I have a couple Windows 2016 Server VPS running with 1 gig/cpu. 15 gig HD too small. I use 50. No problems at all. You really should do some investigation into how efficient Windows server core really is.
Oh, I don't doubt that they've improved it.... but I can get a fully functional Linux setup in about 8GB. Windows will require on average around 4 times that. ;)
Resources are resources.
 
Last edited:
Back
Top Bottom