Problem with Backup

At Backup this error occurs :

an error occurred while accessing the database. database disk image is malformed | Script: C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\devel\class\interface\nmApp.class.php linha: 484

Problem seems to be a old deleted app that is not really deleted.

I make a new blank project and copy my needed apps to it. but the error with the old deleted app (that i dont copy to new project) occurs again.

can any one help me to get my project or scriptcase clean ?

best regards frank

Try the following. Some situations this works for me and may work for you:

Create an app, with the same name and type as the one you deleted.

(If you are using Scriptcase internal versioning function, make sure you do it on the correct and same version that the defunc application was on, as the link in scriptcase is project+version+application)

Then delete the app again.

The idea behind this is that scriptcase will create the links for the app to the internal tables that handles settings, applications and event codes in the scriptcase database. I have a suspicion that those links broke when you deleted the app and all tables were not updated correctly.

If you get an error when you try to create the app again, then one will have to go another route. But suggest trying this first.

Also, side note (One I learned the hard way): ensure you have enough disk space at all times. Especially on Windows. If you run out of disk space, your netmake_db will be corrupted, and it’s a pain to get it going again. (Especially if you don’t have proper backups).

Hi Dirk, thank you very much for your reply.

I understand your approach.

Unfortunately, it doesn’t work.

The backup always stops at 16% and the same app that no longer exists.

How can I access the internal database?