By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,490 Members | 1,789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,490 IT Pros & Developers. It's quick & easy.

HHC5013: Error: URL reference in the TOC cannot be resolved:

P: n/a

<HHC5013: Error: URL reference in the TOC cannot be

< The following files were not compiled:

I get this error every time I open an existing HTML Help Workshop project,
insert a new page to the project and then compile the project.
With a new project, I can insert all the pages I want and I never get this
error when compiling.
As soon as I close the project and reopen it, I am no longer able to insert
new pages without getting this error
when compiling.
Feb 17 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I've only worked with HTML Help Workshop in a limited fashion, but it
sounds like it is not finding a link in the TOC file associated with
your primary help project. Find the TOC that is included in your
'Contents file' attribute. If you don't know where the table of
contents is, open your project file (.hhp), look at the 'Options'
section, for the 'Contents file' key and locate this file on the drive
that houses your project.

That key should read:
"Contents file=SomeFileName.hhc"

Open this file using Notepad vice HTML Help Workshop. Find the
troublesome "Link.htm" reference and you should be closer to solving
your problem.

It should appear as an object parameter in a list item of one of the
unordered lists in this file. Most of these objects have three primary
parameters: "Name", "Local", and "ImageNumber". 'Name' is the title of
this heading/page in your table of contents, 'Local' is the address of
the file that is associated with this header/page, and 'ImageNumber' is
a constant representing the icon that displays left of the 'Name'
attribute in the table of contents.

The TOC entry cannot be resolved because "Link.htm" is not a file in
the current help project directory.

Feb 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.