Documentation Script errors invoking help

Folks,

I'm not sure if this has just started happening after installing v18, since I can't remember the last time I invoked help from the previous v17 installation, but I get the following error dialog whenever I start help from Take Command:

tc18_help_invocation_script_error_dialog.png


and the help display is a mess, lacking most formatting, won't scroll, etc. Any ideas??

TCC 18.00.31 x64 Windows 7 [Version 6.1.7601]
TCC Build 31 Windows 7 Build 7601 Service Pack 1
 
Could be related to Internet Options (IE) ...
Interesting. I don't use IE as a rule and suspect that therefore the IE Internet Options are 'out of the box', albeit that this is a six year old box running Windows 7 and no doubt MS have pushed updates to their browser during that span. Any ideas on which options might be affecting this??
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,469
88
Albuquerque, NM
prospero.unm.edu
You might check whether the help file has any odd streams attached to it:
Code:
dir /: "%_cmdspec\..\tcmd.chm"

If you spot any weird streams, delete 'em. You may have to restart Take Command, HH, Internet Explorer, or reboot Windows afterwards.
 
this could be really interesting for your problem
Thanks for the tip but that all relates to not being able to find the mk:@MSITStore item, whereas my issue seems to be that the item has been found but a script run by it is failing.

check whether the help file has any odd streams attached to it
No streams attached to that file, odd or otherwise.

One further data point is that if, having received the error dialog and clicked on Yes (or No), I click on the Refresh button then the page displays correctly. Any attempt to navigate to another page results in a fresh error dialog for nsrInit but I can at least get the help pages to display in a readable form now.


BTW I've had a great deal of frustration posting this as something keeps taking focus from the edit box for the reply to higher in the page (probably the same logic that is putting the orange arrows on the bottom RH corner of the page). Most aggravating.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,469
88
Albuquerque, NM
prospero.unm.edu
No streams attached to that file, odd or otherwise.

Well, I'm disappointed. It was a nice, elegant theory.

I suppose you could reset Internet Explorer. (INETCPL.CPL, Advanced tab, Reset....) Kind of a blunt instrument, though, and if it does fix the issue, you still won't know what caused the problem.
 
Sadly resetting IE - whether that be via the Advanced Tab > Reset, via Security > Reset all zones to default level, or by deleting the browser history - does not have the desired effect. I also tried logging in as my PC admin account, which has never been used to access the web, whether that be using IE or any other browser, and it exhibits the same symptoms. With my paranoid hat on I've also run Malwarebytes Anti-Malware and Hitman Pro but neither found anything particularly untoward (a handful of toolbar related registry settings, although I have no active toolbar and no add-ons, and a bucket load of tracking cookies).

I've also discovered that whilst Refresh fixes the page layout if I then mouse over the navigation 'buttons' in the top RH corner of each page, they change to a missing image icon (although they still perform their function, if I can manage to click on them). This is all rather weird.
 

rconn

Administrator
Staff member
May 14, 2008
12,369
150
Folks,

I'm not sure if this has just started happening after installing v18, since I can't remember the last time I invoked help from the previous v17 installation, but I get the following error dialog whenever I start help from Take Command:

The help doesn't actually have anything to do with TCMD or TCC -- it's entirely run by Windows & IE.

