A error occurred when generating a document file ".chm"

Topics: Architecture
Apr 16, 2008 at 4:43 AM
hi You, i met a error as below when generating a document file ".chm":

MrefBuilder (v2.4.10111.0)
Copyright c Microsoft 2006
Error: An error occured while loading dependency assemblies. The error message i
s: Could not find a part of the path 'E:\MyProjects\Hanoi\DinnerNow\scripts\docu
mentation\dll\dependencies'.
XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Error: The transform file 'C:\Program Files\Sandcastle\ProductionTransforms\AddO
verloads.xsl' could not be loaded. The error is: Could not find file 'C:\Program
Files\Sandcastle\ProductionTransforms\AddOverloads.xsl'.
XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\ProductionTransfo
rms\ReflectionToManifest.xsl'.
Error: The input file 'reflection.xml' could not be loaded. The error is: Could
not find file 'E:\MyProjects\Hanoi\DinnerNow\scripts\documentation\reflection.xm
l'.
97 File(s) copied
7 File(s) copied
1 File(s) copied

----------------------------------------------------------------------------
Run BuildAssembler
----------------------------------------------------------------------------

BuildAssembler (v2.4.10111.0)
Copyright c Microsoft 2006
Info: CopyFromFileComponent: Instantiating component.
Info: CopyFromFileComponent: Loading data file 'C:\Program Files\Sandcastle\\Pre
sentation\vs2005\Transforms\skeleton.xml'.
Info: CopyFromIndexComponent: Instantiating component.
Info: CopyFromIndexComponent: Searching for files that match 'reflection.xml'.
Info: CopyFromIndexComponent: Searching for files that match 'C:\Program Files\S
andcastle\\Data\cpref_reflection\*.xml'.
Error: BuildAssembler: An error occured while initializing the build component '
Microsoft.Ddue.Tools.CopyFromIndexComponent' in the component assembly 'C:\Progr
am Files\Sandcastle\\ProductionTools\BuildComponents.dll'. The error message and
stack trace follows: System.IO.DirectoryNotFoundException: Could not find a par
t of the path 'C:\Program Files\Sandcastle\Data\cpref_reflection'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String user
PathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, S
earchOption searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOpti
on searchOption)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Microsoft.Ddue.Tools.IndexedDocumentCache.AddDocuments(String wildcardPath
)
at Microsoft.Ddue.Tools.IndexedDocumentCache.AddDocuments(String baseDirector
y, String wildcardPath, Boolean recurse)
at Microsoft.Ddue.Tools.CopyFromIndexComponent..ctor(BuildAssembler assembler
, XPathNavigator configuration)

----------------------------------------------------------------------------
Creating CHM project
----------------------------------------------------------------------------

XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\ProductionTransfo
rms\ReflectionToChmProject.xsl'.
Error: The input file 'reflection.xml' could not be loaded. The error is: Could
not find file 'E:\MyProjects\Hanoi\DinnerNow\scripts\documentation\reflection.xm
l'.
XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Error: The transform file 'C:\Program Files\Sandcastle\ProductionTransforms\Refl
ectionToChmContents.xsl' could not be loaded. The error is: Could not find file
'C:\Program Files\Sandcastle\ProductionTransforms\ReflectionToChmContents.xsl'.
XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Info: Applying XSL transformation 'C:\Program Files\Sandcastle\ProductionTransfo
rms\ReflectionToChmIndex.xsl'.
Error: The input file 'reflection.xml' could not be loaded. The error is: Could
not find file 'E:\MyProjects\Hanoi\DinnerNow\scripts\documentation\reflection.xm
l'.

----------------------------------------------------------------------------
Creating HxS project
----------------------------------------------------------------------------

XslTransform (v2.4.10111.0)
Copyright c Microsoft 2005-2006
Error: The transform file 'C:\Program Files\Sandcastle\ProductionTransforms\Refl
ectionToHxSContents.xsl' could not be loaded. The error is: Could not find file
'C:\Program Files\Sandcastle\ProductionTransforms\ReflectionToHxSContents.xsl'.

----------------------------------------------------------------------------
Compile CHM
----------------------------------------------------------------------------

Unable to open test.hhp.
----------------------------------------------------------------------------
Compile HxS
----------------------------------------------------------------------------

The system cannot find the path specified.

What should i do to fix it?

Thanks
DX