Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.sqlserver.xml > #2

Re: msxml3.dll parameter error?

X-Received by 2002:a37:f902:: with SMTP id l2mr4637746qkj.511.1634827607024; Thu, 21 Oct 2021 07:46:47 -0700 (PDT)
X-Received by 2002:a5b:d0d:: with SMTP id y13mr6510799ybp.72.1634827606864; Thu, 21 Oct 2021 07:46:46 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups microsoft.public.sqlserver.xml
Date Thu, 21 Oct 2021 07:46:46 -0700 (PDT)
In-Reply-To <u459hSiOAHA.231@cppssbbsa02.microsoft.com>
Injection-Info google-groups.googlegroups.com; posting-host=104.247.199.162; posting-account=4eXWBQoAAACYgQOie1P4AwS0NgXI_uwR
NNTP-Posting-Host 104.247.199.162
References <u459hSiOAHA.231@cppssbbsa02.microsoft.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <ef047d7f-c63e-4afb-90f9-b238e6f0ec76n@googlegroups.com> (permalink)
Subject Re: msxml3.dll parameter error?
From Tree Newbee <sysdzw@gmail.com>
Injection-Date Thu, 21 Oct 2021 14:46:47 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 30
Xref csiph.com microsoft.public.sqlserver.xml:2

Show key headers only | View raw


在 2000年10月20日星期五 UTC+8 上午7:29:03,<Audun Simonsen> 写道:
> When I try to run the code pasted below, I get this error:
> msxml3.dll error '80070057'
> The parameter is incorrect.
> /test/test.asp, line 17
> Line 17 is this line: proc.input = osqlxml.GetDOM
> I've installed msxmlwr.exe and sqlxmlsetup.exe, and it's all running on an
> Advanced Server 2000 SP1 and SQL Server 7.0 SP2
> What might be the problem?
> Set osqlxml = Server.CreateObject("Microsoft.SQLXMLRequest")
> osqlxml.Connection = "Provider=MSDASQL;Driver=SQL
> Server;Server=server;Database=Northwind;uid=uid;pwd=pwd;"
> osqlxml.OutputEncoding = "BSTR"
> osqlxml.ObjectBasePath = ""
> osqlxml.ExecuteTemplateFile Server.MapPath("liste.xml")
> Set xsl = Server.CreateObject("MSXML2.FreeThreadedDOMDocument.3.0")
> xsl.async = false
> xsl.load Server.MapPath("stylesheet.xsl")
> Set template = Server.CreateObject("MSXML2.XSLTemplate.3.0")
> Set template.stylesheet = xsl
> Set proc = template.createProcessor()
> proc.input = osqlxml.GetDOM
> proc.transform
> Response.Write(proc.output)
> 
> Thanks in advance
> Audun
anyone

Back to microsoft.public.sqlserver.xml | Previous | Next | Find similar


Thread

Re: msxml3.dll parameter error? Tree Newbee <sysdzw@gmail.com> - 2021-10-21 07:46 -0700

csiph-web