An alternative would be to try the web help (https://jpsoft.com/help). If that works, you can change the .INI option to use web help instead of the local help.
 
Folks,

I'd already tried the mjsdiag and had also tried an SFC /SCANNOW but without succes. However, Rex's comment

The help doesn't actually have anything to do with TCMD or TCC -- it's entirely run by Windows & IE.

set me to thinking and I decided to try uninstalling the update to IE11 to see if that might reset things in some way. Thankfully, despite the uninstall taking a couple of hours to complete, it resolved the problem. Since I don't use IE the fact that I'm back on IE9 has no material effect for me.
 
Dear old Windows managed to 'upgrade' me back onto IE10, and that exhibited the same issue. Uninstalling that and falling back to IE9 again eliminated the nsrInit error. Reverting to IE9 is a perfectly acceptable solution for me, but I wonder whether others are running IE10 or IE11 in 64 bit Windows 7 without help system issues??
 
Jan 12, 2014
426
7
Switzerland, SO
Some (maybe last) ideas about it:

FIRST: MAKE A BACKUP OF YOUR SYSTEM!

Have you tried this from site:
http://www.robworley.com/2005/03/what-does-cannot-open-the-file-mkmsitstore-mean/
...

Delete the file “hh.dat”, which you should find in this subdirectory:

\Documents and Settings\%username%\Application Data\Microsoft\HTML Help

This file stores information about all the HTML Help files on your system (Favorites, window size and position, etc.), and can cause the files to misbehave if it has somehow been corrupted.

or this from same URL (probably as ADMINISTRATOR) ...

“Open a CMD window, type the following on the command line:

regsvr32 %systemroot%\system32\hhctrl.ocx
regsvr32 %systemroot%\system32\itss.dll

You will receive a success message after each of these commands.”

AND ...

Ensure, that you don't have special (non english) characters (such as "[") in related path name.

If this also not helps, i'm out of idea(s). Also, it could be a good thing to reinstall your OS (clean installation).

Greetings
Alpengreis
 
I made the mistake of spending yet more time on this, but none of the above makes any difference with IE10 - only rolling back to IE9 does the trick. Anyway, thanks for trying to help, and as I've said, I can live with it.
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly SCRIPT and GetObject Support 3
vefatica SCRIPT ... TCC disappears Support 2
T How can I send a simple parameter to a script, in tc 25? Support 2
vefatica PSHELL: How pass arguments to script? Support 15
EDerH Powershell call from script Support 24
Joe Caverly .PS1 script does not work with PSHELL Support 11
MickeyF running program from script and (not) returning to script Support 12
T Fixed Echo randomly activated in script Support 4
fpefpe How to? script error Support 1
fpefpe How to? script error Support 0
vefatica @SCRIPT bug persists Support 4
D Catching the result of an evaluated script expression Support 0
Joe Caverly Non-conforming @Script Support 6
M The Matrix: a useless script ... Support 5
fpefpe How to? LUA script Support 0
T Change language in script Support 4
R How to? Launch and execute commands in tcmd.exe through MSBuild Script. Support 3
Joe Caverly @SCRIPT does not like all comments Support 2
Mordachai Help! How to set parameters for script I'm debugging?! Support 6
fpefpe How to? Script support Support 8
JohnQSmith "SCRIPT" Support 7
rconn Script kiddies on the attack Support 4
krischik Stop Script after Syntax Error. Support 6
H Ruby - Running External Ruby script crashes TCC Support 11
Joe Caverly SCRIPT Command Support 2
T Obfuscating passwords in script Support 14
Stefano Piccardi IDE.exe start toobar button fails when % in script path Support 0
lassevk exit(1) in a python script exits console, by design or bug? Support 1
R break script on syntex error Support 7
K iftp script copy deletes target files Support 17
R script problem with mapped network drive Support 1
old coot Spurious errors (triggered by "for" construct?) when adding/removing "echo" lines Support 2
Jesse Heines Access Denied errors in TCC 27 Support 9
Peter Murschall PIPE Fittings makes Errors Support 3
vefatica What would cause these errors? Support 13
x13 MOUNTISO & MOUNTVHD errors Support 14
nickles Fixed Executing long command lines in a batch generates file name errors Support 16
vefatica Big numbers, strange errors Support 1
D Zip errors on large files. Support 4
vefatica DO /S ... ignore errors? Support 26
samintz HHCTRL errors Support 6
T How to? @files and trapping "no disk in drive errors" Support 4
S WAD %_do_errors does not report errors when loop control variable type is not directory entry Support 1
M How to? Handle errors in both a general and "complete" way... Support 6
dcantor Help file errors Support 0
epement Strawberry Perl batch file errors Support 15
C Unsuppressable errors from XML functions Support 5
D Executable load errors suppressed Support 5
dcantor Arithmetic errors in large numbers Support 12
J Two hard to reproduce errors Support 0

Similar threads