473,568 Members | 2,898 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error Creating SAX Reader

Hi,

I've created an appplication using the SQL XML Bulk Load COM object. When i
run the application in debug it works as expected and also when i run the
setup project the application is in on my development machine, it also works.
However, when i deploy the setup project on another machine i get the
following error at application runtime:

System.Runtime. InteropServices .COMException (0x80040154): Schema: Error
creating SAX reader.
at SQLXMLBULKLOADL ib.SQLXMLBulkLo ad4Class.Execut e(String bstrSchemaFile,
Object vDataFile)
at <Application>.< Class>.<Method> ()

Can anyone help?

Thanks in advance,

Simon
Nov 10 '07 #1
2 3562
Simon.UK wrote:
I've created an appplication using the SQL XML Bulk Load COM object. When i
run the application in debug it works as expected and also when i run the
setup project the application is in on my development machine, it also works.
However, when i deploy the setup project on another machine i get the
following error at application runtime:

System.Runtime. InteropServices .COMException (0x80040154): Schema: Error
creating SAX reader.
SAX reader could be an MSXML component. Are the same versions of MSXML
installed on both machines?

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Nov 10 '07 #2
Thanks Martin you were right!

The SQL XML Bulk Load object needed MSXML 6.0 to be installed (not included
in XP). I'll just have to include it in my setup project.

Thanks again for your help :-)

Simon

"Martin Honnen" wrote:
Simon.UK wrote:
I've created an appplication using the SQL XML Bulk Load COM object. When i
run the application in debug it works as expected and also when i run the
setup project the application is in on my development machine, it also works.
However, when i deploy the setup project on another machine i get the
following error at application runtime:

System.Runtime. InteropServices .COMException (0x80040154): Schema: Error
creating SAX reader.

SAX reader could be an MSXML component. Are the same versions of MSXML
installed on both machines?

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Nov 10 '07 #3

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

Similar topics

21
1805
by: Carolyn | last post by:
I've got a program that collects info from an Access. I'm trying to use the following select command to select all the information from the "Families" table and store it in a dataset, plus join the Surname and FirstName fields to create a new field, FamilyName: selFamilies.CommandText = "SELECT Families.*, Families.Surname + ', ' +...
1
1789
by: Joseph Bittman MCAD | last post by:
June 16, 2005 I'm creating a Windows Service that will backup some statistics files for my web application. I am having a problem when I try to start my service, where it says something about that the service started and stopped and sometimes this is caused by the service not having work to do. It mentioned that the Peformance Logs & Alerts...
8
1951
by: mohit | last post by:
Hi, I am creating a web application in Web Matrix on the .NET framework. I have two directories :AddUser and FormAuth in a Directory P. AddUser contains a file AddUser.aspx FormAuth contains : Default.aspx , Users.xml , Login.aspx I have the following code :
1
1464
by: zoneal | last post by:
pls let me know where i am going wrong. Dim categories As ArrayList Private Sub LoadCategoryDropDownList() Dim sCat As String For Each sCat In categories ///pls see the error at the bottom of the page. ddlcat.Items.Add(sCat) Next
3
1200
by: ankitdave | last post by:
Hi Guyz.. I am working on the creating a web service and I have a code like Public function test (byval query as string) as string query.loadxml (queryxml)
5
3136
by: Pucca | last post by:
I'm gettting this error at "Application.Run" in the code below. The error message also says "Out of Memory". How can I find out more about what's causing this error? It just breaks there with no further information. static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);...
5
4743
by: igotyourdotnet | last post by:
I'm creating a web service this is going to return an arraylist of items. When I try and run it Im' getting the following error message: System.InvalidOperationException: There was an error generating the XML document. ---System.InvalidOperationException: The type Car List was not expected. Use the XmlInclude or SoapInclude attribute to...
2
2450
by: vijayrvs | last post by:
SearchCrawler.java The program search crawler used to search the files from the website. From the following program i got 7 compiler error. can any body clarify it and provide me solution. import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; import java.util.*;
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8117
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3651
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.