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
Braniac
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.

Jeff_Coatsworth
Braniac
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!


What version of RH10 are you using?

Peter Grainge
Braniac
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.

Peter Grainge
Braniac
May 10, 2012

Have you successfully published to the location previously?

Whilst not an ideal solution, could you FTP the files?

I don't know what else to suggest as this workaround has always worked in the past.


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.