9

I have 500 error when debug an asp.net application on my Windows 7 laptop. It looks like a permission problem.

1

Therefore I want to give the permission to the corresponding folder. I tried to add IIS_IUSRS to the group. But I can't add it because it doesn't exist. See the image below please.

2

EDIT:

I checked the user groups. It is there 3

  • Have you tried adding only IUSRS? – It's a trap Mar 17 '16 at 13:28
  • @RachitGupta, I tried it. It can't be found as well. –  Mar 17 '16 at 13:29
  • 1
    Try this- Click on locations and add your "full computer name"\IUSRS – It's a trap Mar 17 '16 at 13:32
  • @RachitGupta, it still failed. Actually the location already includes the domain. And I can add IIS_IUSRS in my Win 7 desktop. –  Mar 17 '16 at 13:37
  • I don't think that it is laptop specific problem coz i have done on both. Can you try re-installing IIS? If you can, then try to use Web PI for installation. – It's a trap Mar 17 '16 at 13:40
  • Open computer management console using Start->Run->compmgmt.msc. Expand Local Users and Groups. Check if group present there. If yes then you need to change "From this location" in screenshot in question. – Pankaj Kapare Mar 17 '16 at 13:47
  • @PankajKapare, I updated the question. Yes, it is there. "From this location" I set the location on the root. It is `corporate.xxx.com`. –  Mar 17 '16 at 14:11
  • Nope. It should be your computer name. This group is local group and doesn't exists on active directory. – Pankaj Kapare Mar 17 '16 at 14:45
  • @PankajKapare. It works, I can add `IIS_IUSRS` to my laptop now. But I tried to add `IUSRS` it just failed. Anyway it works now. Thanks for help. If you would like, please convert your comment to the answer so I can mark it. –  Mar 17 '16 at 14:55

1 Answers1

29

IIS_USRS is local group added with IIS 7 release. It isn't available on active directory so while searching it location should be selected as local machine name in "From this location" field. You should be able to find "IIS_USRS" group under your local machine.

Pankaj Kapare
  • 7,486
  • 5
  • 40
  • 56
  • 1
    I would like to note that the your local computer will be listed at the very top when you click "Locations..." – Dip Feb 06 '18 at 20:19