473,467 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error import

1 New Member
I am trying to import data from one SQL (MS SQL 2005) table to another. They are supposedly identical in structure. They both have a Primary Key and they both have data. The "destination" table has 4000 records and I want to add the 10,000 records from the other (identical) table.

I am using the SQL Import wizard, and here is the error message:
"Messages Error 0xc0202049:
Data Flow Task:
Failure inserting into the read-only column "ts".
(SQL Server Import and Export Wizard)"


What am I doing wrong?
Apr 5 '07 #1
5 10700
MaryN
2 New Member
I am trying to import data from one SQL (MS SQL 2005) table to another. They are supposedly identical in structure. They both have a Primary Key and they both have data. The "destination" table has 4000 records and I want to add the 10,000 records from the other (identical) table.

I am using the SQL Import wizard, and here is the error message:
"Messages Error 0xc0202049:
Data Flow Task:
Failure inserting into the read-only column "ts".
(SQL Server Import and Export Wizard)"


What am I doing wrong?
richardg, did anyone ever reply to you? help me out please
Sep 18 '07 #2
grasshopper2
7 New Member
richardg, did anyone ever reply to you? help me out please
It sounds like ts (a column is set to read only so it won't allow the import, you could try deleting the data (the 4000 records and re-importing over the top it shouldn't take long, and if its a test server (sort of like my setup..then it shouldn't be a problem after you re-import) let me know if it works out. I am really new to this myself, so your mileage may vary but it worked for me I had a similiar error.
Brgds
grashopper2
Sep 18 '07 #3
MaryN
2 New Member
It sounds like ts (a column is set to read only so it won't allow the import, you could try deleting the data (the 4000 records and re-importing over the top it shouldn't take long, and if its a test server (sort of like my setup..then it shouldn't be a problem after you re-import) let me know if it works out. I am really new to this myself, so your mileage may vary but it worked for me I had a similiar error.
Brgds
grashopper2
Thanks for the reply, unfortunately cannot delete data, am using a live database and the table has been modified. Am new to this as well, maybe i need to speak to an SQL guru. Thanks all the same.
Sep 19 '07 #4
flstingray
1 New Member
To Insert the record you need to change one setting in the SQL Import Export Wizard. Select the Edit... button next to the table destination then check the box for Enable Indentity Insert. This should allow the records to be moved to the new table.
Feb 7 '08 #5
ck9663
2,878 Recognized Expert Specialist
check the structure of your table. that could be a COMPUTED column or an IDENTITY column.

try uploading your data using the same technique into a new table...then analyze the source and target table...then just do an INSERT INTO...

-- ck
Feb 7 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Julien Cigar | last post by:
Hello, I'm using mod_python 3.1.3 with Apache 2.0.54 on a Debian box with the publisher handler and the Clearsilver template engine, and from time to time apache returns an 500 error code...
3
by: Neter Smith | last post by:
I have run into a problem when trying to import a WSDL reference under VS 2003 and 1.1 of the framework. It appears as if it is in the generation of the proxy that things are failing. When I...
6
by: jasn | last post by:
Hello I am getting the following error message when I try and send an XML sting to a web service, I read somewhere that most web services prefer ascii and some throw errors when using unicode so...
0
by: David T | last post by:
Has anyone run across this error? When calling any of several visualization routines from FiPy, Python quits with a Bus Error I'm using MacOS X Tiger 10.4.3, and I've tried several builds...
0
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
0
by: Subanesh | last post by:
Hi All, Am new to using HTMLUnit.I wrote a sample code(to emulate opening of website google.com and enter a value say "html" in the text field and click the Search button) .The code is as follows...
8
by: ajos | last post by:
hi frnds, the situation is im developing a web application in struts-- my specifications-eclipse3.2.2,struts1.1,tomcat5.5.23 mysql5.0 db. the scenario-i have a jsp page which adds the...
0
by: shahiz | last post by:
This the error i get when i try to run my program Error: Unable to realize com.sun.media.amovie.AMController@18b81e3 Basically i have a mediapanel class that initialize and play the media as...
7
by: svpriyan | last post by:
Dear Buddies, I have two Java Prog: My task is to read the Content of the file and write to an XML file. so i started doing it perfectly... What i have problem is when i tried to execute the...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.