Solved

Tracing back an error during a DTS export

Posted on 2004-10-08
2
226 Views
Last Modified: 2012-08-13
Hi,

I am copying a database from one instance of SQL server to another by using the DTS wizard, the job seems to complete up to 98%, but fails at the end with the error below. when I look at the database transfer all the tables and data are complete so I am not sure why it says that the column is invalid? it can't be referring to the table structure and the data as these appear to have been created successfully. Unfortunately the error message is very vague so I'm not sure where to start looking for a solution?

Thanks for any help



Step Error Source: Microsoft SQL-DMO (ODBC SQLState: 42S22)
Step Error Description:[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'cil_id'.
Step Error code: 800400CF
Step Error Help File:SQLDMO80.hlp
Step Error Help Context ID:1131
0
Comment
Question by:trojan_uk
2 Comments
 
LVL 6

Expert Comment

by:graf0
Comment Utility
Try to run the profiler against one of the instances while you execute the wizard. Look what is tha last query exeuted by it (or one of the last queries) - does it have cil_id in its syntax? That's the query that is giving you problems - you may want to test it in QA and look what is wrong with it and why.
If that doesn't work - do it again against the other server as you don't know which one is giving you the error.

HTH
0
 
LVL 34

Accepted Solution

by:
arbert earned 125 total points
Comment Utility
I've always found the DTS wizard leaves a lot to be desired when copying objects.  Sometimes you don't get all the constraints, sometimes you loose PK/FKs, etc...just personal opinion, but I would consider the copy database wizard, backup/restore, or attach/detach--you'll save yourself lots of headaches and debugging time.

Brett
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now