"Microsoft assessment and planning toolkit summary document could not be generated due to an error in the document generation process" when generating MAP excel report

Answered "Microsoft assessment and planning toolkit summary document could not be generated due to an error in the document generation process" when generating MAP excel report

  • Monday, August 08, 2011 3:32 PM
     
     

    Hi All,

     

    I'm facing an issue when generating MAP 6.0 report.

    I have Windows 7 Enterprise 32-bits English with Office 2010 ProPlus English

    I downloaded and installed .NET Framework 4.0 Full (dotNetFx40_Full_x86_x64)

    I downloaded MAP6.0 (Microsoft_Assessment_and_Planning_Toolkit_Setup)

    I downloaded SQL Server 2008 R2 Express (SQLEXPR_x86_ENU)

     

    I installed MAP, and during install directed to SQL Express setup file,

    After installation was done I launched MAP and created a new DB,

    Then I went to "Discovery and Readiness" - "Windows 7 Readiness" and clicked "Run the inventory and assessment wizard",

    I went through the wizard, selected "Windows-based Computers" Only and using AD DS Discovery method,

    In the AD Credentials I gave a Domain Admin user and password,

    In the AD Options I selected the Workstation OU,

    In the All Computers Credentials I wrote the same Domain Admin user.

    The Inventory process ran for a full day.

    When the process was completed I clicked "Generate report\proposal" and after the "Proposal generated 1of1" I got an error message saying "Microsoft assessment and planning toolkit summary document could not be generated due to an error in the document generation process".

    I tried to run the inventory once again and ended up with the same error message.

    So far I tried to use another PC for the inventory and generating but still getting the same error message.

    I also tried to use Windows XP with Office 2007 and SQL Server 2008 Express - but no lock there

     

    Has anybody faced this error before?

    When I searched for this error I found some posts saying it's an issue with Office installation but the error occurs on 3 different machines with 2 different Office versions (and one of the machines is a fresh installation)

     

    Any help will be much appreciated...

