ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
RE: RE: [xsl] XSLT Parameter error in ASP transformation 80070057
by other posts by this author
Oct 31 2003 8:34PM messages near this date
Re: [xsl] Handling Duplicate Lines in XSL | RE: [xsl] Select statement within HREF
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 vali
d or exists on the server." (http://msdn.microsoft.com/library/default.asp?url=/library/en-u
s/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 transforma
tion.

Correct the concatenation operators and try again. If that fails, double-check that all part
s 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 i
s still named that.
-- 
Charles Knell
cknell@[...].com - email



-----Original Message-----
From:     Heath DeForrest Allison <warriorpoet@[...].com> 
Sent:     Fri, 31 Oct 2003 13:35:23 -0600
To:       <xsl-list@[...].com> 
Subject:  RE: [xsl] XSLT Parameter error in ASP transformation 80070057

Line 760 = response.write(XMLDoc.transformNode(XSLDoc))

-----Original Message-----
From: owner-xsl-list@[...].com [mailto:owner-xsl-
list@[...].com]On Behalf Of cknell@[...].com
Sent: Friday, October 31, 2003 11:38 AM
To: xsl-list@[...].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@[...].com - email



-----Original Message-----
From:     Heath DeForrest Allison <warriorpoet@[...].com> 
Sent:     Fri, 31 Oct 2003 10:56:06 -0600
To:       <XSL-List@[...].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




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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved