I copied the code for an ASP routine that converts an XML document via XSL to HTML. Fairly simple code, a simple XML doc etc. I am just doing a test so I can learn XML before using it on a project.
But it blows up when I run the ASP script. I get this message:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/HOA/test.asp, line 3
Invalid class string
Here is the ASP script:
<%
'Load the XML
Set xDoc = Server.CreateObject( "Microsoft.XMLDOM" )
xDoc.async = false
xDoc.load(Server.MapPath("test.xml")
'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("test.xsl")
Response.Write(xml.transformNode(xsl))
%>
What gives? I have the right dll installed (MSXML.dll and 3 also)
But it blows up when I run the ASP script. I get this message:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/HOA/test.asp, line 3
Invalid class string
Here is the ASP script:
<%
'Load the XML
Set xDoc = Server.CreateObject( "Microsoft.XMLDOM" )
xDoc.async = false
xDoc.load(Server.MapPath("test.xml")
'Load the XSL
set xsl = Server.CreateObject("Microsoft.XMLDOM"
xsl.async = false
xsl.load(Server.MapPath("test.xsl")
Response.Write(xml.transformNode(xsl))
%>
What gives? I have the right dll installed (MSXML.dll and 3 also)