Copy link to clipboard
Copied
In RH8, I've compiled successfully, per the RH
message, BUT in the Output View it says the following:
Fatal Error: Unexpected error from Microsoft HTML compiler.
Secondly, when I click on the View button to view the .chm, nothing happens.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This issue has changed. After compiling, now I get no window that states it compiled the .chm successfully, do I want to view it, etc.? Plus when I go to where I've directed the .chm file to go, I get this message:
Now I've tried the open the file again and I get the first error:
Copy link to clipboard
Copied
My guess is you are generating to a network location. Generate to your hard drive.
See http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm for why you cannot generate to a network drive.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
No, I am generating to my c: hard drive!!
Copy link to clipboard
Copied
Can we go back a step? Can you compile any project successfully? If not, try running the HTML Help Diagnostics package available here. This can often find issues with the compiler and fix them.
The RoboColum(n) | @robocolumn | Colum McAndrew |
Copy link to clipboard
Copied
Okay, thanks, Colum.
I ran the diagnostics report and I'm copying it below. Can you help me interpret this?
MJ's Help ReportMJ's Help Report
A common problem with HTML Help 1.x is DLLs not correctly registered during
installation. This utility checks all components and registers DLLs if required.
We also report if the RoboHelp DLL is registered, and if MS Help 2 components
are installed and registered.
After running the report, try running your program again to see if the fault has
cleared.
General Info
Report EXE: C:\Documents and Settings\ryangx\Local Settings\Temp\wz03a6\MJsDiag.exe
Report Run Date: 4/21/2011 9:41:13 AM
Report EXE Version: 2.7.2.0
Download URL: http://helpware.net/downloads/ System: Windows NT 5.1.2600
SysLocale.DefaultLCID: 0x0409 (1033)
SysLocale.PriLangID: 0x0009 (9)
SysLocale.SubLangID: 0x0001 (1)
DecimalSeparator: .
Operating
HH Installed: YES
HH Version: 5.2.3790.4110
HH Friendly Version: > 1.4a
H2 Installed: NO
H2 Version:
IE Installed: YES
IE Version: 6.0.2900.6058
IE Friendly Version: Internet Explorer 6 (Windows XP SP2)
NT Administrator
NT Admin Check: Current user has full administor privileges: YES
HTML Help Run-time Components
File Registered OK: C:\WINNT\system32\hhctrl.ocx (Version: 5.2.3790.4110)
File Registered OK: C:\WINNT\system32\itss.dll (Version: 5.2.3790.4186)
File Registered OK: C:\WINNT\system32\itircl.dll (Version: 5.2.3790.2453)
File Found: C:\WINNT\system32\hhctrl.ocx
Version = 5.2.3790.4110
Registry Info: {adb880a6-d8ff-11cf-9377-00aa003b7a11}
ClassName = HHCtrl Object
InProcServer32 = C:\WINNT\system32\hhctrl.ocx
ProgID = Internet.HHCtrl.1
DLL is Found and Registered OK = YES
File Found: C:\WINNT\system32\itss.dll
Version = 5.2.3790.4186
Registry Info: {5D02926A-212E-11D0-9DF9-00A0C922E6EC}
ClassName = Microsoft InfoTech IStorage System
InProcServer32 = C:\WINNT\system32\itss.dll
ProgID = MSITFS1.0
DLL is Found and Registered OK = YES
File Found: C:\WINNT\system32\itircl.dll
Version = 5.2.3790.2453
Registry Info: {4662DAA5-D393-11D0-9A56-00C04FB68BF7}
ClassName =
InProcServer32 = C:\WINNT\system32\itircl.dll
ProgID = ITIR.WordWheelBuild.4
DLL is Found and Registered OK = YES
For HH Version Info See: http://helpware.net/htmlhelp/hh_info.htm
HTML Help 1.x Registry Settings
Description: If present this Key can disable HH Shortcuts and HH WinHelp commands on the local PC
Reference: KB 810687, KB 323180
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\
Value: HelpQualifiedRootDir (string value) =
-> Report: Policy is not enabled. HH Shortcuts are not restricted on local machine.
Description: This key can be used to enable Hhctrl.ocx ActiveX Visual controls on servers
Reference: KB 892675
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions
Value: UrlAllowList (string value) =
Value: MaxAllowedZone (string value) = 2
-> Report: Settings reported for information only.
Description: This key allows MS programs such as iexplore.exe to open ITS file that do not have a .CHM file extension
Reference: KB 873343
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HelpRestrictions\AllowedExtensions
-> Report: No special file extensions have been enabled on this PC.
Description: This key can be used to allow access to remote ITS files
Reference: Win 2003 SP1, KB 896054
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions
Value: UrlAllowList (string value) =
Value: MaxAllowedZone (string value) =
Value: NestedProtocolList (string value) =
-> Report: Settings reported for information only.
For HH Registry Info See: http://helpware.net/htmlhelp/hh_info.htm#hh14
HTML Help 1.x Workshop Components
*** HH Workshop not found or not installed correctly. Try reinstalling.
File not found: C:\Program Files\itcc.dll
File Found: C:\WINNT\system32\hha.dll (Version: 4.74.8702.0)
KeyHelp OCX by Keyworks.net - KeyHelp.ocx
This is for information only. KeyHelp is a 3rd party DLL.
*** KeyHelp.ocx is not registered or not installed!
*** You can register your KeyHelp.ocx using the "Register a DLL" button.
*** KeyHelp.ocx could be installed anywhere on your PC by normally resides in the Windows System folder.
For More Info See: http://keyworks.net/
RoboHelp DLL by eHelp/Macromedia - HHActiveX.dll
Registration Info: {399CB6C4-7312-11D2-B4D9-00105A0422DF}
Version = 8.0.0.203
ClassName = HHComponentActivator Class
InProcServer32 = C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\HHActiveX.dll
ProgID = HHActiveX.HHComponentActivator.1
Dll Found and Registered = YES
For More Info See: http://www.macromedia.com/
MS Help 2 Run-time Components
*** MS Help 2 NOT installed on this PC
Advert: Sick of spending $1000's of dollars every year on Authoring Tools?
Shareware program FAR replaces MS Help 1.x and 2.x Workshops, and contains
many HTML time saving tools. Go to http://helpware.net/FAR/
Copy link to clipboard
Copied
Looks like you're missing or have a damaged copy of Microsoft's HTML Workshop - try uninstalling it & re-download it from MS's website.
Copy link to clipboard
Copied
thank you , Jeff. I will try that. but first, since I was able to compile and view another project chm file, I feel the problem with the first project may be somewhere in the project files. what about that? For one thing, I inherited these two projects from another writer who set up the projects. I have not had the opportunity to discuss anything with this writer, so I'm trying to just follow and add material.
Copy link to clipboard
Copied
Colum,
In response to your question whether another project was able to compile successfully, yes I was able to compile another project and view the .chm without a problem.
Copy link to clipboard
Copied
Try as Jeff said. Download and install the Microsoft HTML Workshop from here. If this doesn't work, there must be something in your project that is causing the issue. Have you added some content recently? Take a copy of your project, remove half the content and compile. If it works you know the problem is with the other half. Repeat the process until you find the topic at fault.
The RoboColum(n) | @robocolumn | Colum McAndrew |
Copy link to clipboard
Copied
okay, I ran the HTMLhelp.exe, and I got the message: It's already installed on this machine. So, after looking back at the Report, this also looked like an error:
MS Help 2 Run-time Components
*** MS Help 2 NOT installed on this PC
what do you think?
Copy link to clipboard
Copied
Probably an issue with the project - try Colum's advice to find the offending topic.
Copy link to clipboard
Copied
I've found a topic with a red x and wouldn't allow me to vi
ew. Then RH shut down.
Advice? should I delete it?
Copy link to clipboard
Copied
Assuming you've made a backup of the project; sure, go ahead & see if that's your problem topic.
Copy link to clipboard
Copied
okay, I deleted it and another topic that
was red. I recompiled and got the same message about Fatal Error. But the screen saying it compiled successfully appeared, I tried to view the chm but nothing. Same problem..
Copy link to clipboard
Copied
okay, I've fixed all the issue I could find in all my topics. I still get the message when I compile:
and my question is: what is mk:@MSITStore: in the path name?
Copy link to clipboard
Copied
You could try these links that have solutions.
http://www.robworley.com/2005/03/what-does-cannot-open-the-file-mkmsitstore-mean/
http://www.tomshardware.co.uk/forum/55394-35-open-files-cannot-open-file-msitstore
I'm not sure they will work though as they involve registering certain DLLs and I would have thought that if that is the problem, it would affect all CHMs.
****************************************
After preparing the above I looked through the second thread and found something that seems to fit your scenario as it would apply to just one CHM being affected. Your path has brackets in it, something I would always discourage.
Give this a try first.
I finally found out that the error was caused because the name of the directory containing the .chm files had non-English characters. After changing the directory's name to simple English - everything works.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi Peter,
yes, do you mean the parentheses around the words NERC Restricted? (NERC_Restricted)? If so, I have renamed the file removing these and replacing them with underscores, that is, _NERC_Restricted_. After renaming, I tried to open the file but got the error "This program can't display the web page."
Copy link to clipboard
Copied
Is it simply the total length of the path?
If you copy this file to the C:\ drive root and rename it to callout_notnerc.chm, will it open then?
Good luck,
Leon
Copy link to clipboard
Copied
okay. I've copied below what I see at the bottom of the output file:
Warning: The size of stop file has to be limited in 512 bytes.
Warning: Data loss in converting Topic of Contents data using choosen language.
C:\Documents and Settings\ryangx\My RoboHelp Projects\Adobe RoboHelp 8\Callout Guide\!SSL!\Microsoft_HTML_Help\!chm_tmp_folder_0\Callout_Guide_(NERC_Restricted).hhp
Microsoft HTML Help Compiler 4.74.8702
Compiling c:\Documents and Settings\ryangx\My RoboHelp Projects\Adobe RoboHelp 8\Callout Guide\!SSL!\Microsoft_HTML_Help\Callout_Guide_(NERC_Restricted).chm
Callout_Guide_(NERC_Restricted).hhc
Fatal Error: Unexpected error from Microsoft HTML compiler.
Finished compiling HTMLHELP in 54 sec(s)
Compilation complete.
any suggestions?
Copy link to clipboard
Copied
I think your folder length is way too long - try putting the project in your c:\projects\ folder off the root.
Copy link to clipboard
Copied
Three things.
Warning: The size of stop file has to be limited in 512 bytes.
Ignore. You will always get that.
Warning: Data loss in converting Topic of Contents data using choosen language.
Could be relevant but I don't know what language settings you have applied. I would be surprised if multiple languages are supported in CHMs but I don't work with them much and then only in English.
Path
Two people have mentioned the length and I have mentioned the brackets that are still there.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
SUCCESS! I removed one folder from the path and Voila! Compiled, was able to view .chm and was able to open .chm.
Peter, I don't know what you refer to as "brackets." do you mean the parentheses around "NERC_Restricted?" I did not remove the parentheses and it compiled fine. Also, looking over the project files, there are many, many topics with parens () in them.
thanks to everyone who helped me through this.
Copy link to clipboard
Copied
You asked that in an earlier post and indicated you had worked out what I meant by brackets.
do you mean the parentheses around the words NERC Restricted? (NERC_Restricted)? If so, I have renamed the file removing these and replacing them with underscores, that is, _NERC_Restricted_. After renaming, I tried to open the file but got the error "This program can't display the web page."
That was when you stopped getting the dialog in your second post in this thread but, as far as I can make out, you then started getting Page Cannot be Displayed messages. That seems to have stopped now that you have shortened the path length.
Are you saying that the brackets () are back in and that ONLY the path length is shorter? If so I am puzzled as if that was the sole problem, why did the message change when you removed them?
See www.grainge.org for RoboHelp and Authoring tips