Page 1 of 1

Application Closes when trying toview History Alarms

PostPosted: Fri 11. Apr 2014 12:19:59
by Gondhalekar
Hi,

I developed my first App in Promotic following the coursebook. Later I opened the alarms file created in dbf and tried to update it using excel. After this now when ever I click History button on alarms panel the application gets closed. The Info object does not show any error however when I looked at the log file it shows following errors.

2014.04.10 13:56:17.875 ERROR: Count:1 Ident:ALARM: AlGetSortedRecords
2014.04.10 13:56:27.500 ERROR: Count:1 Ident:ALARM: AeHistoryWndCreate
2014.04.10 13:56:27.500 ERROR: Count:1 Ident:CreateViewer
2014.04.10 13:56:27.500 SYSTEM: Unhandled Exception
2014.04.10 13:56:27.500 SYSTEM: Calling StopProject: nAction=3
2014.04.10 13:56:27.500 SYSTEM: Executing AppStop
2014.04.10 13:56:27.500 SYSTEM: Stop Rt-Pre
2014.04.10 13:56:27.500 SYSTEM: Stop Rt-Pre2
2014.04.10 13:56:27.500 SYSTEM: Unhandled Exception
2014.04.10 13:56:27.500 SYSTEM: Calling StopProject: nAction=3

I deleted the Alarms Object and recreated it but still get same errors in log file. I also created another Application and copied the alarms.dbf file from new application in my earlier application. Still get same error.

Would like to get help is getting this problem resolved.

Thanks

Re: Application Closes when trying toview History Alarms

PostPosted: Fri 11. Apr 2014 13:07:52
by Tomáš Bräuer
Hi Gondhalekar,

I think you can not edit DBF files with Excel (not meant for it). Use another specialized (freeware) tool for dBASE. Be careful not to change the structure of the DBF file and do not change the meaning of the record. And don't edit while open in PROMOTIC.

PROMOTIC should not crash after uncussesfull reading of corrupted DBF. If you can send me (by email) such a corrupted file, I would fix the problem with crash. But event after fix, it will be not possible to read those Excel edited DBF files.

Re: Application Closes when trying toview History Alarms

PostPosted: Thu 15. May 2014 13:16:30
by Gondhalekar
Has the Crash been fixed now?