Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.sqlserver.xml > #2
| Newsgroups | microsoft.public.sqlserver.xml |
|---|---|
| Date | 2021-10-21 07:46 -0700 |
| References | <u459hSiOAHA.231@cppssbbsa02.microsoft.com> |
| Message-ID | <ef047d7f-c63e-4afb-90f9-b238e6f0ec76n@googlegroups.com> (permalink) |
| Subject | Re: msxml3.dll parameter error? |
| From | Tree Newbee <sysdzw@gmail.com> |
在 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
Re: msxml3.dll parameter error? Tree Newbee <sysdzw@gmail.com> - 2021-10-21 07:46 -0700
csiph-web