xsl-list
[Top] [All Lists]

RE: XSLT Parameter error in ASP transformation 80070057

2003-10-31 12:35:23
Line 760 = response.write(XMLDoc.transformNode(XSLDoc))

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com [mailto:owner-xsl-
list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
cknell(_at_)onebox(_dot_)com
Sent: Friday, October 31, 2003 11:38 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSLT Parameter error in ASP transformation 80070057


Which is line 760? Oh, by the way, Microsoft says the VBScript operator for
string concatenation is the ampersand. It looks like you are using the plus
sign which is OK in JavaScript, but is exclusively an arithmetic operator in
VBScript.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Heath DeForrest Allison <warriorpoet(_at_)studiozion(_dot_)com>
Sent:     Fri, 31 Oct 2003 10:56:06 -0600
To:       <XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] XSLT Parameter error in ASP transformation 80070057

The problem:

msxml3.dll error '80070057'

The parameter is incorrect.

/Default.asp, line 760

The components

You can see my XML and XSL here:
xml: http://www.studiozion.com/blog/blogfiles/blog10.xml
xsl: http://www.studiozion.com/blogmain.xsl

My ASP code looks like this:

<%

'dim them vars
dim thisMonth
dim blogfile
dim dataFile_xml
dim datafile_xsl

'fetch xml
thisMonth = cstr(month(now))

blogfile = ("/blog/blogfiles/blog" + thisMonth + ".xml")
dataFile_xml = Server.mappath(blogfile)
set XMLDoc = server.createObject("Msxml2.DOMDocument")
XMLDoc.async = false
XMLDoc.load dataFile_xml

'fetch xsl
set XSLDoc = server.createObject("Msxml2.DOMDocument")
XSLDoc.async = false
datafile_xsl=server.mappath("blogmain.xsl")
XSLDoc.load datafile_xsl

'transform
response.write(XMLDoc.transformNode(XSLDoc))

%>

This error attacked me like a thief in the night. One day my site worked
fine the next day... not so much. I've contacted my service provdier to find
out if they changed any permissions or anything else that might becausing my
problem, and they insisted that the fault was all mine. So I thought I'd put
it before a jury of my peers and ask if anyone can shed some light on why I
am seeing this error. Any and all help is much appreciated, a virtual beer
to anyone who can steer me toward the proverbial light at the end of this
tunnel.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list