Server Configuration - Fix configuration - Application

Microsoft.AppVirtualization.Server.45.VirtualApplicationServer.ServerConfiguration_Fixconfiguration_Application (UnitMonitor)

The Server Configuration aspect covers the configuration issues of the Application Virtualization Server. These configurations include those in the Registry and in the Application Virtualization Data Store.

Knowledge Base article:

Summary

The Server Configuration aspect covers the configuration issues of the Application Virtualization Server. These configurations include those in the Registry and in the Application Virtualization Data Store.

Resolutions

Most of the configuration settings can be administrated using Application Virtualization Management Console. Check the settings against errors to ensure that they are configured correctly. For more information on the Application Virtualization Sever configuration that may need adjustment, please refer to the content on http://go.microsoft.com/fwlink/?LinkId=122170.

The system event log and application virtualization server log are also sources to get further information about the actual cause of the problem.

To open the system event log viewer:

  1. Click Start->Run->eventvwr. This opens the event viewer.
  2. Click Application on the tree pane (right pane). This opens up application event log on the result pane (right pane).
  3. In the event viewer, the errors are logged with a red balloon icon. All the Application Virtualization related errors will have the Source column value set to "Application Virtualization Server". Scroll through the event log to see the latest errors reported by the Application Virtualization Server.

You can find the log file directory location listed in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Server\SOFTGRID_LOG_FILE registry key. You can go through this log file to find out further information about Application Virtualization Server errors.

The format of the logfile is; Date, Time, ServerName, pid, tid, module, sid, provider, user, package, error level, Result Code, Message Text

  • Time = The time the message was generated.
  • Servername = The name of the server in which this thread is executing.
  • Pid = The process ID that generated the message.
  • Tid = The thread ID that generated the message.
  • Module = The module name that generated the message.
  • Sid = The session ID for which the message was generated.
  • Provider = The site for which the message was generated.
  • User = The user for which the message was generated.
  • Package = The application for which the message was generated.
  • Error level = The level of the message, in decimal format.
  • Result code = The code of the message, in decimal format.
  • Message text = The text of the message.

    Element properties:

    TargetMicrosoft.AppVirtualization.Server.45.VirtualApplicationServer
    Parent MonitorMicrosoft.AppVirtualization.Server.45.ServerConfiguration_HWS.HealthState
    CategoryEventCollection
    EnabledTrue
    Alert GenerateTrue
    Alert SeverityMatchMonitorHealth
    Alert PriorityNormal
    Alert Auto ResolveTrue
    Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
    RemotableTrue
    AccessibilityPublic
    Alert Message
    Server Configuration - Fix configuration - Application
    {0}
    RunAsDefault

    Source Code:

    <UnitMonitor ID="Microsoft.AppVirtualization.Server.45.VirtualApplicationServer.ServerConfiguration_Fixconfiguration_Application" Accessibility="Public" Target="Microsoft.AppVirtualization.Server.45.VirtualApplicationServer" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ParentMonitorID="Microsoft.AppVirtualization.Server.45.ServerConfiguration_HWS.HealthState">
    <Category>EventCollection</Category>
    <AlertSettings AlertMessage="Microsoft.AppVirtualization.Server.45.VirtualApplicationServer.ServerConfiguration_Fixconfiguration_Application.Alert">
    <AlertOnState>Error</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>MatchMonitorHealth</AlertSeverity>
    <AlertParameters>
    <AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
    </AlertParameters>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
    <OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
    </OperationalStates>
    <Configuration>
    <ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
    <LogName>Application</LogName>
    <Expression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">PublisherName</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">Application Virtualization Server</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="UnsignedInteger">41504</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </Expression>
    </Configuration>
    </UnitMonitor>