error on restoring a project backup
When restoring a project backup, I get the following error in the editor:
"restore project backup failed". When I open the diagnosis viewer, I can see the following entry:
DBSRV:Error ExecuteNonQuery Error:The command contained one or more errors.RESTORE DATABASE is terminating abnormally.~SQLState is 42000~Error code is 3013Too many backup devices specified for backup or restore; only 64 are allowed.~SQLState is 42000~Error code is 3205 Execute command failed. Errorcode:128
What could be causing this? Other projects are working perfectly.
The reason could be, that this project was created in a zenon version based on a SQL Express 2005 database (typically, zenon 6.21 and higher) and now an attempt was made to restore this project backup to a MSDE database (typically zenon 6.01 or zenon 6.20)
Generally, an SQL backup created with SQL Express 2005 can not be restored anymore in SQL Server 2000 (MSDE).
Also it could be that, after manual changes, the current 6.22 is still using the old MSDE database. This can be checked by using the zenon startup tool. Select an option, choose properties and click on "read zendb.ini". The current database connection for this entry should be displayed.
MSSQL$ZENON is typical for a MSDE. SQL Server (ZENON_DEV) is typical for SQL Express 2005.
Also by double clicking the field "Error text" in the diagnosis viewer, you can see the connection string, which shows the database being used. (this does not show up when automatically resizing the column width)
This is a migrated post! Originally posted on 28.07.2008 by user markclemens. Please be aware that information can be outdated.