Unable to obtain context help url. The type initializer for 'Svr' threw an exception.
search cancel

Unable to obtain context help url. The type initializer for 'Svr' threw an exception.

book

Article ID: 154043

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Error in the Symantec Management Platform log files while browsing the Symantec Management Platform.

"Unable to obtain context help url. ProductGuid:{51300b87-ee86-46c9-9991-037e4407732a} PageId:{51475a8d-bbb0-4979-815c-294755a07970} Context: Exception:System.TypeInitializationException: The type initializer for 'Svr' threw an exception. ---> System.UnauthorizedAccessException: Filename: redirection.config
Error: Cannot read configuration file due to insufficient permissions

   at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath)
   at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath)
   at Microsoft.Web.Administration.ServerManager.get_SitesSection()
   at Microsoft.Web.Administration.ServerManager.get_Sites()
   at Altiris.NS.WebAdmin.WebMetaApplication.ServerMgr..ctor(Uri uri)
   at Altiris.NS.WebAdmin.WebMetaApplication..ctor(String sMetabaseUrl)
   at Altiris.NS.Server.Svr..cctor()
   --- End of inner exception stack trace ---
   at Altiris.NS.Server.get_BaseAltirisUrlUsingLocalHost()
   at Altiris.CustomConsole.ContextHelpUrlResolver.get_BaseUrl()
   at Altiris.CustomConsole.ContextHelpUrlResolver.HelpLocationExists(String location)
   at Altiris.CustomConsole.ConsoleHelp.ConstructHelpUrl(CultureInfo currentCulture, Uri urlSuffix, IContextHelpLocationResolver resolver)
   at Altiris.CustomConsole.ConsoleHelp.GetContextHelpUrl(Guid productGuid, String pageId, String context, CultureInfo culture, IContextHelpLocationResolver resolver)
   at Altiris.CustomConsole.ConsoleHelp.GetContextHelpUrl(Guid productGuid, String pageId, String context)
   at Altiris.Console.WebControls.HelpProvider.GetUrl(String productId, String pageId, String context)
","Altiris.Console.WebControls.HelpProvider.GetUrl","w3wp"

Environment

ITMS 8.x

Cause

Insufficient permissions to the C:\Windows\System32\inetsrv\configedirection.config file.

Resolution

Give the Classic AppPool User account Read, Read and Execute, Write permissions on the following file:
C:\Windows\System32\inetsrv\configedirection.config

Example command-line to add permissions for the Classic .NET AppPool:

 icacls C:\Windows\System32\inetsrv\configedirection.config /grant "IIS APPPOOL\Classic .NET AppPool":(OI)(CI)(RX)