Home | Advertising Info95 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Stream object
From: Ricardo
Date: 8/24/2002 3:04:56 AM
IP: 64.229.85.117



 

I wanted to read an ascii file located on the root of my site and I wanted to use the ADO stream object instead of the file system object.

I used the following script

Dim r, s
Set r = Server.Createobject("adodb.record")
set s = Server.Createobject("adodb.stream")

r.Open URL,,1
s.Open r,,4

URL is the URL to the file I wanted to open in the form "http://..."

I tested this script on my local computer running Windows XP Proffessional, IIS 5.1 and it worked fine.

But on the host, running Windows 2000 Advanced Server and IIS 5.0 it wouldn't.

I tested the property state and it returned the value 1 for the record and 0 for the stream.

It means it opens the record but not the stream.

The server doesn't return any error, it just doesn't open the stream.

It I try to open the stream without a source (an empty stream) it opens it fine.

It's not a file permission issue, I ended up using the file system object and it works, I can open the file.

The server obviously supports the object, it doesn't return any error when I create them and it returns the object's properties.

It seems more an issue with IIS than ASP.

any ideas?

Follow Up - Re: Stream object - Saqib Ansari 4/3/2004 1:57:34 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com