Subject: RE: RE: [xsl] XSLT Parameter error in ASP transformation 80070057 From: cknell@xxxxxxxxxx Date: Fri, 31 Oct 2003 15:34:52 -0500 |
We're getting a little off-topic, but I'll risk an answer. >From the MSDN Library "The MapPath method does not check whether the path it returns is valid or exists on the server." (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ref_vbom_serommp.asp) This suggests to me that perhaps the file name created by using the incorrect concatenation operator is failing but this isn't becoming apparent until you try to execute the transformation. Correct the concatenation operators and try again. If that fails, double-check that all parts of the path you are concatenating are correct. (Should the path really begin with a slash, for example?) If that fails, check to be sure that "blogmain.xsl" is still where it's supposed to be and is still named that. -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: Heath DeForrest Allison <warriorpoet@xxxxxxxxxxxxxx> Sent: Fri, 31 Oct 2003 13:35:23 -0600 To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] XSLT Parameter error in ASP transformation 80070057 Line 760 = response.write(XMLDoc.transformNode(XSLDoc)) -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl- list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of cknell@xxxxxxxxxx Sent: Friday, October 31, 2003 11:38 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxx - email -----Original Message----- From: Heath DeForrest Allison <warriorpoet@xxxxxxxxxxxxxx> Sent: Fri, 31 Oct 2003 10:56:06 -0600 To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT Parameter error in A, M. David Peterson | Thread | [xsl] XSL vs. WORDML, Du, Cindy |
Re: [xsl] XSLT Parameter error in A, M. David Peterson | Date | [xsl] Excluding one particular attr, Dongling Ding |
Month |