When running the Windows Mobile Default Gathering the IIS log files gather will display the error:
The following error occurred in trying to execute a given task: Quest.MessageStats.Runtime.MessageStatsException: Error in report pack data source execute ---> System.Exception: Exception of type 'System.Exception' was thrown. at IISLogsReportPack.qmsIISLogsProcessor.LogFileGatherer.getDateRange() at IISLogsReportPack.qmsIISLogsProcessor.LogFileGatherer.Quest.MessageStats.Runtime.IReportPackDataSource.Execute() at Quest.MessageStats.Runtime.QmsCoreManager.Quest.MessageStats.Runtime.Interop.IQMSCoreManager.ExecuteTask() --- End of inner exception stack trace --- at Quest.MessageStats.Runtime.QmsCoreManager.Quest.MessageStats.Runtime.Interop.IQMSCoreManager.ExecuteTask()
You notice the IIS Log Folders tab is missing from the properties of the Exchange CAS server in the MessageStats console.
You also notice that the Windows Mobile Report pack is missing from Add/Remove programs when logged in as the service account, however it exists if logged in as the domain user account that the Report pack was installed with.
WORKAROUND
1. Login as the domain user account that the Report pack was installed with and go to Add/Remove programs and Uninstall the Report pack
2. Logout and login as the MessageStats Service Account
3. Install the Windows Mobile Report pack
4. Open the MessageStats console, delete the recreate the Windows Mobile Default Gathering task at the organization level
Note: You may need to open the properties of each CAS server in the MessageStats console and click Refresh in the IIS Log Folders tab.
5. Run the Gathering and there should be no errors.