After Downgrading from NS 7 to NS 6, getting File Not Found exceptions for postevent.aspx

Article:TECH42333  |  Created: 2009-06-18  |  Updated: 2009-06-18  |  Article URL http://www.symantec.com/docs/TECH42333
Article Type
Technical Solution


Issue



Notification Server was down graded from NS 7 to NS 6. In the log viewer we see the following errors:

Log File Name: C:\Program Files\Altiris\Notification Server\Logs\a.log

Priority: 1

Date: 6/18/2009 2:56:40 PM

Tick Count: 103536015

Host Name: (servername)

Process: w3wp.exe (1996)

Thread ID: 1788

Module: AltirisNativeHelper.dll

Source: Altiris.Web.NS.Agent.Global.Application_Error

Description: ( Unhandled exception. Type=System.Web.HttpException Msg=Exception of type System.Web.HttpException was thrown. Src=System.Web

StackTrace=

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)

at System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Inner exception. Type=System.IO.FileNotFoundException Msg=C:\Program Files\Altiris\Notification Server\Agent\PostEvent.aspx Src=System.Web StackTrace= at System.Web.UI.TemplateParser.GetParserCacheItem()

at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context)

at System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context)

at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context)

at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path)

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) )

==========================================================================================================================================

In the IIS logs we see the following error:

2009-06-18 01:17:18 W3SVC1 10.29.3.98 POST /Altiris/NS/Agent/PostEvent.aspx - 80 - (workstation_ip_address) - 302 0 64


Environment



• Notification Server 6.0 SP3, 7.0
• Task Server 6.0

Cause



Not all of the NS 7 agents were removed from the client machines. NS 7 stores the postevent.aspx page is a different name than is found on NS 6 (postevent.asp). When the Agents for version 7 connect with Notification Server 6.0, they can't find the appropriate aspx page and the errors (listed above) are thrown in the logs.


Solution



Uninstall the NS 7 agents. The NS 6 agents can then be reinstalled.

To Uninstall the NS 7 agents, use AexAgentUtil.exe /clean . This can be scripted and deployed out to the affected computers via Deployment Server, Active Directory or any other method available for remotely running a script on the client computers.


Legacy ID



47720


Article URL http://www.symantec.com/docs/TECH42333


Terms of use for this information are found in Legal Notices