p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: Re: Stream Property


Message #1 by "H.-J. Leonhardt" <h.j.leonhardt@a...> on Tue, 13 Feb 2001 16:34:02
can you access the URL normally in a browser?




At 11:34 AM 2/13/01, you wrote:
>Hello,
>I have a similar problem..
>running win2000 and IIS 5.0
>I always receive
>Microsoft OLE DB Service Components (0x80004005)
>Unknown Error
>/meta5/record8.asp, line 9
>
>
>my source code is::
><!--#include file="adovbs.inc"-->
><% set urlstream = server.createobject("adodb.stream")
>urlstream.open "URL=http://leo/meta5/lycos.htm",
>adModeRead ,adopenstreamfromurl
>
>urlstream.Charset = "ascii"
>response.write urlstream.ReadText
>urlstream.close
>set urlstream = nothing
>
>%>
>
>Do you know whats wrong ??
>
>(on win 98 PWS4.0 i didn't receive that error)
>

Robert Chartier
Author, AspFree.com
xxx-xxx-xxxx
rchartierh@a...
http://www.aspfree.com/devlinks
http://www.aspfree.com/authors/robert
http://www.aspalliance.com/nothingmn


  Return to Index