Skip to main content
Participating Frequently
May 9, 2012
Question

The process cannot access the file because it is being used by another process.

  • May 9, 2012
  • 2 replies
  • 7341 views

When Generating a WebHelp build and then Publishing in RH X5, and selection to overwite all, I get an error stating "Publishing has been cancelled.  The process cannnot access the file because it is being used by another process."

What is causing this, please?  Solution?

Thanks,

RoboMan

This topic has been closed for replies.

2 replies

Known Participant
November 14, 2014

I have a new twist to the above issue. Attempting the work-arounds listed above unfortunately did not resolve the issue.

"The process cannot access the file because it is being used by another process" error started occurring after we updated to IE 11. (It also only occurs in one project, created using files that are linked from FrameMaker 11 to RoboHelp 10.) To make the RoboHelp .htm files compatible with IE11, I paste the following line of code into index.htm:

 

<head>
<link rel="shortcut icon" href="whstart.ico">
<title>Insert Your Title Here </title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
<meta name="generator" content="Adobe RoboHelp 10" />
<meta name="description" content="WebHelp 5.50" />

 

<!-- comment out or delete the following line generated by RoboHelp
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-->
</head>

 

After attempting to paste the line of code into a Notepad file, the file does not save, and the error message appears.

Jeff_Coatsworth
Adobe Expert
November 14, 2014

You probably don’t need that line anymore with the recent patches to RH10 (I just checked one of my projects and it doesn’t have that line & works fine with IE11, FF and Chrome). But it sounds like you have the index file open somewhere else while you’re trying to edit it. Try it on an isolated copy of the file first.

Known Participant
November 14, 2014

Thanks for the info. I realize I need to give you more information. There are two parts to this information:

1. IE 11 & code: actually, it seems that I do need that line of code .. or something to that effect. Without the code, the Contents, Index and Search panes don't display information.

2. Here's what I've tried to do to troubleshoot the error:

a. Closed all files.

b. Rebooted.

c. Scrubbed the old project and completely rebuilt it (again, the RoboHelp project links to a FrameProject).

d. Attempted to publish on my local drive and then moved the entire project to a completely different location, on a shared drive.

e. Change locations of published files.

f. Change filename that launches the .htm files (before publication).

g. Delete the existing published files before generating a new batch.

Thanks for your help!

Peter Grainge
Adobe Expert
May 9, 2012

This is covered in Snippets on my site.

The short answer is to simply publish to a new folder. Rename the existing folder and publish to a new folder with the old name.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Robo_ManAuthor
Participating Frequently
May 9, 2012

I think I tried something like that already.

I created a new "Publish " folder with a different name and configured RH to publish to that new folder.  I still get the error message.

July 10, 2012

Yes, I have. I made numerous updates to one particular topic (html file) that contains links to other RH html topics that contain .swf (Captivate) files.

I'm also dealing with a bunch of discordance errors between RH and ClearCase (the VA's choice for CM).  That's a mess in and of itself.  I need to reconcile getting these files checked out and back in so I don't lose any work.


A coworker upgraded to RoboHelp 9 last week.  She encountered the "Publishing cancelled.  Used by another process....." message almost immediately.  We would have attributed it to the upgrade, except that I had the same problem on the same day.  It could be new security measures or bad karma.  We haven't figured that out yet.

I have encountered the same error sporadically (4 or so times/I publish almost daily) over the last several years (RoboHelp 3, 5 and now 8).  Publishing to a new folder, deleting old and renaming new to old is an alternative, but it's hard to find a time when it won't disrupt someone's work (voice of experience speaking here).

We tried publishing RoboHelp 9 after business hours yesterday and at 4 am this morning.  Same message.

I noted something that was said in the forum about "Republishing All."  Immediately after getting the error message again this morning, we unchecked "Republish All" and tried again.  The project published without a hitch.  I don't know whether this was what allowed the project to publishe, whether it will be helpful or not, nor do I know the ramifications of not republishing all.  Something worked, however.  So, it's worth a try.

We are not publishing to a Robohelp server, but to a server that only has Robohelp folders published to it.  Only two of us, with the exception of IS, have write privileges to the server. 

Holly