Hi all,
We are attempting to combine data currently stored in local sql server from several VAMT installs into a single database on a SQL Server 2008.
We export the data into a cilx file from the local database, change the VAMT connection to the new server database successfully, then try to import the file back into that new database. We get the error:
The MERGE statement conflicted with the FOREIGN KEY constraint "FK_ActiveProduct_AvailableProduct". The conflict occurred in database "VAMT", table "base.AvailableProduct".
Being a database guy, I can see that the problem is that there is a missing reference key from AvailableProduct when the script attempts to load products into ActiveProduct.
Has anybody found a way around this? We have tried first importing a Products Only file, but that got the same error. I am considering having to reorder the stored procedure that loads the data, although I don't much like the idea of having to rewrite black box code.
Thanks,
Reinis