I am moving a database from one server to another, the current server is a NT4 server with SQL7 and the new server is a WIN2000 with SQL7 and the names of both the servers are different.
Now when I try to restore the backup from the current server to the new one I get this error msg
"Microsoft SQL-DMO(ODBC SQLState: 42000). The header for file 'C:\MSSQL7\data\Database1_Data.MDF' is not a valid database file header. The PageAudit property is incorrect. RESTORE could not start database 'Database1'. Backup or restore operation terminating abnormally."
I even tried to read the header using
"restore Headeronly from disk" and it read the header without any problem.
However the username shown in the header is not a valid user in the new server because it is a local user on the current server. And also the machine name is the current server name.
I am wondering whether this is causing the problem and how can I overcome this.
Thanks
Now when I try to restore the backup from the current server to the new one I get this error msg
"Microsoft SQL-DMO(ODBC SQLState: 42000). The header for file 'C:\MSSQL7\data\Database1_Data.MDF' is not a valid database file header. The PageAudit property is incorrect. RESTORE could not start database 'Database1'. Backup or restore operation terminating abnormally."
I even tried to read the header using
"restore Headeronly from disk" and it read the header without any problem.
However the username shown in the header is not a valid user in the new server because it is a local user on the current server. And also the machine name is the current server name.
I am wondering whether this is causing the problem and how can I overcome this.
Thanks