MS XML Parser on the Server

Jim Lears JimL at Alphag.net
Sat Feb 21 23:39:03 GMT 1998


Server.CreateObject in VBScript is used for creating instances of COM
objects. The Java XML Parser doesn't expose any COM interfaces...notably
IClassFactory which is used to instantiate COM objects. The C++ version
is what you need...its an ActiveX control. The source code for both
parsers is available. If you insist on using the Java version, you could
mod it up to sport a COM interface..


Helping To Destroy The English Language

	-----Original Message-----
	From:	Mike Wagner [SMTP:mwagner at ets.org]
	Sent:	Friday, February 20, 1998 3:33 PM
	To:	xml-dev at ic.ac.uk
	Subject:	MS XML Parser on the Server

	Has anybody managed to get the Microsoft Java XML Parser running
as a
	component accessible by ASP under IIS? I tried what seemed to me
to be the
	obvious approach and that didn't work. I copied the java classes
to the
	TrustLib directory, then registered them with javareg. (An
excerpt of the
	BAT I used file is at the end of this message). However, when I
try a
	simple Server.CreateObject("com.ms.xml.om.Document") call in an
ASP page,
	it dies with the following error:

	Microsoft JScript runtime error '800a01ad'

	Automation server can't create object

	/xmltest.asp, line 14

	Any insights? Thanks.

	Mike Wagner
	Educational Testing Service
	mwagner at ets.org

	-----------------Javareg BAT file--------------------
	cd \winnt\java\trustlib\com\ms\xml\dso
	javareg /register /class:SchemaNode
/progid:com.ms.xml.dso.SchemaNode
	cd \winnt\java\trustlib\com\ms\xml\dso
	javareg /register /class:XMLDSO /progid:com.ms.xml.dso.XMLDSO
	cd \winnt\java\trustlib\com\ms\xml\dso
	javareg /register /class:XMLParserThread
	/progid:com.ms.xml.dso.XMLParserThread
	cd \winnt\java\trustlib\com\ms\xml\dso
	javareg /register /class:XMLRowsetProvider
	/progid:com.ms.xml.dso.XMLRowsetProvider
	cd \winnt\java\trustlib\com\ms\xml\om



	xml-dev: A list for W3C XML Developers. To post,
mailto:xml-dev at ic.ac.uk
	Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
	To (un)subscribe, mailto:majordomo at ic.ac.uk the following
message;
	(un)subscribe xml-dev
	To subscribe to the digests, mailto:majordomo at ic.ac.uk the
following message;
	subscribe xml-dev-digest
	List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list