MS XML Parser on the Server

Mike Wagner (mwagner@ets.org)
Fri, 20 Feb 1998 15:33:11 -0500


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@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