Does anyone know how to recover a corrupted app? I was importing a txa and Clarion crashed. When I opened Clarion, the app opened, I opened a window, closed it and clicked the save and close. Clarion crashed again. From trying to fix it, I now cannot open the app. I have the txa of the app but it won’t import.
I stupidly do not have a backup. I have the clw’s also. Is there a way to use them to rebuild the app?
You can’t recreate the APP from the CLW files. Make sure you zip the CLW files up in case you have to re-create everything.
What errors are you getting trying to import the TXA?
Maybe we can figure out those errors and get the APP back.
I strongly encourage you to use some type of source control system to commit your files (like Git).
Tried to import again. This is the error message, or part of it.
Exception occurred at address 000000E9
Exception code C0000005: Access Violation
Process PID=936 Image: C:\Clarion10\bin\Clarion.exe
Thread 2 Handle=00000CC8 TID=8684
That’s not good. I’m not sure what you’ll be able to recover.
You could try creating an empty APP using your same dictionary.
Then open your TXA and search for [MODULE]. Copy each [MODULE] section to its own TXA.
Then import them one at a time into the APP.
See what works and what causes the crash. Save off the APP inbetween each import.
That might get you close or at least help pinpoint which part of the TXA is causing the problem.
I have restored my app.
The txa was corrupted also. All the procedures were duplicated and just before the 2nd ‘Main’ was some rather strange not quite right code. Of course I didn’t discover this until I was at the last module.
I am back to where I was this morning.
Thanks for your help.
Glad you got it back up and working.
Sounds very strange. I export and import 100s of different APPs all the time and haven’t ever seen something like that.