Solved

XML Illegal Box Type New Record/Line Character

Posted on 2014-01-20
4
289 Views
Last Modified: 2014-01-20
Hello,

I'm reading in an XML file into SQL.  Next it goes to a flat csv file.  
There's an illegal character that is causing it not to write the record correctly to the csv file.  The character starts a new record.  The character does go into the SQL record.

Can you help me determine what the character is?  

It looks like the attached picture.  And it causes a new record to start.  The picture is from the original XML file.  

Using asp.net vb
Capture.PNG
0
Comment
Question by:jshesek
  • 2
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
Comment Utility
Open the XML with a hex editor (for ex. http://mh-nexus.de/en/hxd/) and see the character code.

HTH,
Dan
0
 
LVL 1

Author Comment

by:jshesek
Comment Utility
Sorry to be stupid about this.  Downloaded the program - the attached file shows where the error is.
Capture.PNG
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
Comment Utility
OK, then search for 0x0A7F and delete it.
0x usually means hex value, not sure it's the same in ASP.
0
 
LVL 1

Author Closing Comment

by:jshesek
Comment Utility
With this tool I was able to identify the exact character then replace it.  
0A = Line Feed / Carraige Return
7F = Undefined


Thanks Dan
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

12 Experts available now in Live!

Get 1:1 Help Now