none
Reports and Proposals not generating RRS feed

  • Question

  • Upon completion of running the inventory, I get a popup box with the following:

    "The Microsoft Assessment and Planning summary document could not be generated due to an error in the document generation process"

    MAP version 3.2.2315.0
    Office 2007
    Vista SP1
    Logged on as user with local and domain admin priv.

    Help!
    Thursday, April 9, 2009 2:55 PM

All replies

  • Take a look at %ProgramFiles%\Microsoft Assessment and Planning Solution\bin\log\*.log

    Start from the bottom of the file and search up from the bottom for "exception"

    Paste the relevant section here & we'll take a look.
    Wednesday, April 22, 2009 5:48 PM
  • Thanks Jay.

    I've been working on some other things so I haven't been able to play around with MAP lately.  As for my problem, I download/installed the current version of MAP and this particular issue has gone away.
    Thursday, June 18, 2009 5:18 PM
  • Well, I had luck with one PC, but when I tried using MAP on a different PC, I received the same "The Microsoft Assessment and Planning summary document could not be generated due to an error in the document generation process" error.  The process runs great until it goes to actually generate the reports.

    System Info:
    Gateway E4610
    Dual Processor
    2 GIG Ram
    Vista SP 2
    Office 07
    All updates installed

    Help please!

    Here is the bottom of the Log file:

    <UIConsole 11:59:06>  Document Genration engine starting...
    <UIConsole 11:59:06>  Calling Create Document
    <ReportEngine 11:59:06>  [Perf] [sp_scenario_reports] : 47 ms
    <ReportEngine 11:59:06>  [Perf] [sp_scenario_proposals] : 47 ms
    <UIConsole 11:59:06>  Document Generation Start Event Fired
    <UIConsole 11:59:06>  Reporting Engine Start Event Fired
    <DocumentGenerationEngine 11:59:06>  Generate proposal VistaProposal
    <Default 11:59:07>  DocumentSigning:Load Config File DocumentSigningConfig.xml
    <ReportEngine 11:59:07>  Generate workbook VistaHardwareAssessment
    <Default 11:59:07>  DocumentSigning:Load Config File DocumentSigningConfig.xml
    <DocumentGenerationEngine 11:59:18>  Document Generator : Doc XML path is - C:\Program Files\Microsoft Assessment and Planning Solution Accelerator\XMLLibrary\\EN\DocumentDescXml.xml
    <DocumentGenerationEngine 11:59:18>  Document Generator : Entity XML path is - C:\Program Files\Microsoft Assessment and Planning Solution Accelerator\XMLLibrary\\EN\Entity.xml
    <DocumentGenerationEngine 11:59:18>  Document Generator : Custom XML path is - C:\Program Files\Microsoft Assessment and Planning Solution Accelerator\XMLLibrary\\EN\VistaProposal.xml
    <DocumentGenerationEngine 11:59:18>  XmlLibraryManager: Loading Doc Description - C:\Program Files\Microsoft Assessment and Planning Solution Accelerator\XMLLibrary\\EN\DocumentDescXml.xml
    <ReportEngine 11:59:18>  [Perf] [sp_docgen_GetParagraph1Data] : 78 ms
    <ReportEngine 11:59:18>  [Perf] [sp_docgen_GetPieChart1_VistaReadyWithoutUpgradeData] : 31 ms
    <Default 11:59:19> Error: Exception Handling for exception: Type:Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ExcelReportEngineException, Message:The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) ,Source:, Stack:, Target:   at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <Default 11:59:19> Error: Excel engine failed while Creating new Excel worksheet.
    Error: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

    StackTrace:    at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.GetNewExcelWorkbook(Int32 exWorksheetCount)
       at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.Init(Int32 workSheetCount)
       at Microsoft.AssessmentPlatform.ReportingEngine.ReportEngine.GenerateReport(String[] reportList, String outDir, String workbookname)
       at Microsoft.AssessmentPlatform.ReportingEngine.ReportManager.InvokeWorkbookGeneration(String outputDir)
       at Microsoft.AssessmentPlatform.UI.Console.ProgressPage.StartReportEngine()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.LogExceptionDetails(ApplicationExceptionDetails appExcDetails)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <Default 11:59:19> Error: Exception Handling for exception: Type:Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ReportingEngineException, Message:Excel engine failed while Creating new Excel worksheet.
    Error: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
     ,Source:Microsoft.AssessmentPlatform.CommonObjectLibrary, Stack:   at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleApplicationExceptionManagerExceptions(Exception exception)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.GetNewExcelWorkbook(Int32 exWorksheetCount)
       at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.Init(Int32 workSheetCount), Target:Void HandleApplicationExceptionManagerExceptions(System.Exception)   at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <Default 11:59:19> Error: Exception Handling for exception: Type:Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ReportingEngineException, Message:Excel engine failed while Creating new Excel worksheet.
    Error: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
     ,Source:Microsoft.AssessmentPlatform.CommonObjectLibrary, Stack:   at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleApplicationExceptionManagerExceptions(Exception exception)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdSubTask, String[] resSubTaskParameter)
       at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.Init(Int32 workSheetCount)
       at Microsoft.AssessmentPlatform.ReportingEngine.ReportEngine.GenerateReport(String[] reportList, String outDir, String workbookname), Target:Void HandleApplicationExceptionManagerExceptions(System.Exception)   at Microsoft.AssessmentPlatform.CommonObjectLibrary.ExceptionClasses.ApplicationExceptionManager.HandleException(Exception exception, String resIdResolution, ExceptionSeverity exceptionSeverity, String resIdSubTask, String[] resSubTaskParameter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:19> Error: Exception while generating VistaHardwareAssessment   at Microsoft.AssessmentPlatform.ReportingEngine.ReportManager.InvokeWorkbookGeneration(String outputDir)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ExcelReportEngine 11:59:19> Error: An error occured while disposing; Value cannot be null.
    Parameter name: o   at Microsoft.AssessmentPlatform.ReportingEngine.ExcelReportEngine.Dispose(Boolean disposing)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:19>  Report Manager completed with Failure
    <UIConsole 11:59:19>  Reporting Engine Completed Event Fired
    <UIConsole 11:59:19> Error:    at Microsoft.AssessmentPlatform.UI.Console.ProgressPage.ReportingCompleted_SetWindowsControls(Object sender, CommonEngineEventArgs args)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <UIConsole 11:59:19>  Generated Report
    <DocumentGenerationEngine 11:59:19> Warning: ParagraphHandler: Populating error tag indicating error while generating the Excel workbookThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ParagraphHandler.ProcessDynamicData(String reportEngineDBName, XmlElement& paragraph, XmlNode nodeDBQuery)
      0
    <DocumentGenerationEngine 11:59:19>  Invalid arguments were passed to ChartHandler!
    <DocumentGenerationEngine 11:59:19> Error: ChartHandler: Exception occurred - Invalid parameters!   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:19> Error: ChartHandler:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:19>  [Perf] [sp_docgen_GetParagraph2Data] : 0 ms
    <ReportEngine 11:59:19>  [Perf] [sp_docgen_GetPieChart2_VistaReadyWithUpgradeData] : 15 ms
    <DocumentGenerationEngine 11:59:20> Warning: ParagraphHandler: Populating error tag indicating error while generating the Excel workbookThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ParagraphHandler.ProcessDynamicData(String reportEngineDBName, XmlElement& paragraph, XmlNode nodeDBQuery)
      0
    <DocumentGenerationEngine 11:59:20>  Invalid arguments were passed to ChartHandler!
    <DocumentGenerationEngine 11:59:20> Error: ChartHandler: Exception occurred - Invalid parameters!   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:20> Error: ChartHandler:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:20>  [Perf] [sp_docgen_GetPieChart3_VistaReadyWithoutUpgradeDetailedData] : 32 ms
    <DocumentGenerationEngine 11:59:20> Warning: ParagraphHandler: Populating error tag indicating error while generating the Excel workbookThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ParagraphHandler.ProcessDynamicData(String reportEngineDBName, XmlElement& paragraph, XmlNode nodeDBQuery)
      0
    <DocumentGenerationEngine 11:59:20>  Invalid arguments were passed to ChartHandler!
    <DocumentGenerationEngine 11:59:20> Error: ChartHandler: Exception occurred - Invalid parameters!   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:20> Error: ChartHandler:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:20>  [Perf] [sp_docgen_GetTable1_VistaWithoutUpgrade] : 47 ms
    <ReportEngine 11:59:20>  [Perf] [sp_docgen_GetPieChart4_VistaReadyWithUpgradeDetailedData] : 31 ms
    <DocumentGenerationEngine 11:59:21> Warning: ParagraphHandler: Populating error tag indicating error while generating the Excel workbookThe server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ParagraphHandler.ProcessDynamicData(String reportEngineDBName, XmlElement& paragraph, XmlNode nodeDBQuery)
      0
    <DocumentGenerationEngine 11:59:21>  Invalid arguments were passed to ChartHandler!
    <DocumentGenerationEngine 11:59:21> Error: ChartHandler: Exception occurred - Invalid parameters!   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:21> Error: ChartHandler:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.ChartHandler.ExportChartToFile(Workbook excelWorkbook, String chartDirectoryPath, String imageFilename, String imageFilter)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable4_VistaAfterUpgrade] : 31 ms
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable2_HardwareUpgradeRequired] : 62 ms
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable3_HardwareUpgradeRequired] : 78 ms
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable7_CountDeviceBySource] : 125 ms
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable5_OSFound] : 63 ms
    <ReportEngine 11:59:21>  [Perf] [sp_docgen_GetTable6_Top25App] : 47 ms
    <DocumentGenerationEngine 11:59:21>   GenerateFinalDocument: VistaProposal-06-22-2009-11h59m21s
    <DocumentGenerationEngine 11:59:27> Error: WordGenerator: An Exception occurred - The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.WordGenerator.GenerateWordDocumentFromWordML(_Application& wordAppInstance, String wordMLFilePath, String outputWordDocFilePath)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:27> Error:    at Microsoft.Office.Interop.Word.DocumentClass.SaveAs(Object& FileName, Object& FileFormat, Object& LockComments, Object& Password, Object& AddToRecentFiles, Object& WritePassword, Object& ReadOnlyRecommended, Object& EmbedTrueTypeFonts, Object& SaveNativePictureFormat, Object& SaveFormsData, Object& SaveAsAOCELetter, Object& Encoding, Object& InsertLineBreaks, Object& AllowSubstitutions, Object& LineEnding, Object& AddBiDiMarks)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.WordGenerator.GenerateWordDocumentFromWordML(_Application& wordAppInstance, String wordMLFilePath, String outputWordDocFilePath)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.WordGenerator.GenerateWordDocumentFromWordML(_Application& wordAppInstance, String wordMLFilePath, String outputWordDocFilePath)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:27> Error: DocumentCreator: Exception occurred - Catch COM Exception,Does not meet Retry  requirement in Retry2   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:27> Error:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error: DocumentCreator: An exception occurred - Catch COM Exception,Does not meet Retry  requirement in Retry2   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(String xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(String xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(String xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error: DocumentGenerator: Exception occurredCatch COM Exception,Does not meet Retry  requirement in Retry2   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String[] customXML)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(String xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String[] customXML)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String[] customXML)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error: Document Generator: An exception occurred - Catch COM Exception,Does not meet Retry  requirement in Retry2   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28> Error:    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(XmlDocument xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.GenerateFinalDocument(String xmlData, String xslFilePath, String outputDirectory, String outputFileName, String outputFormat)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String[] customXML)
       at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml)   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28>  Document Generator:Raising Failed Event!
    <UIConsole 11:59:28> Error: An error occurred during document generation. Retry generating the assessment summary report using this wizard. If the problem persists, please contact Microsoft for support.   at Microsoft.AssessmentPlatform.UI.Console.ProgressPage.DocumentGenerationProgress_SetWindowsControl(Object sender, CommonEngineEventArgs args)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <DocumentGenerationEngine 11:59:28>  Document Manager completed with Failure
    <UIConsole 11:59:28>  Document Generation Completed Event Fired
    <UIConsole 11:59:28> Error:    at Microsoft.AssessmentPlatform.UI.Console.ProgressPage.DocumentGenerationCompleted_SetWindowsControl(Object sender, CommonEngineEventArgs args)
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.LogEntry(LogEntryDetails logEntryDetails)
      0
    <UIConsole 12:00:43>  Called Create Document
    <UIConsole 12:00:50>  Operation Summary Details
    <?xml version="1.0" encoding="utf-16"?>
    <OperationSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SelectedDatabase>test1</SelectedDatabase>
      <LogFile>C:\Program Files\Microsoft Assessment and Planning Solution Accelerator\bin\log\Microsoft.AssessmentPlatform.UI.Console.log</LogFile>
      <InventorySummary>
        <MachineName>RRMCVISTADEPLOY</MachineName>
        <RemovedDevices DuplicateCount="0" NonRespondingCount="6" />
        <CollectionStatus Status="0" StatusDesc="Success" ErrorMessage="" />
      </InventorySummary>
      <InventorySummary>
        <MachineName>RRMCVISTADEPLOY</MachineName>
        <EntityCollectorSummary>
          <EntityCollectorResult CollectorId="8">
            <EntityCollectorDetails Domain="IPAddress" Object="4">
              <CollectionCount Status="0" Count="14" />
            </EntityCollectorDetails>
          </EntityCollectorResult>
        </EntityCollectorSummary>
        <AttributeCollectorSummary>
          <AttributeCollectorResult CollectorId="3">
            <CollectionCount Status="7" Count="4" />
            <CollectionCount Status="6" Count="2" />
            <CollectionCount Status="0" Count="8" />
          </AttributeCollectorResult>
        </AttributeCollectorSummary>
      </InventorySummary>
      <ComponentSummary>
        <name>• Device Compatibility Updates:</name>
        <SummaryList>
          <status>Completed</status>
          <message>No updates available at this time.</message>
        </SummaryList>
      </ComponentSummary>
      <ComponentSummary>
        <name>• Report Generation:</name>
        <SummaryList />
      </ComponentSummary>
      <ComponentSummary>
        <name>• Document Generation:</name>
        <SummaryList>
          <ReportUnit>
            <name>Document Manager</name>
            <status>Failed</status>
            <message>An error occurred during document generation. Retry generating the assessment summary report using this wizard. If the problem persists, please contact Microsoft for support.</message>
          </ReportUnit>
        </SummaryList>
      </ComponentSummary>
    </OperationSummary>
    <UIConsole 12:00:50>  CurrentDBState: 'InvRepFail'
    <UIConsole 12:00:53>  Unregister UI Instance Succeeded.

    Monday, June 22, 2009 4:11 PM
  • The fastest way to fix these kinds of issues is usually to uninstall and reinstall Office.  We've seen this occasionally in our testing and there's not much the MAP tool can do about it, Word/Excel just simply start failing when driven by automation.

    After you reinstall office, you can re-generate the reports from MAP without having to re-run the inventory.
    Monday, July 6, 2009 11:57 PM