EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB20015: How to modify the error message: "The Web Server encountered an unknown runtime error." in MicroStrategy Web


Community Admin

• Strategy


How to modify the error message: "The Web Server encountered an unknown runtime error." in MicroStrategy Web.

Users may encounter the following message in Strategy Web 9.4.x: 

ka04W000000Og4GQAS_0EM4400000028SX.png

The Web Server encountered an unknown runtime error.
 
Now an Administrator may want to customize this error message so that user that receive this message will be instructed to contact the Administrator. Therefore, to do so, all the Administrator needs to do is simply follow the steps below:
 

ka04W000000Og4GQAS_0EM4400000028SW.png

 

  • Navigate to the file "MessagesBundle_en" in the Web Customization editor under Property Files > WEB-INF > classes > resources as shown below:
ka04W000000Og4GQAS_0EM4400000028SZ.png
  •  
    Note: Incase the user's language preference is set to a language other than Default, then it will be necessary to modify the accurate file according to the language. As an example, if the user's browser is in German, then user will need to modify MessagesBundle_de as well as shown in the image below:
  • Search for the strings within these files and replace their values the desired message, e.g.:
    • mstrWeb.750=The Web Server encountered an unknown runtime error.
    • mstrWeb.455=Cannot display page
    • mstrWeb.456=Please contact your Administrator.
  • Save and close the files.
  • Restart the Web Server to see these changes take affect.

Customization Warning:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. If further assistance is needed please contact Strategy Consulting team.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 28, 2017

Last Updated:

June 28, 2017