search cancel

Package Server only publishes UNC codebases even when IIS is installed, if Required IIS Features are missing

book

Article ID: 164960

calendar_today

Updated On:

Products

IT Management Suite Client Management Suite

Issue/Introduction

When viewing the Package Server in the Agent UI, it only provides UNC codebases.  The Admin has selected HTTP, HTTPS, and UNC in Package Service Settings.

Errors observed in the Agent Logs:

The unlocking of IIS configuration settings using the application "C:\windows\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/handlers" has been succeeded.

Application output:
Unlocked section "system.webServer/handlers" at configuration path "MACHINE/WEBROOT/APPHOST".

-----------------------------------------------------------------------------------------------------

Process: AtrsHost.exe (1152), Thread ID: 3088, Module: AtrsHost.exe
Priority: 4, Source: Altiris.TaskManagement.Common.IISHelper.EnsureWebConfigSectionHandlersUnlocked

 

Web Server (IIS) role is installed, but the next required Role Services are missing: .NET Extensibility 3.5, ASP.NET 3.5.

-----------------------------------------------------------------------------------------------------

Process: AeXNSAgent.exe (6716), Thread ID: 3200, Module: AeXNSCPackageServer.dll
Priority: 2, Source: Package Server Agent

 

Not all required features of IIS are installed. IIS will not be used and Package Server's virtual directories will be deleted.

-----------------------------------------------------------------------------------------------------

Process: AeXNSAgent.exe (6716), Thread ID: 3200, Module: AeXNSCPackageServer.dll
Priority: 2, Source: Package Server Agent

Cause

There are a set of IIS Features that are required. When those required Features are not installed, the HTTP download option is not available for clients to use.  These IIS Features are also required for Task or Site Servers.

Environment

ITMS 8.x Package, Task, and Site Servers

Windows Server 2012 R2, 2016, 2019

Resolution

In this particular case, the agent has a check for Roles and Features that needs to be meet. The Agent logs should show what requirements are not present. For example:

"Web Server (IIS) role is installed, but the next required Role Services are missing: .NET Extensibility 3.5, ASP.NET 3.5."

 

Install any missing components and restart the Symantec Management Agent, and you should see HTTP / HTTPs now available.

 

Here are the Roles as they show up in the Add Features Wizard:

Common HTTP Features
   Static Content
   Default Document
   Directory Browsing
   HTTP Errors

Health and Diagnostics

   HTTP Logging

Performance

   Static Content Compression

Security  
   
   Windows Authentication
   Request Filtering

Application Development

   ASP.NET 3.5 !!
   .NET Extensibility 3.5 !!
   ASP
   ISAPI Extensions
   ISAPI Filters

Management Tools
   IIS Management Console
   IIS 6 Management Compatibility 
       IIS 6 Metabase Compatibility 
       IIS 6 WMI Compatibility 
       IIS 6 Scripting Tools 
       IIS 6 Management Console 

                                          
 
!! - For Windows Server 2016 & 2019, add all available versions i.e. ASP.NET 3.5 and ASP.NET 4.7.
 

 

For Scripting purposes: in the order of installation to avoid cross dependency requirements:

 

Windows UI wizard string                                            Update name (used by pkgmgr and WMI scripts)

Common HTTP Features                                                             IIS-CommonHttpFeatures
    Static Content                                                                                    IIS-StaticContent
    Default Document                                                                             IIS-DefaultDocument
    Directory Browsing                                                                            IIS-DirectoryBrowsing
    HTTP Errors                                                                                        IIS-HttpErrors
Application Development                                                          IIS-ApplicationDevelopment
    ASP.NET 3.5 !!                                                                                   IIS-ASPNET
    .NET Extensibility 3.5 !!                                                                     IIS-NetFxExtensibility
    ASP                                                                                                   IIS-ASP
    ISAPI Extensions                                                                              IIS-ISAPIExtensions
    ISAPI Filters                                                                                      IIS-ISAPIFilter
Health and Diagnostics                                                             IIS-HealthAndDiagnostics
    HTTP Logging                                                                                    IIS-HttpLogging
Security                                                                                         IIS-Security
    Windows Authentication                                                                     IIS-WindowsAuthentication
    Request Filtering                                                                                IIS-RequestFiltering
Performance                                                                                IIS-Performance
    Static Content Compression                                                               IIS-HttpCompressionStatic
 
Management Tools                                                                     IIS-WebServerManagementTools
    IIS Management Console                                                                    IIS-ManagementConsole
    IIS 6 Management Compatibility                                                      IIS-IIS6ManagementCompatibility
        IIS 6 Metabase Compatibility                                                        IIS-Metabase
        IIS 6 WMI Compatibility                                                                  IIS-WMICompatibility
        IIS 6 Scripting Tools                                                                         IIS-LegacyScripts
        IIS 6 Management Console                                                           IIS-LegacySnapIn
 
!! - For Windows Server 2016 & 2019, add all available versions i.e. ASP.NET 3.5 and ASP.NET 4.7.
 

Attachments