troubleshooting Question

File could not be written to cache error

Avatar of JL Network
JL NetworkFlag for United States of America asked on
Web DevelopmentASPWeb Browsers
11 Comments1 Solution12779 ViewsLast Modified:
I am using ADODB Stream to display a PDF from a secure site to the browser.  The pdf will open on some machines, but not others.  Both are running Windows XP pro, and IE 6.0  The error I recieve is IE cannot download xxx  The file could not be written to the cache.  Does anyone have any suggestions on what may be configured to allow the download?  The code to display the file is below:

thank you

Dim oStream, retFile
      Set oStream = Server.CreateObject( "ADODB.Stream" ) ' Create the object
      oStream.Open
      oStream.Type = 1
      oStream.LoadFromFile strFilePath
      retFile = oStream.Read
      Response.BinaryWrite retFile
      oStream.Close
      Set oStream = Nothing
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros