Web Connection
401 from admin.aspx
Gravatar is a globally recognized avatar based on your email address. 401 from admin.aspx
  Jukka Salminen
  All
  Oct 24, 2019 @ 05:04am

I can access admin/ModuleAdministration.wc without problems but /admin/wc.wc?wwmaint~showlog gives 401 Unauthorized. Something has to be changed but what?

Gravatar is a globally recognized avatar based on your email address. re: 401 from admin.aspx
  Rick Strahl
  Jukka Salminen
  Oct 25, 2019 @ 09:05am

Yes the loopback protection can be a pain in the ass to figure out.

It's always enabled on server versions, and on some versions of client side Windows.

The Web Connection IIS Install script includes a (commented) line to automatically disable that annoying feature.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 401 from admin.aspx
  Jukka Salminen
  Rick Strahl
  Oct 25, 2019 @ 09:20am

It works if I use AdminAccount="ANY" in web.config. If I put my own domain account, it gives 401 if it contains the domain part (DOMAIN/username). Without the domain it's OK.

Gravatar is a globally recognized avatar based on your email address. re: 401 from admin.aspx
  Jukka Salminen
  Jukka Salminen
  Nov 22, 2019 @ 05:11am

Solved, I had to give right permissions for the Server Account (Application Pool).

Gravatar is a globally recognized avatar based on your email address. re: 401 from admin.aspx
  Rick Strahl
  Jukka Salminen
  Nov 22, 2019 @ 11:46pm

Hmmm... what permissions if I may ask?

Authentication should work regardless what account the application pool uses, unless that account doesn't have access to the domain. In order to validate the domain has to be accessible to the host account in the Application Pool.

+++ Rick ---

© 1996-2020