Skip to main content
1-Visitor
April 5, 2012
Solved

Can this corrupted file be repaired?

  • April 5, 2012
  • 6 replies
  • 3686 views

Am really having worse of luck with 15.

I saved and closed the attached file, all looked fine. Then did a back up.

When trying to reopen the file, get a message indicating the content is corrupted: Reason: equal expected, line 665, position 61.

Must have happened when closing the file, because the back up is corrupted too, with same error.

Is there a chance the file can be recovered?

Best answer by AndyWesterman

Hi Laurent,

Error message refered to line 665 & there was a significant diffetence in the text of this line compared to another region id line, so I simply deleted the whole section of XML code to keep it structured 'properly'.

saving & reopening in mathcad got a new error message about a region missing but once re-saved through mathcad I had the file that I posted & seems to function.

Very crude, but it seems to work around the glitches that occur from time to time.

I wouldn't compare the old & new files - I tried & there are a lot of differences.

Regards

Andy

6 replies

1-Visitor
April 5, 2012

Tried the posted recovery file, but getting same error with the output test file. The interactive part of the recovery file is out of my league.....

12-Amethyst
April 5, 2012

Hi Laurent,

Partial recovery attached, I don't know what the content was in the corrupted region but hopefully it won't take too much to recreate.

The mathcad files are XML & can be edited in many programs My preference is Notepad++ (freeware).

Always remember to edit a copy - its too eaasy to do irreperable damage.

Regards

Andy

1-Visitor
April 5, 2012

Thank you very much!

The piece that is missing is trivial, just formulas to type back in, nothing that I had to bleed on.

I was rewriting the file and was precisely at the missing spot when I got your repair! I would have had to spend the rest of the night redoing it to the end, I can catch a few hours of sleep now thanks to your help.

Very much appreciated!!

I had looked at the broken file through Explorer and the XP built-in Notepad; the problem is that I don't know how to recognize the broken bits.....Even after downloading Notepad ++ you mentioned, I cannot zoom in on the issue...Even going to the error message line 665 did not tip me in any way, I would have to print the broken file and your repair to try to catch the differences,

Thanks again!