This Rule generates alerts when A report could not be published
The TMG Server Report Generator failed to publish the report.
When publishing a report, the TMG Server computer creates a folder with the report files in the published reports directory on the specified server. If no user account is defined, TMG Server uses the computer account that TMG Server is running on to write the files.
This failure may occur for one of the following reasons:
The TMG Server computer account does not have the necessary permissions to write to the specified server
The credentials specified in the report configuration are invalid.
The specified folder may not exist.
The report configuration is invalid.
The data in the Configuration Storage server is corrupted.
There is not enough memory available on the TMG Server computer for the TMG Server Report Generator.
Verify that the TMG Server computer account has write permissions to the published reports directory on the specified server. Alternatively, you can configure TMG Server to use a different account which has the required permissions.
Check the validity of the folder, user name and password specified in the report configuration. Check if the password was not changed.
Review other alerts to determine the cause of the problem
Try to restore the most recent configuration backup. This will solve storage corruption issues.
Close other programs that are running. Use the Task Manager to check programs and processes that are using large amounts of system resources.
Target | Microsoft.Forefront.TMG.Server |
Category | EventCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Forefront.TMG.Rule.AlertGenerate.DS | Default |
WA | WriteAction | Microsoft.Forefront.TMG.Rule.AlertGenerate.WA | Default |
<Rule ID="Microsoft.Forefront.TMG.A_report_could_not_be_published.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Server" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21140)$</EventsPattern>
<EventType>2</EventType>
<SourcePattern>Microsoft Forefront TMG Report Generator</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.A_report_could_not_be_published.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>1</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>