Skip to main content
July 6, 2011
Question

Upgrade to Robohelp 9: Your project file cpd is corrupt

  • July 6, 2011
  • 3 replies
  • 3061 views

Hi

I have installed Robohelp 9, and is now trying to upgrade a version 6 project to version 9. When I press upgrade in Robohelp, I keep getting the error "Your project file ...cpd is corrupt and cannot be opened". I have tried to delete it and open the xpj-file again, but there is no difference. Then I found something about a file called rhvariable.apj. I copied this file from a project that I already have upgraded and which were fine. But this gave no solution either. I also read something about deleting the cpd-file and the xpj-file and then edit the hhp-file. The problem is that my corrupt projects - I have 3 at this point - have no hhp-file. So there is a difference.

Could anyone help me? I have search and search

Best regards

Else

    This topic has been closed for replies.

    3 replies

    Participant
    September 25, 2015

    I see that this was originally posted in 2011, and we're now in 2015, I'm using RH11 and the same problem still happens. RH is still temperamental it seems.

    I did get the clue to my issue when Visual SourceSafe was mentioned. I starting using it yesterday for the first time for source control through the RH interface, and in no time I had this error. Even if I deleted the cpd file, the error came back each time I tried to open the xpd. The Clear Project Cache option was selected so RH created a new CPD everytime automatically. So I cleared that option and tried again. And the project opened - even though the cpd was created by RH again without the Clear Project Cache option selected.

    Explain that! Problem solved anyway (even though I needed to get the latest project files from VSS afterwards - at least the project opened).

    Participant
    July 7, 2011

    In case this helps anyone I will share my experience...

    I've been waiting ages for the purchase order to go through for my new license for the latest version of RoboHelp.  My Help project was in version 6.  I had on one PC a trial download of RH 8 and on my other PC a trial download of version 9.  (I work in IT hence the multiple PCs)

    So, just a couple of days ago, I tried bringing in my v.6 project into v.9.  I got the cpd file corrupt error and I tried deleting it several times.  I even tried re-copying it in, etc.  Nothing worked.  I was annoyed....so just to try something I opened up my trial v.8 and loaded in my old project and it upgraded fine with no problems.  I took this upgraded project and brought it into v.9 and, lo and behold, it worked!  (Both being trial versions and just yesterday I got my v. 9 license key and registered with no issues)

    I am up and running and everything looks great and I've generated and started playing around with all of the new features I am unfamiliar with...having been stuck with v.6 for so long!

    Hope this helps someone....

    thanks,

    liz

    Participating Frequently
    July 19, 2011

    Hi Liz and Evind,

    Can you please share your RH6 project so that we can isolate the issue?

    Please perform the following steps to share the project -

    1. Click on the Sign Up button to sign Up for a free account at http://acrobat.com.

    2. Once you log into your account, upload the project.

    3. Once project is uploaded, please share the same with us.

       (Share File option is available at the bottom-left corner of the page and as an option available for the specific file).

    Regards,

    Mona

    (mona@adobe.com)

    RHTeam

    Community Expert
    July 7, 2011

    Are you projects on your local hard drive, not on a network drive? If they are on a network, move them onto your C drive.

    Can you confirm that the rhvariable.apj you copied contains text and is not completely blank?

    I'd also get a fresh copy of your backup and try upgrading again, just to make sure it wasn't some temporary glitch (I've had 3 attempts fail and the 4th work, for unknown reasons).

    Let us know how that goes.

    Amebr

    July 7, 2011

    Thank you for your answer.

    My projects is on my local hard drive. I use Visual Source Safe as source control. In rhvariable.apj in the succesfully project it says:

    <?xml version="1.0" encoding="utf-8"?>
    <rhpml majorversion="4" minorversion="0">
    <variablesets/>
    <variables/>
    </rhpml>

    So I copied that file to the folder with my failed project. Deleted the cpd-file I tried to upgrade again.

    I even tried deleting the project i Visual Source Safe so it is only my local hard drive. That didn't work either.

    Robohelp makes a new cpd-file everytime I try to upgrade. And I can see that in my corrupt projects the cpd-file is exactly the same size, 772 kb, where the cpd-file in my succesfully projects has different sizes.

    I have tried upgrading many times over the last 3-4 days, but there is no change.

    Else

    Peter Grainge
    Community Expert
    Community Expert
    July 7, 2011

    Also try opening the supplied sample projects. That will help confirm the problem is related to your projects.

    Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.