[quoted text, click to view] Frostillicus wrote:
> I'm trying to get an ASP to return a zip file to the remote browser
> from an Image (BLOB) field in SQL Server 2000 but Internet Explorer
> keeps saying:
>
> Cannot open C:\Documents and Settings\Frostillicus\Local
> Settings\Temporary Internet Files\Content.IE5\U7GXENGF\file[1].zip
>
> The URL to open the zip file is like this: doc_view.asp?id=1&ver=2
>
> ...where id and ver represent the zip file's version in the database.
> The code I've pieced together to return the zip file is as follows
> (note: this code works fine for PDF, JPG, DOC, XLS, GIF, and all
> sorts of files - just not zip - HOWEVER, if I click "save" instead of
> "open" in the download box then open the zip file manually, it works
> fine - Internet Explorer just won't load WinZip for me automatically)
My guess: Mozilla and Opera do not display this error, and the ASP script
(a) sits behind NTLM authentication, or (b) depends on cookies (directly or
for session variables).
See the notes on these articles:
http://support.microsoft.com/?id=264143 http://support.microsoft.com/?id=185978 It appears that IE sometimes "loses" request information when handing the
response off to helper apps:
"Internet Explorer can sometimes lose information pertinent to a
particular download for an Active Document server (Word, Excel.)
When this occurs, Internet Explorer is able to activate the Active
Document server but when the server attempts to bind to and read
the data for the document, Internet Explorer re-downloads the
document from the context of the server.
When the server is an out-of-process local server, the second
download is treated as a new session with the Web server."
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.