TOC disappears when run from other machines
I'm running RH8 for Word. We have a file that when I compile - looks great. We copy the hlp and cnt files to any ftp site and the TOC disappears. All topics are there; links work, graphics fine, etc. but the Table of Contents has vanished. We're using RoboHelp for Word and have been since v5.
If I run the AutoGenerate TOC function, the TOC disappears completely from the working file. Bear in mind, this is the same file we've been working from for the last 3 years and up until now has been working. We recently updated to v7 and upgraded again to v8 today.
I really appreciate any guidance anyone can give.
Here's a shot of the TOC in RH8 (and how it's appeared for quite some time in the compiled hlp file.)
RH8 view when Autogenerate TOC is run
Expansion of MerchantAG TOC
Incidentally, when other users run the file, they see the Welcome Topic, no TOC.
Kerry
Did you solve this issue? I am having a similar problem. We use a shared network drive to store our files so updates are instantaneous. When I first update, generate, and save the TOC is visible. When I go back later it is not visible, and not every user is having this issue. I am running RH 8 on XP using Office 2007.
Thanks,
Melanie
Similar Messages
-
How to run client from other machine in ejb
Please help me this problem .
When i run on local . Every thing is ok .
But when i run from different machine , it not work .
Although , i hava changed jnp://localhost:1099 to jnp:/xxx.xxx.xxx:1099 , xxx... this is my ipaddress .
I am using : net bean 6.9 , j2ee 1.4 , jboss application server 4.2.3GA
Thanks allThanks jverd and gimbal2 helped me .
I hava just write the small programme "Hello word "
This is my code .
I create EJB module : invokes : hello.java , helloRemote.java , helloRemoteHome.java .
hello.java*
package demo;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
+public class hello implements SessionBean {+
private SessionContext context;
+public void setSessionContext(SessionContext aContext) {+
context = aContext;
+}+
+public void ejbActivate() {+
+}+
+public void ejbPassivate() {+
+}+
+public void ejbRemove() {+
+}+
+public void ejbCreate() {+
+}+
+public String getMessage() {+
return "hello word";
+}+
+}+
helloRemote.java*
package demo;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
+public interface helloRemote extends EJBObject {+
String getMessage() throws RemoteException;
+}+
helloRemoteHome.java*
package demo;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
+public interface helloRemoteHome extends EJBHome {+
demo.helloRemote create() throws CreateException, RemoteException;
+}+
ejb-jar.xml*
+<?xml version="1.0" encoding="UTF-8"?>+
+<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">+
+<display-name>helloword</display-name>+
+<enterprise-beans>+
+<session>+
+<display-name>helloSB</display-name>+
+<ejb-name>hello</ejb-name>+
+<home>demo.helloRemoteHome</home>+
+<remote>demo.helloRemote</remote>+
+<ejb-class>demo.hello</ejb-class>+
+<session-type>Stateless</session-type>+
+<transaction-type>Container</transaction-type>+
+</session>+
+</enterprise-beans>+
+<assembly-descriptor>+
+<container-transaction>+
+<method>+
+<ejb-name>hello</ejb-name>+
+<method-name>*</method-name>+
+</method>+
+<trans-attribute>Required</trans-attribute>+
+</container-transaction>+
+</assembly-descriptor>+
+</ejb-jar>+
And now , from diffrent machine . I created the web application . I have added "hello.jar" into web application .
After , i create one servlet to call getMessage method .
This is the code :
test.java*
package demo;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.naming.Context;
import javax.naming.InitialContext;
+public class test extends HttpServlet {+
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
+try {+
System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
System.setProperty(Context.PROVIDER_URL,"localhost:1099");//i hava changed localhost to my ipaddress . xxx.xxx.xxx:1099
InitialContext cxt=new InitialContext();
Object obj=cxt.lookup("hello");
helloRemoteHome home=(helloRemoteHome)obj;
helloRemote helloObj=home.create();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet test</title>");
out.println("</head>");
out.println("<body>");
out.println("Servlet test at " helloObj.getMessage());+
out.println("</body>");
out.println("</html>");
+}+
catch(Exception ex)
+{+
+}+
+finally {+
out.close();
+}+
+}+
protected void doGet(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
processRequest(request, response);
+}+
protected void doPost(HttpServletRequest request, HttpServletResponse response)
+throws ServletException, IOException {+
processRequest(request, response);
+}+
+public String getServletInfo() {+
return "Short description";
+}// </editor-fold>+
+}+
The result when i run on local : hello word
But when i run the client from different machine , the result is : nothing appear . -
Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw
Hi,
I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
data that is pulled from a SQL Server at regular intervals), it fails with the following error:
Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
are missing.
Thanks in advance for any advice you may have.This is truly killing me ... trying to get it working on Windows Server 2012 without success.
I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc., -BUT-
The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively-
I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
[VBScript error msg]
Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open work
[Powershell error msg]
Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
ere is not enough available memory or disk space.
To make more memory available, close workbooks or programs you no longer need.
To free disk space, delete files you no longer need from the disk you are saving to."
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull -
Unable to open ODDC from other machines.
Hi , I am trying to access ODDC server url from other machines. But not able to access it.What are the prequisites to access it from different machines in the same network?
It should try loading the OCX and (when installed) give you the login screen below. What version is the browser? Check OCX install and enablement settings https://social.technet.microsoft.com/Forums/windows/en-US/e1465a28-9e18-448a-9bf8-51638bf2452d/activex-installer-service… you may need to use compatibility mode and run IE as administrator i.e. right click start menu link and select Run as Administrator
-
Issue with Enter-PSSession when running from the shell and via script
Hello
Can someone please help me with the following issue
If I open the PowerShell console and do the following
Enter-PSSession -computername Server1
"This is a test" > C:\Log.txt
Exit-PSSession
It works e.g. the Log.txt file is create as expected on Server1
However if I put the exact same command in a script and execute the script.
./TestScript.ps1
The Log.txt file is created on my Client (e.g. PC) and not the Server1
I also tried using $Session = New-PSSession -ComputerName Server1 etc.....
then Enter-PSSession -Session $Session
I also tried Enter-PSSession etc....
Start-Sleep -seconds 60
"This is a test" > C:\Log.txt
Exit-PSSession
Again no luck when running from shell all OK, then executing as a script (again from the command line) files is created on client
Any ideas why this is happening please and how to resolve, I am using PowerShell v4 on the client and PowerShell v2 on the Server
Thanks
AAnotherUser__
AAnotherUser__No, the command is explicitly designed for interactive use, not within a script. If you see
http://technet.microsoft.com/en-us/library/hh849707.aspx you'll even see it clearly state that it "Starts an interactive session with a remote computer".
There are quite a few threads elsewhere on the same subject, all of which say the same thing, for instance
http://powershell.com/cs/blogs/tips/archive/2010/11/15/enter-pssession-do-s-and-don-ts.aspx and
http://powershell.org/wp/forums/topic/running-multiple-remote-commands-with-enter-pssession/ and
http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/29/hey-scripting-guy-october-29-2009.aspx and
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/7e89b957-ff5b-42c4-b107-d7e18752fcf1/enterpssession-within-a-script
So when you run it interactively, you've started the interactive connection to the remote computer and are now running the relevant commands on that machine. When you run it from the script it starts the remote connection, but crucially it doesn't use that
new connection, the script is still being run in the current local session.
When you think about it makes sense. Using the Invoke-command method you're connecting to a remote machine, sending the script block to the remote machine, and then running that block of code on the remote machine. The remote machine only knows about the
code you send it, not the rest of the script (which is why if you use variables you have to pass them to invoke-command otherwise they won't be available to the script block on the remote machine. Conversely, when you use the Enter-PSSession method, you've
connected to the remote machine, but you haven't passed any code to it. At that point you're on the remote machine, but it has no way to know what you want it to do since your script code is on the local machine. It can then either return to the local
machine and run the next line of code locally (which it does), or sit there connected to the remote machine waiting input that will never come (which would be even less useful). -
When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.
sohs wrote:
When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.
If you want to use Time Machine to recover the contents of one of its a backups to a new drive, follow the instructions in Mac OS X 10.6: Recovering your entire system. Note that you must select the "Restore System From Backup" option from the Utilities menu of the Installer disc to do this.
Also note that if you are transferring files to a hard drive to be used with a different computer, you should use Migration Assistant instead. This intentionally will not copy everything because some settings, applications, etc. are not compatible computer-to-computer. Migration Assistant will copy everything that is. -
When migrating from time machine to my new hard drive, it migrates the first back-up I made several years ago. How can I migrate the latest back-up ? I need time machine to migrate the latest back-up. Should I delete the older back-ups ?
As noondaywitch says, it should use the latest backup.
Where are your backups (external HD, Time Capsule, etc.)?
It sounds like there are two separate sets, and you're not connected to the right set. -
Failed to initialize Databank exception when run from OLT
HI All,
I've created a script with an associated databank,that runs perfectly fine when run from OpenScript. But when I run from OLT, the following waring is encountered.
Start failure message from agent "OLT Server": oracle.oats.common.databank.DatabankException: Failed to initialize Databank 'Forms.forms'
Stopped Autopilot because of error on agent "OLT Server".
Name of my DB is : forms
and Script name is :Forms
Please let me know the solution for this.
Regards,
Karthik
Edited by: user777720 on May 21, 2013 5:00 AMHave you tried changing the parameter in the Assets/Databank "Save Path" from "Relative to current script" to "Relative to a repository"?
Regards, Ian. -
Hizzing / bad sound when running from battery power (Ups)?:
Why is my computer (Imac) emitting a hizzing sound when running from the UPS (battery)? I am testing a offline UPS type: POWERWARE Eaton Protection Station UPS 500VA 250W. My Imac is suppose to use max 200 watts of electrity (Imac 24 inch. intel 2.8 Ghz, 4 GB memory). When running from AC there is no sound. When testing (pulling out the cord on the UPS the Imac starts emitting a disturbing hizz / sound)???
I solved it my self. It was OK (no buzz and fuzz) when it was plugged in (when the electicity line was down once and I was running on the UPS battery).....
-
Hyperlink in pdf is missing when run from server.
Hello,
I create a link for a field in a report (using Hyperlink tab Hyperlink information). When I export the pdf from Crystal Report, I could see the link when mouse over the field. But when I run the report from opendocumentfrom server) , the link is missing. Does Crystal Report support hyperlink in pdf when run from server? Or do I miss anything?
Thanks for your help in advance.Moving to BusinessObject forum
-
Jdbc connection blocks when run from jar
The following code establishes a connection EXCEPT when run from within a jar file:
String jdbcDriverName = "oracle.jdbc.driver.OracleDriver";
String dbConnectionURL = "jdbc:oracle:thin:@192.168.2.7:1521:PRISM";
String userName = "mdo";
String password = "mdpass";
// Load the JDBC driver and create a connection to the database
Class.forName( jdbcDriverName );
OracleDataSource dataSource = new OracleDataSource();
dataSource.setURL( dbConnectionURL );
dataSource.setUser( userName );
dataSource.setPassword( password );
connection = dataSource.getConnection();
When run from a jar file, the application does not execute beyond the line:
connection = dataSource.getConnection();
No exceptions are thrown, it just appears that getConnection never returns.
Do I need to do anything different to execute this code from within a jar file?
Thanks in advance,
Phil
<><When building the JAR file, I inadvertently included files from two Oracle JDBC driver versions (1.2 and 1.4). I was building a single jar file with all files in it.
I am guessing same named files existed in both driver JARs and caused "confussion" when combined into the single JAR.
Still, I would have expected an exception to be thrown or a null connection to be returned instead if the thread just blocking.
Thanks for all replies,
Phil
<>< -
Microsoft Dynamics AX WebSession() is null in Enterprise Portal (EP) when running from a List Page.
The WebSession() works for a detail page, but nor a list page in EP.
Does anyone know of a workaround to this issue?
Thanks.
ScottHello,
You should ask in the Microsoft Dynamics Community Forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Scim makes leafpad take a while to load, except when run from terminal
Leafpad normally loads up in an instant. But with scim running (More specifically with the required environment variables exported. Scim simply running without the environment variables does not cause the problem, but then scim does not work.), although it shows up immediately, the scrollbar, menubar etc are greyed out for a few seconds and the program cannot be used until it is fully loaded.
I'm sure this is specifically a leafpad problem, because there is no noticable lag in other programs. (Mousepad for example is fine.) However, the fact that it loads immediately when run from a terminal scares me. Why doesn't gmrun (and the fvwm menu) work just like a terminal? Is there a possible fix to this problem?droog wrote:
I'm not having this problem as far as i can see, I use fvwm and scim already so installed leafpad to test and it starts instantly from fvwm's menu or terminal.
from gmrun leafpad starts instantly too so maybe i'm missing something.
what are you exporting?
Just the normal:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim" -
Subreport not displayed when Run from SAP Business One
We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report and subreport etc but to no avail.
Sastry,
The main report is a document layout with the sub report linked into it using the DocEntry key field from SAP. The subreport should display data based on that link.
This main report only has the one sub report and when you preview in Crystal it returns data, when you preview using the same criteria but inside of SAP, it is not displayed.
Thanks
Mark -
Create trigger not audited when run from sql developer Version 3.2.20.09
Creating or editing a trigger is not being stored in the audit table when run from sql developer.
Here is a sample script to show the issue:
Grant Connect,create table,create trigger To testuser Identified By testuser;
create table testuser.testtab(t1 number);
Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
Insert
ON testuser.testtab FOR EACH ROW
begin
null;
end;
Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
drop user testuser cascade;
If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
If I edit the trigger from All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.DoyleFreeman wrote:
Not sure what you mean by "perform the audit".
Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
https://forums.oracle.com/community/developer/english/oracle_database/general_questions
Yes - and it works just fine once you ENABLE AUDITING. Your scripIt does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
Have you read any of the extensive documentation about auditing to learn how to use it?
See the Database Security Guide
http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
Also see 'Auditing Functions, Procedures, Packages, and Triggers
http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
Select count(*) From Dba_Audit_Trail Where (Owner='SCOTT' or username = 'SCOTT')
and action_name = 'CREATE TRIGGER';
COUNT(*)
0
audit create trigger by scott
CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
Insert
ON emp_copy FOR EACH ROW
begin
null;
end;
Select count(*) From Dba_Audit_Trail Where (Owner='SCOTT' or username = 'SCOTT')
and action_name = 'CREATE TRIGGER';
COUNT(*)
1
Maybe you are looking for
-
Is there a way to change the Apple ID you're using on your iPhone?
I recently got an iPhone 3 and I am using my brothers ID to download apps but he won't tell me his password and its really inconvenient having to ask him to put it in every time, so I was wondering if theres a way to change the one your using as I ha
-
My ipod cant be synced! help!
I have a 2ed gen ipod shuffle that i just got. When i try to put songs from itunes onto it i get this message... "The ipod "its name here" cannot be synced. The disk could not be read from or written to." Is my computer just to out dated? Its about 4
-
Statement stmt = conn.createStatement(); ResultSet rset = stmt.executeQuery( "SELECT sum(COL_X) FROM TABLE_A"); int = rset.getInt("sum(NUM_CUSTOMER)");This is obviously wrong. Could someone please help me a little on the syntax? I just want to be abl
-
Tab Content disappers : Migration from 6 to 6i
I have a form with multiple tabs. It works fine with Forms 6. Now when we want to migrate to 6i, I am facing problem when I navigate from one tab to another tab. When the Form starts, it shows first tab correctly. Now if I click on another tab, it go
-
I know all about, and I do, backup to a timemachine volume externally. I am looking for an easy way to make a second backup of my mac (or at least my files) onto a different media (something besides a hard drive). I decided a CD/DVD would be a good a