How to resolve "500 Internal error: There is a problem with the resource you are looking for, and it cannot be dispalyed" when applying new web.config to Statistica Data Entry?

How to resolve "500 Internal error: There is a problem with the resource you are looking for, and it cannot be dispalyed" when applying new web.config to Statistica Data Entry?

book

Article ID: KB0070849

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.0 and higher

Description

After updating the web.config file in Statistica Data Entry or Statistica Server (typical location of C:\WebStatisticaPub\DataEntry or C:\WebStatisticaPub\wwwroot, respectively), one of the following error occurs:

500 Internal Server error -  There is a problem with the resource


500 Internal Server error - configuration data for the page is invalid...

Cause
The default override setting is set to "Deny" in the applicationHost.config file (typical location is C:\Windows\System32\inetsrv\Config) so changes cannot be made by just replacing the web.config file alone.  See below:

applicatinHost.config file with deny for anonymous and auth settings

https://techcommunity.microsoft.com/t5/iis-support-blog/overridemodedefault-and-allowdefinition-attributes/ba-p/305415
 

Issue/Introduction

When installing a new web.config, which has needed changes for data entry to function fully, the 500 Internal server error appears,e.g., Windows Login does not work.

Environment

OS: Windows

Resolution

1.  Open IIS Manager
2.  Click the server name in the tree on the left side
3.  In the middle pane, go to the Management section and double-click Configuration Editor:
IIS>Management>Configuration Editor

4.  At the top, choose the section system.webServer/security/authentication/anonymousAuthentication
5.  In the right-hand pane, click Unlock Section
6.  At the top, choose the section system.webServer/security/authentication/windowsAuthentication
7.  In the right-hand pane, click Unlock Section

Unlock authentication in configuration editor

8.  Follow the same steps, above,  for the DataEntry, or WebStatistica, section as well, if necessary:

Data Entry and WebStatistica IIS Configuraiton Manager settings

 

Additional Information

https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-500-19-webpage
https://techcommunity.microsoft.com/t5/iis-support-blog/overridemodedefault-and-allowdefinition-attributes/ba-p/305415