All Replies

  • Monday, August 08, 2011 3:34 PM
     
     

    Also, here's the MAP log:

     

    <2011-08-08 17:23:50.49 TID-1@DefaultLogRecordSink,I> 

       |========================================

       |

       |Logging started at 08/08/2011 17:23:50

       |    Application:     Microsoft.AssessmentPlatform.UI.Console.exe Build 6.0.3939.0 retail

       |    Platform:        Win32NT 6.1.7600.0 

       |    UI Culture:      en-US

       |    Culture:         en-US

       |    Architecture:    32-bit

       |    OS Product Name: Microsoft Windows 7 Enterprise

       |

       |========================================

    <2011-08-08 17:23:51.01 TID-1@MAPSMain,I> ConsoleMain.Main: Checking version values.

    <2011-08-08 17:23:51.13 TID-1@AnalyticsConfigXml,I> Got Download URLs, URL for Inventory -> http://go.microsoft.com/fwlink/?LinkId=115180, URL for Report -> http://go.microsoft.com/fwlink/?LinkId=115181, URL for Inventory and Report -> http://go.microsoft.com/fwlink/?LinkId=115182, URL for Download Only -> http://go.microsoft.com/fwlink/?LinkId=115183, URL for Device Version -> http://go.microsoft.com/fwlink/?LinkId=152572

    <2011-08-08 17:23:51.13 TID-1@MAPSMain,I> CheckVersion: VersionAction reg key value: ''

    <2011-08-08 17:23:51.16 TID-1@MAPSMain,I> Open Master UI Console

    <2011-08-08 17:23:51.88 TID-1@ConsoleWindow,I> ConsoleWindow.CheckReferenceMaterialsDownload: Download updates option enabled. Spawning thread to download of reference materials.

    <2011-08-08 17:23:51.88 TID-5@ConsoleWindow,I> ConsoleWindow.DownloadReferenceMaterials: Starting reference materials download.

    <2011-08-08 17:23:51.88 TID-5@DownloadUtil,I> Starting DownloadUtil()

    <2011-08-08 17:23:51.94 TID-5@DownloadUtil,E> An exception occurred in method: DownloadUtil:GetDownloadFromURL()

       |Exception message: The remote name could not be resolved: 'go.microsoft.com'

       |Stack trace:

       |   at System.Net.HttpWebRequest.GetResponse()

       |   at Microsoft.AssessmentPlatform.UI.Console.DownloadUtil.GetDownloadFromURL(String installDir, String url)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.UI.Console.DownloadUtil.GetDownloadFromURL(String installDir, String url)

       |

    <2011-08-08 17:23:51.94 TID-5@ConsoleWindow,I> ConsoleWindow.DownloadReferenceMaterials: Completed reference materials download. Status: fail

    <2011-08-08 17:23:51.99 TID-1@WunderBarBasePage,I> DisplayViewPage: Opening view type: InventoryAssessmentOverview

    <2011-08-08 17:24:31.24 TID-6@ManageDbsDialogViewModel,I> ImportADatabase(MAP_DB): Restoring database from 'C:\Users\Test\Desktop\Map\DB.bak'

    <2011-08-08 17:26:09.28 TID-6@ManageDbsDialogViewModel,I> ImportADatabase(MAP_DB): Completed import from file 'C:\Users\Test\Desktop\Map\DB.bak'

    <2011-08-08 17:26:14.50 TID-6@OpenCreateDbDialogViewModel,I> OpenAnExistingDatabase(MAP_DB): Opening database. Version: 3427

    <2011-08-08 17:26:21.20 TID-1@WunderBarBasePage,I> DisplayViewPage: Opening view type: Win7ReadinessView

    <2011-08-08 17:26:58.79 TID-6@TaskProcessor,I> TaskProcessor.Run: Processing task: 'Assess inventory'

    <2011-08-08 17:26:58.81 TID-6@TaskProcessor,I> TaskProcessor.StartWorkers: Starting worker thread: 'AssessInventoryWorker'

    <2011-08-08 17:26:58.81 AssessInventoryWorker@TaskProcessor,I> TaskProcessor.RunWorker: Running worker: 'AssessInventoryWorker'

    <2011-08-08 17:26:58.81 AssessInventoryWorker@Analyzer,I> Getting Download Directory

    <2011-08-08 17:26:58.81 AssessInventoryWorker@Analyzer,I> Got Download Directory

    <2011-08-08 17:26:58.81 AssessInventoryWorker@AnalyticsConfigXml,I> Got Download URLs, URL for Inventory -> http://go.microsoft.com/fwlink/?LinkId=115180, URL for Report -> http://go.microsoft.com/fwlink/?LinkId=115181, URL for Inventory and Report -> http://go.microsoft.com/fwlink/?LinkId=115182, URL for Download Only -> http://go.microsoft.com/fwlink/?LinkId=115183, URL for Device Version -> http://go.microsoft.com/fwlink/?LinkId=152572

    <2011-08-08 17:26:58.93 AssessInventoryWorker@AssessInventoryWorker,I> AssessmentStartedEventHandler: Assessment start event.

    <2011-08-08 17:26:58.96 AssessInventoryWorker@Analyzer,I> RunAssessments() - Elapsed time for assessment 'SetAssessmentFlagsAssessment': 31 ms

    <2011-08-08 17:27:09.23 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_device_assessment] : 10250 ms

    <2011-08-08 17:27:36.28 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_hardware_assessment] : 27050 ms

    <2011-08-08 17:27:37.79 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_assessment_HostGuestRelationships] : 1513 ms

    <2011-08-08 17:27:56.29 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_assessment_SecurityCenter] : 18502 ms

    <2011-08-08 17:27:57.92 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_server_assessment] : 1623 ms

    <2011-08-08 17:27:59.20 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_ws2008r2_assessment] : 1279 ms

    <2011-08-08 17:27:59.23 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_assessment_AggregatePerfData] : 31 ms

    <2011-08-08 17:28:02.30 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_windows7_assessment] : 3073 ms

    <2011-08-08 17:31:08.96 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_office2010_assessment] : 186655 ms

    <2011-08-08 17:31:17.93 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_server_role_assessment] : 8970 ms

    <2011-08-08 17:31:18.64 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_assessment_IEDiscovery] : 718 ms

    <2011-08-08 17:31:42.09 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_office365_assessment] : 23447 ms

    <2011-08-08 17:31:42.34 AssessInventoryWorker@StoredProcAssessment,I> RunAssessment() - [Perf] [sp_assessment_UsageTrackerExchange] : 250 ms

    <2011-08-08 17:31:42.34 AssessInventoryWorker@Analyzer,I> RunAssessments() - Elapsed time for assessment 'StoredProcAssessment': 283376 ms

    <2011-08-08 17:31:43.10 AssessInventoryWorker@Analyzer,I> RunAssessments() - Elapsed time for assessment 'SpecIntApproxAssessment': 764 ms

    <2011-08-08 17:31:43.10 AssessInventoryWorker@Analyzer,I> RunAssessments() - Elapsed time for assessment 'SetAssessmentFlagsAssessment': 0 ms

    <2011-08-08 17:31:43.10 AssessInventoryWorker@Analyzer,I> RunAssessments() - Assessment completed successfully.

    <2011-08-08 17:31:43.10 AssessInventoryWorker@AssessInventoryWorker,I> AssessmentCompletedEventHandler: Assessment completed event.

    <2011-08-08 17:31:43.12 AssessInventoryWorker@TaskProcessor,I> TaskProcessor.WorkerCompleted: Worker: 'AssessInventoryWorker'

    <2011-08-08 17:31:43.12 TID-6@TaskProcessor,I> TaskProcessor.Run: Completed. Status: Succeeded

    <2011-08-08 17:31:43.15 TID-6@ProgressPage,I> ProgressPage.TaskCompletedCallback: sender: Microsoft.AssessmentPlatform.UI.Console.Tasks.TaskProcessor

    <2011-08-08 17:31:47.02 TID-1@ProgressPage,I> ProgressPage.FormClosingHandler: Closing reason: UserClosing

    <2011-08-08 17:31:48.14 TID-1@ReportProposalHelper,I> OnGenerateReportProposal: Owner: Microsoft.AssessmentPlatform.UI.Console.Views.Win7ReadinessView

    <2011-08-08 17:31:48.41 TID-11@TaskProcessor,I> TaskProcessor.Run: Processing task: 'Generate Proposals'

    <2011-08-08 17:31:48.41 TID-11@TaskProcessor,I> TaskProcessor.StartWorkers: Starting worker thread: 'Generate proposals'

    <2011-08-08 17:31:48.41 Generate proposals@TaskProcessor,I> TaskProcessor.RunWorker: Running worker: 'Generate proposals'

    <2011-08-08 17:31:48.42 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenStartedEventHandler: Start event.

    <2011-08-08 17:31:48.42 Generate proposals@DocumentManager,I> Generate proposal Windows7Proposal

    <2011-08-08 17:31:48.44 Generate proposals@DocumentSigning,I> DocumentSigning:Load Config File DocumentSigningConfig.xml

    <2011-08-08 17:31:48.77 Generate proposals@DocumentGenerator,I>  CreateWordDoc: Windows7Proposal-08-08-2011-17h31m48s

    <2011-08-08 17:32:47.71 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenProgressHandler: Progress event.

    <2011-08-08 17:32:47.71 Generate proposals@DocumentManager,I> Document Manager completed with Success

    <2011-08-08 17:32:47.71 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenCompletedEventHandler: Completed event.

    <2011-08-08 17:32:47.71 Generate proposals@TaskProcessor,I> TaskProcessor.WorkerCompleted: Worker: 'Generate proposals'

    <2011-08-08 17:32:47.71 TID-11@TaskProcessor,I> TaskProcessor.Run: Processing task: 'Generate Reports'

    <2011-08-08 17:32:47.71 TID-11@TaskProcessor,I> TaskProcessor.StartWorkers: Starting worker thread: 'Generate reports'

    <2011-08-08 17:32:47.73 Generate reports@TaskProcessor,I> TaskProcessor.RunWorker: Running worker: 'Generate reports'

    <2011-08-08 17:32:47.73 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenStartedEventHandler: Start event.

    <2011-08-08 17:32:47.73 Generate reports@DocumentManager,I> Generate proposal Windows7Assessment

    <2011-08-08 17:32:47.73 Generate reports@DocumentSigning,I> DocumentSigning:Load Config File DocumentSigningConfig.xml

    <2011-08-08 17:32:47.84 Generate reports@DocumentGenerator,I>  CreateWordDoc: Windows7Assessment-08-08-2011-17h32m47s

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerator,E> DocumentGenerator: An exception occurred - '', hexadecimal value 0x05, is an invalid character.

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerator,E>    at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)

       |   at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)

       |   at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)

       |   at System.Xml.XmlWellFormedWriter.WriteString(String text)

       |   at DocumentFormat.OpenXml.OpenXmlLeafTextElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.SaveToPart(OpenXmlPart openXmlPart)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.Save()

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.SharedStringTableManager.SaveSharedStringTable(WorkbookPart workbookPart)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.Workbookgen.CreateWorkbook(String installPath, String customTemplatePath, String masterTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.Workbookgen.Generate(DataAccessLayer dataAccessLayer, String documentDataXmlFileName, String outputFileName, String installPath, String customTemplatePath, String masterTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.CreateDocument(Boolean createProposal, String databaseServerName, String databaseName, String xmlFilePath, String inputTemplateName, String outputDirectory, String outputFileName, String masterTemplatePath, String customTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerator,E> Document Generator: An exception occurred - '', hexadecimal value 0x05, is an invalid character.

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerator,E>    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerator,I> Document Generator: Raising Failed Event!

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenProgressHandler: Progress event.

    <2011-08-08 17:34:03.22 Generate reports@DocumentManager,I> Document Manager completed with Failure

    <2011-08-08 17:34:03.22 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenCompletedEventHandler: Completed event.

    <2011-08-08 17:34:03.22 Generate reports@TaskProcessor,I> TaskProcessor.WorkerCompleted: Worker: 'Generate reports'

    <2011-08-08 17:34:03.22 TID-11@TaskProcessor,I> TaskProcessor.Run: Completed. Status: Failed

    <2011-08-08 17:34:03.22 TID-11@ProgressPage,I> ProgressPage.TaskCompletedCallback: sender: Microsoft.AssessmentPlatform.UI.Console.Tasks.TaskProcessor

    <2011-08-08 17:34:14.17 TID-1@ProgressPage,I> ProgressPage.FormClosingHandler: Closing reason: UserClosing

    <2011-08-08 17:36:39.24 TID-1@MAPSMain,I> ConsoleMain.Main: Application exiting.

    <2011-08-08 18:00:28.22 TID-1@DefaultLogRecordSink,I> 

       |========================================

       |

       |Logging started at 08/08/2011 18:00:28

       |    Application:     Microsoft.AssessmentPlatform.UI.Console.exe Build 6.0.3939.0 retail

       |    Platform:        Win32NT 6.1.7600.0 

       |    UI Culture:      en-US

       |    Culture:         en-US

       |    Architecture:    32-bit

       |    OS Product Name: Microsoft Windows 7 Enterprise

       |

       |========================================

    <2011-08-08 18:00:29.12 TID-1@MAPSMain,I> ConsoleMain.Main: Checking version values.

    <2011-08-08 18:00:30.03 TID-1@AnalyticsConfigXml,I> Got Download URLs, URL for Inventory -> http://go.microsoft.com/fwlink/?LinkId=115180, URL for Report -> http://go.microsoft.com/fwlink/?LinkId=115181, URL for Inventory and Report -> http://go.microsoft.com/fwlink/?LinkId=115182, URL for Download Only -> http://go.microsoft.com/fwlink/?LinkId=115183, URL for Device Version -> http://go.microsoft.com/fwlink/?LinkId=152572

    <2011-08-08 18:00:30.03 TID-1@MAPSMain,I> CheckVersion: VersionAction reg key value: ''

    <2011-08-08 18:00:30.04 TID-1@MAPSMain,I> Open Master UI Console

    <2011-08-08 18:00:30.53 TID-1@ConsoleWindow,I> ConsoleWindow.CheckReferenceMaterialsDownload: Download updates option enabled. Spawning thread to download of reference materials.

    <2011-08-08 18:00:30.53 TID-5@ConsoleWindow,I> ConsoleWindow.DownloadReferenceMaterials: Starting reference materials download.

    <2011-08-08 18:00:30.53 TID-5@DownloadUtil,I> Starting DownloadUtil()

    <2011-08-08 18:00:30.62 TID-1@WunderBarBasePage,I> DisplayViewPage: Opening view type: InventoryAssessmentOverview

    <2011-08-08 18:00:38.43 TID-10@OpenCreateDbDialogViewModel,I> OpenAnExistingDatabase(MAP_DB): Opening database. Version: 3427

    <2011-08-08 18:00:44.12 TID-1@WunderBarBasePage,I> DisplayViewPage: Opening view type: Win7ReadinessView

    <2011-08-08 18:00:51.90 TID-1@ReportProposalHelper,I> OnGenerateReportProposal: Owner: Microsoft.AssessmentPlatform.UI.Console.Views.Win7ReadinessView

    <2011-08-08 18:00:54.40 TID-5@DownloadUtil,E> An exception occurred in method: DownloadUtil:GetDownloadFromURL()

       |Exception message: Unable to connect to the remote server

       |Stack trace:

       |   at System.Net.HttpWebRequest.GetResponse()

       |   at Microsoft.AssessmentPlatform.UI.Console.DownloadUtil.GetDownloadFromURL(String installDir, String url)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.UI.Console.DownloadUtil.GetDownloadFromURL(String installDir, String url)

       |

    <2011-08-08 18:00:54.40 TID-5@ConsoleWindow,I> ConsoleWindow.DownloadReferenceMaterials: Completed reference materials download. Status: fail

    <2011-08-08 18:00:55.07 TID-10@TaskProcessor,I> TaskProcessor.Run: Processing task: 'Generate Proposals'

    <2011-08-08 18:00:55.60 TID-10@TaskProcessor,I> TaskProcessor.StartWorkers: Starting worker thread: 'Generate proposals'

    <2011-08-08 18:00:55.60 Generate proposals@TaskProcessor,I> TaskProcessor.RunWorker: Running worker: 'Generate proposals'

    <2011-08-08 18:00:56.49 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenStartedEventHandler: Start event.

    <2011-08-08 18:00:56.49 Generate proposals@DocumentManager,I> Generate proposal Windows7Proposal

    <2011-08-08 18:00:59.09 Generate proposals@DocumentSigning,I> DocumentSigning:Load Config File DocumentSigningConfig.xml

    <2011-08-08 18:01:09.94 Generate proposals@DocumentGenerator,I>  CreateWordDoc: Windows7Proposal-08-08-2011-18h01m09s

    <2011-08-08 18:03:09.13 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenProgressHandler: Progress event.

    <2011-08-08 18:03:09.13 Generate proposals@DocumentManager,I> Document Manager completed with Success

    <2011-08-08 18:03:09.13 Generate proposals@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenCompletedEventHandler: Completed event.

    <2011-08-08 18:03:09.17 Generate proposals@TaskProcessor,I> TaskProcessor.WorkerCompleted: Worker: 'Generate proposals'

    <2011-08-08 18:03:09.17 TID-10@TaskProcessor,I> TaskProcessor.Run: Processing task: 'Generate Reports'

    <2011-08-08 18:03:09.17 TID-10@TaskProcessor,I> TaskProcessor.StartWorkers: Starting worker thread: 'Generate reports'

    <2011-08-08 18:03:09.17 Generate reports@TaskProcessor,I> TaskProcessor.RunWorker: Running worker: 'Generate reports'

    <2011-08-08 18:03:09.17 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenStartedEventHandler: Start event.

    <2011-08-08 18:03:09.17 Generate reports@DocumentManager,I> Generate proposal Windows7Assessment

    <2011-08-08 18:03:09.17 Generate reports@DocumentSigning,I> DocumentSigning:Load Config File DocumentSigningConfig.xml

    <2011-08-08 18:03:09.28 Generate reports@DocumentGenerator,I>  CreateWordDoc: Windows7Assessment-08-08-2011-18h03m09s

    <2011-08-08 18:04:34.52 Generate reports@DocumentGenerator,E> DocumentGenerator: An exception occurred - '', hexadecimal value 0x05, is an invalid character.

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerator,E>    at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)

       |   at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)

       |   at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)

       |   at System.Xml.XmlWellFormedWriter.WriteString(String text)

       |   at DocumentFormat.OpenXml.OpenXmlLeafTextElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlCompositeElement.WriteContentTo(XmlWriter w)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.WriteTo(XmlWriter xmlWriter)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.SaveToPart(OpenXmlPart openXmlPart)

       |   at DocumentFormat.OpenXml.OpenXmlPartRootElement.Save()

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.SharedStringTableManager.SaveSharedStringTable(WorkbookPart workbookPart)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.Workbookgen.CreateWorkbook(String installPath, String customTemplatePath, String masterTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.Workbookgen.Generate(DataAccessLayer dataAccessLayer, String documentDataXmlFileName, String outputFileName, String installPath, String customTemplatePath, String masterTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentCreator.CreateDocument(Boolean createProposal, String databaseServerName, String databaseName, String xmlFilePath, String inputTemplateName, String outputDirectory, String outputFileName, String masterTemplatePath, String customTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerator,E> Document Generator: An exception occurred - '', hexadecimal value 0x05, is an invalid character.

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerator,E>    at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.GenerateDocument(String databaseServerName, String databaseName, String masterTemplatePath, String customTemplatePath)

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |Location of error report:

       |   at Microsoft.AssessmentPlatform.DocumentGenerationEngine.DocumentGenerator.CreateDocument(String databaseServerName, String databaseName, String[] scenarioXml, String masterTemplatePath, String customTemplatePath)

       |

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerator,I> Document Generator: Raising Failed Event!

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenProgressHandler: Progress event.

    <2011-08-08 18:04:34.60 Generate reports@DocumentManager,I> Document Manager completed with Failure

    <2011-08-08 18:04:34.60 Generate reports@DocumentGenerationWorker,I> DocumentGenerationWorker.DocGenCompletedEventHandler: Completed event.

    <2011-08-08 18:04:34.60 Generate reports@TaskProcessor,I> TaskProcessor.WorkerCompleted: Worker: 'Generate reports'

    <2011-08-08 18:04:34.60 TID-10@TaskProcessor,I> TaskProcessor.Run: Joining with thread: ID: '11' Name: 'Generate reports'

    <2011-08-08 18:04:34.60 TID-10@TaskProcessor,I> TaskProcessor.Run: Completed. Status: Failed

    <2011-08-08 18:04:34.61 TID-10@ProgressPage,I> ProgressPage.TaskCompletedCallback: sender: Microsoft.AssessmentPlatform.UI.Console.Tasks.TaskProcessor

    <2011-08-08 18:06:04.76 TID-1@ProgressPage,I> ProgressPage.FormClosingHandler: Closing reason: UserClosing

  • Wednesday, August 10, 2011 3:44 PM
     
     Answered

    Generate reports@DocumentGenerator,E> DocumentGenerator: An exception occurred - '', hexadecimal value 0x05, is an invalid character.

    Because of this line, I believe that the error is caused by Hebrew characters in Device Manager.

    We ended up writing a custom SQL query to export the Windows 7 inventory data

    • Marked As Answer by Ariel Bar Wednesday, August 10, 2011 3:48 PM
    •  
  • Wednesday, October 10, 2012 1:22 PM
     
     
    Is there any solution for this s yet..? could you share the SQL query atleast so i culd generate the report asap
  • Wednesday, October 10, 2012 3:42 PM
    Moderator
     
     Proposed Answer

    Starting in MAP 7 (The current version as of the writing of this response) MAP automatically removes illegal characters so that this is no longer an issue.



    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. Please VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

    • Proposed As Answer by Prajwal.Shetty Saturday, October 13, 2012 11:41 AM
    •  
  • Thursday, October 11, 2012 11:15 AM
     
     

    Hi Ariel,

    Can you please share the Custom SQL Query to export the Windows 7 inventory data asap, as we getting the same issue and not able to resolve it.


    Thanks and Regards, Mohd Zaid www.techforcast.com

  • Thursday, October 11, 2012 5:54 PM
    Moderator
     
     Answered
    Upgrading to MAP 7.0 solves this problem and makes using the custom query no longer necessary.


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. Please VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.