HighTechTalks DotNet Forums  

Error Creating SAX Reader

Dotnet XML microsoft.public.dotnet.xml


Discuss Error Creating SAX Reader in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Simon.UK
 
Posts: n/a

Default Error Creating SAX Reader - 11-10-2007 , 09:38 AM






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 SQLXMLBULKLOADLib.SQLXMLBulkLoad4Class.Execute(Str ing bstrSchemaFile,
Object vDataFile)
at <Application>.<Class>.<Method>()

Can anyone help?

Thanks in advance,

Simon

Reply With Quote
  #2  
Old   
Martin Honnen
 
Posts: n/a

Default Re: Error Creating SAX Reader - 11-10-2007 , 09:43 AM






Simon.UK wrote:

Quote:
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/


Reply With Quote
  #3  
Old   
Simon.UK
 
Posts: n/a

Default Re: Error Creating SAX Reader - 11-10-2007 , 10:26 AM



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:

Quote:
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/


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.