Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: SetProperty Problem >Thread Next - Re: SetProperty Problem Re: SetProperty ProblemTo: NULL Date: 10/3/2006 10:49:00 PM
Yes, I am using it on a client.
Here is the snippet:
Set xslData = CreateObject("MSXML2.DOMDocument.3.0")
xslData.async = false
xslData.setProperty "ServerHTTPRequest", True
xslData.load("XSLFiles/blalba.xsl")
In some computers the setProperty works and in some it throws an error.
--
Unshared knowledge is lost knowledge, and lost knowledge is wasted capital.
Don't forget to vote :-)
"Anthony Jones" wrote:
>
> "Zeffy" <Zeffy@d...> wrote in message
> news:9D2FA7B4-F42C-410B-8ED2-F8CC24FFAE32@m......
> > Hey All,
> >
> > We are using IIS6 with ASP and VBScript on client side.
> > Our clients are using Windows XP SP2 and NT SP6 with MSXML 3.0.
> >
> > We are trying to load an XML from a URL located on our server.
> >
> > We are getting an error message:
> >
> > "The stylesheet does not contain a document element. The stylesheet may be
> > empty, or it may not be a well-formed XML document." on SOME specified
> WINXP
> > clients, on the rest (Other XP's and All NT's) are working correctly.
> >
> > We've added a ServerHTTPRequest flag to the MSXML object and we got
> another
> > error while parsing the XML.
> >
> > 1. I wanted to know if there are any software dependencies to use
> > ServerHTTPRequest flag?
>
> It's depends on WinHTTP which will be present on a standard XP and 2003 box.
>
> However why are you using it on a client?
>
> > 2. Why it is failing on some machines when we don't have it / add it?
>
> It's a very strange error to be getting from msxml3's DOMDocument load
> method
> Can you show us a small snippet of code on the client and what the server
> uses to send?
>
>
> >
> >
> > Thanks.
> >
> > --
> > Unshared knowledge is lost knowledge, and lost knowledge is wasted
> capital.
> >
> > Don't forget to vote :-)
>
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
