Runtime error on the Notification Server due to Authentication
search cancel

Runtime error on the Notification Server due to Authentication

book

Article ID: 151938

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Runtime error displayed on the Web console.

Server Error in '/Altiris/NS' Application
Runtime Error

Description: An application error occurred on the server.  The current customer error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tab within a "web.config" configuration file located in the root directory of the current web application.  This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".

<!--Web.config configuration File -->

<configuration>
     <system.web>
          <customErrors mode=RemoteOnly"/>
     </system.web>
<configuration>

Notes: The current error page you are seeing can be replaced by a customer error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!--Web.config configuration File -->

<configuration>
     <system.web>
          <customErrors mode=On" defaultRedirect="mycustompage.htm"/>
     </system.web>
<configuration>

Environment

ITMS 7.x, 8.x

Cause

Bad username and password.

Resolution

  1. On the SMP Server, go to <Install Path>\Program Files\Altiris\Notification server\
  2. Open up the file named 'web.config' in a text editor.
  3. Find the <customErrors> section and change the mode from "On" to be "Off"  (This is case-sensitive)
  4. Save the file and open the SMP Console.
  5. After this has been set, you may get an error regarding bad credentials. It may be necessary to edit the web.config file again and edit the section <authentication mode="Windows" /> where the line stated (impersonate = "true"). Change the attribute "true" to "false". It should be in lowercase.
  6. Open the Web browser again, and it will pop up with "failed to configure database..." Click OK and apply the proper credentials again. Click Next and the process should resolve the situation (Use the existing database). It is not necessary to go back again to the web.config to change the settings from "false" to "true" as it will be changed automatically.