Excel Calculation Services 用户定义函数异常

Microsoft.SharePoint.2013.SPServiceInstance.Excel.ECSUdfException (UnitMonitor)

此监视器处于警告状态,它指示用户定义函数引发了异常。用户定义函数是部署到 Excel Services 应用程序可使用的服务器的自定义代码。要求使用该用户定义函数的任何工作簿可能无法正常计算。可能需要修复该用户定义函数,然后将其重新部署到服务器。

Knowledge Base article:

摘要

若要查看 Microsoft TechNet 网站上最新的知识库文章,请访问:

http://go.microsoft.com/fwlink/?linkid=244889&clcid=0x804

原因

可使用以下链接查看此对象的所有当前警报:

查看警报

Element properties:

TargetMicrosoft.SharePoint.2013.SPServiceInstance.Excel
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SharePoint.RepeatedEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SharePoint.2013.SPServiceInstance.Excel.ECSUdfException" Accessibility="Public" Enabled="onEssentialMonitoring" Target="MOSS15Core!Microsoft.SharePoint.2013.SPServiceInstance.Excel" ParentMonitorID="Health!System.Health.ConfigurationState" Priority="Normal" TypeID="WSS!Microsoft.SharePoint.RepeatedEventLogManualReset2StateMonitorType">
<Category>ConfigurationHealth</Category>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>Application</RepeatedLogName>
<RepeatedExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6467</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-SharePoint Products-Excel Services Application</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</RepeatedExpression>
<Interval>600</Interval>
<Count>5</Count>
</Configuration>
</UnitMonitor>