User Attempts To Run Multiple Instances Of A Published Application

Citrix.PresentationServer.UserAttemptsToRunMultipleInstancesOfPublishedApp.Monitor (UnitMonitor)

Monitors any user attempts to run multiple instances of a published application

Knowledge Base article:

Citrix ® Management Pack

Summary

A limit has been defined so that each user in the farm can start only one instance of a published application. A user has tried to exceed this limit and an attempt to start a new instance of the published application has failed.

 
Causes

This event indicates that a Citrix administrator has limited the number of instances of this published application to one for each user, and that a user has attempted to start more than one instance.

 
Resolutions

To disable this restriction for this particular application, locate the application in the Access Management Console. When monitoring multiple server farms, you can find the affected server farm name by looking up server farm membership of the server that raised this event. Select Limits in the Application Properties dialog box to set the restriction.

Note: This limit applies to all users in the server farm.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this error:

  • Citrix Presentation Server Administrator's Guide - English

Or search the Citrix knowledge base for more information.

 
Sample Event

User ‘%1's attempt to run multiple instances of the published application ‘%2' was denied. A concurrent application limit for ‘%2' is currently set to allow only a single instance per user. Use the Console's application properties page for ‘%2' to modify this behavior if multiple instances per user are necessary.

 
Other Information

For this event to be generated, each farm must be configured using the Access Management Console as follows:

  1. Navigate to the node for the farm you wish to configure
  2. In the task pane, click Modify farm properties, and then select Edit all properties
  3. Select Connection Limits in the Farm Properties dialog box
  4. Ensure the Log over-the-limit denials check box is selected
 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.Connections.PublishedApp.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
User attempts to run multiple instances of a published application
User {0} has attempted to run published application {1} more than once.
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.UserAttemptsToRunMultipleInstancesOfPublishedApp.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.Connections.PublishedApp.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.UserAttemptsToRunMultipleInstancesOfPublishedApp.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>MetaframeEvents</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>