.NET 2.0 causes many errors when using the Notification Server Console

book

Article ID: 156172

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

There are a lot of different errors generated when navigating the Notification Server Console. Some of these errors may include the following:

On the Incident tab:

"Can't load presentation - Console: conWorker, Presentation: AltirisConsole" followed by a page of errors including:
"Exception - System.Web.HttpCompileException: C:\Program Files\Altiris\Helpdesk\AexHD\presentations\AltirisConsole.ascx(16): error BC30561: 'MenuItem' is ambiguous, imported from the namespaces or types 'System.Web.UI.TemplateControls, Altiris.AppWeaver'."
"Exception - Altiris.AppWeaver.AppWeaverException: Can't load presentation - Console: conWorker, Presentation: AltirisConsole ---> System.Web.HttpCompileException"
"The originator of the previous log entry was itself an Exception.  The last non-Exception occurred at stack index 1: Altiris.AppWeaver.Console.OnLoad"
"Application_OnError - Unhandled Exception:"

On the Report tab:

"The following error occurred on the page 'dashboard.aspx':
Page.RegisterRequiresPostBack can only be called on controls that implement IPostBackDataHandler."
A Microsoft Internet Explorer error showing "An error occurred constructing the tree from the XML provided by the server: 'error' is null or not an object (-2146823281)"

On the Configuration tab, Console Settings, Portal Pages, Help Portal:

"error BC30183: Keyword is not valid as an..."
"Object reference not set to an instance of an object"

Running a repair or reinstalling Notification Server does not fix this problem.

Cause

Notification Server 6.0 was built using the .NET Framework 1.1.
 
Microsoft's ASP.NET 2.0 is not backwards compatible, so the Notification Server 6.0 will not work properly on systems where IIS is configured to use the .NET Framework 2.0.

Resolution

  1. Go to your IIS Manager (Start > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager or Start > Run and type inetmgr).
  2. Drill down to Internet Information Services > YourServerName > Web Sites > Default Web site (or the Altiris Web site, if you didn't install to the default).
  3. Right-click the Default Web site and open the Properties.
  4. In the properties, go to the ASP.NET tab and make sure that the ASP.NET version is set to 1.1.4322 (or 1.1.xxxx, replacing the xxxx with your .NET build number).
  5. Click Apply.
  6. In a command prompt, type iisreset and then press Enter. Your IIS services will restart, and then you should be able to use your Notification Server Console properly.

Note: The example errors given are incomplete but are good examples of the problems created after installing ASP.NET 2.0.


Applies To
Notification Server 6.x
Microsoft .NET Framework 2.0*