473,394 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

XDR element errors

Hi
I'm trying to bulk load an XML document into SQL2000 and no matter what I try the last element in my schema document is not being recognized by the uploader. The error I'm getting is

Schema: missing element definition 'NET_PAY'.

Has anybody seen this error before. The element is defined just like all the other ones and if I remove the NET_PAY element then I get an error that the new last element is missing. I'm using VB.Net like this

Dim objBL As SQLXMLBULKLOADLib.SQLXMLBulkLoad
objBL = New SQLXMLBULKLOADLib.SQLXMLBulkLoad
objBL.ConnectionString = "myconnectionstring
objBL.ErrorLogFile = "c:\error.log
objBL.Execute("c:\core.xdr", "c:\core.xml"

Thanks
Jami
Jul 21 '05 #1
0 1119

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: CJ | last post by:
I started with this schema: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="response"> <xs:complexType> <xs:sequence> <xs:element...
18
by: Tjerk Wolterink | last post by:
i have the following rule, <xsl:template match="br"> <br/> </xsl:template> This should convert all <br/> to <br/> but, my transformer transforms it all to
3
by: gogaz | last post by:
Hi, I am new to XML. Is following XML write? Or it can cause errors for other developers using/parsing my XML output in their respective applications. <emp id="101" name="ABC">...
1
by: Alejandro Calbazana | last post by:
Hello, Should the XmlValidatingReader validating xml against an xsd serially (e.g. - does the XML have to be in the correct position in order for a document to be valid)? For example, I am...
8
by: Developer | last post by:
Hello, Is there a way to validate an xml fragment? For example, I'd like to know whether this tag is legal, and if not, what's wrong: <complexType name="CIty Grid"> Thanks.
1
by: Derek | last post by:
I am writing a web application for job seekers, and am adding a section that allows administrators to upload jobs to the system via xml. I have used an xml schema to validate the xml they upload....
1
by: Jeremy Chapman | last post by:
I want to create an xsd so that I can validate xml against it. All I care is that the root node (named brl) exists in the document. Any other node can go inside it. If I validate an xml file...
2
by: Paul Darroch | last post by:
Hello I am trying to convert a web site from ASP to ASP.NET and the class attribute is used in tables throughout the site. The problem is when I am trying to convert these pages I have a huge...
4
by: Tom Eldridge | last post by:
Hi all I'm getting tons of these errors when running the w3c validator on my template page. Basically it will say for example: element "TITLE" undefined. Do I need to put this into lowercase...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.