hexagon logo

Program died after 3 days of work

Solved-->

My IT Dept helped us recover backup files that were deleted and then Matt explained to me what they were and how to recover using them & we did so successfully. I never fully understood what those temp files were and have been deleting them as I go all of these years. I finished the program, deleted the temp files as I always do, then went "oh crap I need to delete this one case statement", did the deletion, then BOOM chaos lmao

Matt's words:

"Thanks for allowing me to remote in. As discussed, I copied the program backups (~ or ^) and put them in a directory that had the .CAD file. I removed the character at the end, so it reverts to a typical .PRG file and then we could open the program. "


__________________________________________________ __________________________________________________ __________________________________

Original Post-->

Spent three days writing a program. Deleted a CASE statement.

All of a sudden...STACKDUMP

Now, program refuses to open and says "Attempted to access an unnamed file past its end." followed by "PROGRAM_NAME.PRG (Schema:0) Serialization error ALT" followed by "Error: File closed because of bad archive"

Do I usually back up my programs 8x per day? Yes, I do, however for some god awful reason my dumb @ss had this file saved on my desktop and was working from there...so Alwayssync did NOT back this one up. Lesson learned.

Oh and by the way I forgot to mention that my Purchasing Dept dropped the ball on sending out my SMA payment on time (due 12/31 so now I am technically expired) so the Hexagon Software Support Dept is having a spasm trying to figure out if they can still help me with a pending/unprocessed PO or not....lololConfusedRolling eyesSunglassesSunglassesSunglasses

Anyone have any advise? Or should I just re-write this program? PCD2021.2 (release) CAD
Parents
  • Does your computer use Windows 10 Pro? If so you may be able to restore previous versions of the file, provided that option is enabled on your system. Right click on the file and select 'Restore Previous Versions'.

    Aside from that, I don't suppose you have the PC-DMIS archive system enabled. There would be copies that may still work with .PRG^ and .PRG~ extensions.

    One more option to add. Try restarting PCD and try to open the file again. You may get lucky and have it mysteriously work again.
  • Sorry man. That sucks. Sounds like you have to start over. At least the .CAD file should still be good, so you aren't starting from the complete beginning.
Reply Children
No Data