cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Need help recovering a corrupted MATHCAD 15 file

ptc-6568054
1-Newbie

Need help recovering a corrupted MATHCAD 15 file

I have been working on this since last two days and just completed my work and then suddenly Mathcad crashes and gives me an error that the contents of the file have been corrupted.

I tried everything, used the recovery file also but cant recover. I just dont know what to do.

I would really appreciate if anyone can help me with this.

Thanks

P.S. the file is in attachment.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ptc-6568054)

Look if the attached helps.

There seems to be an emty area near the end of the file now.

View solution in original post

53 REPLIES 53
Werner_E
25-Diamond I
(To:ptc-6568054)

Look if the attached helps.

There seems to be an emty area near the end of the file now.

MikeArmstrong
5-Regular Member
(To:Werner_E)

Did you use Stuart's recovery worksheet?

Mike Armstrong wrote:

Did you use Stuart's recovery worksheet?

No, just deleted the lines throwing the error with a simple text editor 😉

MikeArmstrong
5-Regular Member
(To:Werner_E)

Werner Exinger wrote:

Mike Armstrong wrote:

Did you use Stuart's recovery worksheet?

No, just deleted the lines throwing the error with a simple text editor 😉

Neat trick. I have just attempted it and got the file to open. So you just delete the code containing the errors and simply save?

Mike Armstrong wrote:

Werner Exinger wrote:

Mike Armstrong wrote:

Did you use Stuart's recovery worksheet?

No, just deleted the lines throwing the error with a simple text editor 😉

Neat trick. I have just attempted it and got the file to open. So you just delete the code containing the errors and simply save?

Yes, I deleted every line beginning with

<box left="1.5" top="0.75" width=........

and I have no idea what I have done by doing so, whats missing now in the file and why the error was thrown 😉

I just noticed that near the end of the file there is an area with no expressions inside, so possibly expressions placed there cause the error. I also noticed that when I open the file in Mathcad and resave it, it nearly doubles its size of the file.

Its quite possible that Stuarts sheet can deal better with that file.

The Box line appears to relate to the show border option on the <properties> tab, but when I have set this in MC 15 it doesn't write the HTML code in the same way.

Quite how this code was written is unclear.

regards

Andy

Can somebody please help me recover this corrupted mathcad file ?

 

Thank you so much for your help.

Werner_E
25-Diamond I
(To:Rakesh1992)

Try the attached file.

At the end of the file one of the regions was corrupt and I replaced a missing denominator with xxx. You'll have to throw in the correct length here.

Thank you so much

Hi! Can you please help with my corrupted MATHCAD 15 file?

Werner_E
25-Diamond I
(To:ikoretski)

Attached is a first quick repair attempt.

I have deleted a complete region in the xml structure, so something has to be missing.

Maybe someone can come up with a more sensitive way to repair your file.

Thank you!!!

Can somebody please help me recover the file attached ?

It is showing some errors and file couldn't be saved after the change.

 

Thanks in advance.

TY you saved my job, idk how to express ty than you ❤️

Can somebody please help me recover the file attached ?

It is showing some errors and file couldn't be saved after the change.

 

Thanks in advance.

Can somebody please help me recover the file attached ?

It is showing some errors and file couldn't be saved after the change.

 

Thanks in advance.

Werner_E
25-Diamond I
(To:Rakesh1992)

Please open a new thread in such cases!

I could open your worksheet without problems

I flipped through the sheet and spotted no error

I added some text add the end and saved the sheet without problems (it took a second or two to do so).

 

So it looks all OK to me.

 

For whatever its worth I add the resaved worksheet here.

 

ibroN
1-Newbie
(To:Werner_E)

can you help me too? My Mathcad crashed...

LucMeekes
23-Emerald III
(To:ibroN)

Please open a new case for this, and just attach the mathcad file. No need to use an archive.

 

Success!
Luc

Werner_E
25-Diamond I
(To:ibroN)


@ibroN wrote:

can you help me too?


Not with Prime sheets, sorry!

help me with this sir

LucMeekes
23-Emerald III
(To:jeyjay082898)

A single posting will do.

See here:

https://community.ptc.com/t5/PTC-Mathcad/Recover-a-Mathcad-file/m-p/656267/highlight/true#M189273

 

In the future please avoid multiple posts with the same question and open a new thread rather than extending an old existing one.

 

Hey Werner_E,

 

I was having trouble with a Mathcad file that got corrupted late last night.

 

Would you be willing to help me restore it?

 

I'd really appreciate it.

LucMeekes
23-Emerald III
(To:alexandrew)

Notice that the Sheetviewer (https://community.ptc.com/t5/PTC-Mathcad/Can-t-see-your-sheet-but/m-p/636482 ) can still display the contents, sort of.

What's the error message that Mathcad gives you?

(Specifically, does it give you a location?)

 

Success!
Luc

 

 

It says, "Element content is invalid according to the DTD/Schema"

 

Line number 6369

Character position 19

I'm checking out that zip file also.

 

LucMeekes
23-Emerald III
(To:alexandrew)

Try this.

 

I removed the offending part, and possibly a bit more (collateral damage). Hope it opens in Mathcad 15.

So you may need to repair a little something.

 

Success!
Luc

Oh my goodness, I'm so thankful for you! Looking at it now. God bless your soul!

Announcements

Top Tags