Subject: Re: [xsl] XSLT Parameter error in ASP transformation 80070057 From: "M. David Peterson" <m.david@xxxxxxxxxx> Date: Fri, 31 Oct 2003 13:25:13 -0700 |
I would change this... blogfile = ("/blog/blogfiles/blog" + thisMonth + ".xml") dataFile_xml = Server.mappath(blogfile) to this... dataFile_xml = Server.MapPath("/blog/blogfiles/blog" & thisMonth & ".xml") ditch the blogfile string variable all together... Ill have to check the docs but in both JScript and C#(on classic ASP and ASP.NET respectively) Server.mappath should be Server.MapPath... Im not a big fan of VBScript so I could not say for sure... something in the back of my mind is telling me that VBScript is not case dependent but I would verify it notne he less... Its been over 2 years since ive developed in classic ASP but Im also wondering if your xslt has a param or a variable that is not set to any value... this wouldnt be an XSLT problem but MSXML3.0 may have issues with it... check your variables and make sure they are set to a value and then rerun the page with the above changes and see if it helps... Best of luck! M. ----- Original Message ----- From: "Heath DeForrest Allison" <warriorpoet@xxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, October 31, 2003 12:35 PM 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, Heath DeForrest Alli | Thread | RE: RE: [xsl] XSLT Parameter error , cknell |
Re: [xsl] XSLT Parameter error in A, M. David Peterson | Date | RE: RE: [xsl] XSLT Parameter error , cknell |
Month |