Can you try running Tools > Update DHTML? Also, if there is a file ehlpdhtm.js in the root of your project (not output), please delete it. That should solve the issue in the preview.
If the issue persists, are you using any DHTML effects such as fade in/out on your pages?
I've tried that with no luck so far. There was an ehlpdhtm.js file in the project, so I removed it, reopened the project, ran the Tools > Update DHTML, and still no luck. I also tried it again in reverse order.
I'm not using any fade in or out effects, but I think at one time we did have one or two that had some effects, if that might matter.
Willam, doesn't the ehlpdhtm.js file also provide the framework used by the Expanding and Drop-down hotspots as well as topic popups?
Here is some more information. I don't actually think this has to do with the converted projects. (I had to switch to testing in Windows 8, and no longer have access to the Windows 7 test at the moment.) In Windows 8 I converted the same projects and had the same problem, but with a different message. Instead of an error appearing as soon as I opened the topic, it only appeared when I tried to open a drop-down, and looks like this:
I tried the same workarounds listed above and the results were the same.
I then created a blank project completely from scratch, added a drop-down to the first topic, and received the same exact error as above. I also receive that error when adding an expanding text (also I don't them; just thought I'd test it). Just like in Windows 7, the drop-down works in Webhelp.
Could there be a problem with the ehlpdhtm.js file itself? The date of the file in the C drive is 05-11-15, if that's at all helpful.
I just uploaded my own ehlpdhtm.js file which seems to work fine.
Perhaps see if you can download it and save it to your own project location and see if it resolves the issue?
Thanks very much for everyone's help so far.
Had to wait until I got home to download this; tomorrow I'll see if IT will be willing to give it a try.
The only differences I found between the two files in the beginning symbol section. I assume I can leave the CHMfilename blank since we don't use chm? Should I change the rest and see what happens? I suspect maybe it's the activeX causing problems (but really have no idea).
var HH_ChmFilename = "D:\\Projects\\CalcDemo2\\CalcDemo2.chm";
var HH_WindowName = "NewWindow1";
var HH_GlossaryFont = "";
var HH_Glossary = "1";
var HH_Avenue = "1";
var HH_ActiveX = true;
var HH_ChmFilename = "";
var HH_WindowName = "";
var HH_GlossaryFont = "";
var HH_Glossary = "";
var HH_Avenue = "";
var HH_ActiveX = false;
@Rick: the ehlpdhtm.js does also control the dropdowns. But on removing it from your project directory, RH will copy a new version in when you open the project. I had some problems in the past with old ehlpdhtm.js files that weren't updated when the project was upgraded between RH versions.
Just to give an update - using the ehlpdhtm.js file from Rick didn't fix the issue and IT said they are sending it back to the "repackagers." I don't know what that means, but when I get it back for testing again, if it works, I'll see if I can find out what the solution was.
Thanks, Willam. Running the update and replacing the ehlpdhtm.js file helped me with my own errors. I was updating from RH9 to RH2015.