
HTTP 401 Access Denied and HTTP 500 Internal Server Errors for Mismatching Authentication Settings
HTTP 401 and HTTP 500 errors can occur if there are conflicting authentication settings in the report server Web.config file and the RSReportServer.config file. To be compatible, the settings should be aligned as follows:
|
RSReportServer.config
|
Web.config for Report Server
|
|---|
|
RSWindows*
|
Authentication=”Windows”
|
|
Custom
|
Authentication=”Forms”
|
When these settings do not match (for example, if RSWindows* and Forms are specified for the same report server), an HTTP error will occur. The error that is returned will vary depending on whether a request was authenticated before the mismatch was detected. HTTP 401 is returned if the request fails authentication first; HTTP 500 is returned if authentication initially succeeds and then the mismatch is detected.
If you get either HTTP error after modifying authentication settings, verify that you updated both files correctly and that the settings align to the same authentication provider. For more information, see Configuring Authentication in Reporting Services.