Articles in this section
Category / Section

How to resolve IISHttpServer EventId 0 Error due to MaxRequestBodySize Conflict error in Bold BI Windows application

Published:

During the start of the Bold BI Windows application, when accessing Bold BI data services, you may encounter an error with EventId 0, indicating a conflict between the MaxRequestBodySize and maxAllowedContentLength settings.

The error is caused by a discrepancy between the maxAllowedContentLength property value in IIS settings and the MaxRequestBodySize property in the appsettings.json file. When the HTTP request content length exceeds the maxAllowedContentLength limit set in IIS, the request will be rejected even if the MaxRequestBodySize is set to a higher value.

Steps to resolve the error:

To resolve this error, follow these steps:

  1. Ensure that the maxAllowedContentLength value in IIS settings matches the MaxRequestBodySize value in the appsettings.json file.

  2. Open the appsettings.json file, which can typically be found at the following path in the Windows environment:

    C:/Bold-services/bi/dataservice/appsettings.json  
    

    set-maxrequestbodysize.png

  3. Update the MaxRequestBodySize property with the same value that you have set for maxAllowedContentLength in IIS settings.

    iissettings.png

  4. Save the changes to the appsettings.json file.

Additional Troubleshooting:

If the issue persists after ensuring the values match, it is recommended to:

  • Share the Windows event logs with the support team for further investigation.
  • Provide screenshots of both the IIS and appsettings.json property values to assist the support team in diagnosing the problem.
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SM
Written by Sammanasu Mary Jesuraj
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied