0

I have an ASP net application running through IIS which was working fine - I could call the API using Postman and get 200 response codes. After I added a role through Server Manager (URL Authorization) to troubleshoot an authorization issue and then removed the role, I no longer receive 200 response codes via Postman. I have everything configured back to how it was before adding the role yet Postman gives me a 500 status code and I have also verified this using curl.

Is there something else I'm not aware of that URL Authorization changed when I added it?

update: turns out it was URL authorization that I needed, I must have messed up my initial declaration of the ACL

1 Answer 1

0

Open IIS Manager and click on your site, then double-click Authorization. Anonymous Authentication should be Enabled and everything else Disabled.

5
  • I have it set back to Basic auth which is what it was set to before when it was working.
    – Kevys
    Apr 22, 2020 at 10:35
  • @Kevys so is it working now?
    – CB_Ron
    Apr 22, 2020 at 16:00
  • No it continues to not work. I have even created a new site with exact settings as before but new path and even that does not work. I think there is some overall IIS configuration that was changed when I added URL Authorization that I'm not aware of, perhaps the app pool
    – Kevys
    Apr 22, 2020 at 16:31
  • @Kevys there is also an Authorization widget at the machine level in IIS. Click on the server name.
    – CB_Ron
    Apr 22, 2020 at 16:40
  • At the server level in authorization it's set to allow all users and authentication is set to anonymous authentication
    – Kevys
    Apr 22, 2020 at 16:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .