Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 hexadecimal value 0x00, is an invalid character.

Author  Topic 

karmeeabi
Starting Member

18 Posts

Posted - 2013-08-21 : 08:09:08
Hi,
'
i am getting the below mentioned error while tring to extract the xml data to sql table.

[XML Source [1]] Error: The component "XML Source" (1) was unable to process the XML data. '.', hexadecimal value 0x00, is an invalid character. Line 531, position 59793.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "XML Source" (1) returned error code 0xC02092AF. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.

can some one help me to fix this issue

Regards,
Karthik Shankaran (KS)
+91-9940074724

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-08-21 : 08:23:06
0x00 is an invalid character per XML specifications http://www.w3.org/TR/REC-xml/#NT-Char You would have to remove those and other illegal characters, perhaps using a pre-processing script component. This thread has an example of how to remove those http://stackoverflow.com/questions/20762/how-do-you-remove-invalid-hexadecimal-characters-from-an-xml-based-data-source-p
Go to Top of Page
   

- Advertisement -