Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Object named IIS_IUSRS could not be found" when adding user to PHP sessions directory iis 8

I'm running windows server 2012 R2 running IIS 8. New to the whole windows server environment.

To install PHP, I'm following the below tutorial

Install and Configure PHP

Part of it says, in order to use PHP's session functionality properly I need to create a new folder "sessions" and add "IIS_IUSRS" to the folder.

However when I enter the same in the "Object files box" it gives me the "Object named IIS_IUSRS was not found" error.

So far I have referred to the following, but none has been that helpful

Trying to add IIS_IUSRS to Administrators group [closed]

IIS or IIS_IUSRS permisions so that PHP can write files for WordPress

IIS_IUSRS group missing

How to give Folder Permission for IIS User in C#?

IIS_IUSRS and IUSR permissions in IIS8

Been researching for hours, but can find nothing concrete enough.

like image 560
TDsouza Avatar asked Jun 15 '15 13:06

TDsouza


People also ask

Where can I find IIS_IUSRS?

Under the Security tab, you will see MACHINE_NAME\IIS_IUSRS is listed. This means that IIS automatically has read-only permission on the directory (e.g. to run ASP.Net in the site).

What is IIS_IUSRS?

IIS_IUSRS is the group for IIS Worker Process Accounts. This means the identity that the application pool itself runs under. IUSR is the anonymous user identity. That means the identity that IIS believes to be the user who is accessing the site.


1 Answers

I know this is old, but since I came across this when I was searching for a solution, might as well answer it.

Source of my answer: IIS_IUSRS group is not found in Windows 7 laptop

  1. In the main page of IIS Manager right click on the web site you would like to configure (Found in connections->[Machinename]->Sites->[Yoursite]);
  2. "[Server name] Properties" menu will pop up. Click on the Security tab;
  3. Under the "Group or user names:" frame, click the "Edit" button;
  4. Click "Add" in the next window;
  5. "Select Users, Computers, [...]" pops up; Type "IIS_IUSRS" in "Enter the object names to select"; 6.) Click on "Locations"; Now scroll up to the top and you should see the name of your machine you are trying to configure at the top of the tree structure. Select this entry and hit ok. IIS_IUSRS should now be correctly found for instance as [DMNNAMEOFMACHINE]\IIS_IUSRS;
like image 167
Just_Stacking Avatar answered Sep 17 '22 15:09

Just_Stacking