Monday, April 20, 2015

Webservice authentication does not work on IIS7, IIS8 & IIS8.5

You get 401 Authhorization failed (401.2 to be exact seen in IIS logs)
If you have enabled windows authentication in IIS, you should be able to hit the URL via browser, with no issues. This is assuming the account is allowed via authentication controls.

Problem is that in IIS7, IIS8 & IIS8.5, Basic authentication is not installed by default. if you do not have this option in authentication, you have to install basic authentication by via Server Manager,  Add Roles and Features, IIS, Security, Basic authentication.

Once done you should be able to enable Basic authentication and make WebService calls work.

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...