10-19-2010, 11:16 AM
|
csThom
Joined on 10-20-2010
Posts 4
|
Error(Open): This command is not available because no document is open
|
 
 
|
|
|
The Word2ChmConverter works fine when running using the UI or when using a batch file (double click on the batch file). However, when we try to run the exact same batch file on the same machine, ... but using the Task Scheduler (on a Windows 7 Enterprise machine), we keep receiving the following error (I'm including the result of the log):
[19/10/2010 20:00:20] ============================================================
[19/10/2010 20:00:20] Application Begin
[19/10/2010 20:00:20] ============================================================
[19/10/2010 20:00:20] EXE: C:\Builds\doc\WordCHM\Word-2-CHM.exe
[19/10/2010 20:00:20] Current Path: C:\Builds\doc\WordCHM
[19/10/2010 20:00:20] File: c:\Builds\Doc\word\Components.docx
[19/10/2010 20:00:22] Open(0): c:\Builds\Doc\word\Components.docx
[19/10/2010 20:00:22] Opened(0)!
[19/10/2010 20:00:22] Error(Open): This command is not available because no document is open
[19/10/2010 20:00:40] Error: E,-EXP:W14.0.5123,,W1@5,F|Ope,Word2Xml2.DoWord2Html,This command is not available because no document is open@WordUtils0.EmbedLinkedImages
[19/10/2010 20:00:41] ============================================================
[19/10/2010 20:00:41] Application End
[19/10/2010 20:00:41] ============================================================
Tried everything ... tx for your help!
this is the command what's inside our cmd file:
Word-2-CHM.exe /pFile="c:\Builds\Doc\word\Components.docx" /pOutPath="c:\Builds\Doc\Output" /pOverwrite=true /pAuto=True /pQuiet=true /pDebug=true
(remember: when just double-cliking the cmd file, everything works fine and the chm is generated correctly)
|
|
|
|
|
Report
|
|
|
|