I was busy demonstrating how to create a .CHM help file from XML documentation in some C# code using Sandcastle. Is saved the file into a directory C:\Demos\C#\XMLDoc. When I opened up the .chm help file, the error below was shown:
With a bit of searching, I found the answer:
.chm Files do not like the # ? & and + characters in the pathname.
I renamed the C# folder to CSharp, i.e. C:\Demos\CSharp\XMLDoc and it worked.