Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ADO/ODBC : Having some problem with the BinaryWrite method!!!!!! Signup · Login
Author Thread
Having some problem with the BinaryWrite method!!!!!!
Posted in tutorial: Displaying Images from an Access Database using plain ASP
·  Bosky
UserUser
Joined: 20 Dec 2002
Total Posts: 11
Having some problem with the BinaryWrite method!!!!!!
Posted: 20 Dec 2002
Hi!!!!

I tried out the script....it works perfectly fine but, when i try to use the same with one of my ASP files it does not display the image instead displays some wild characters... :(

There is no problem with writing the image in the database. I guess writing it back from the database is what is creating problem. Are there some conditions that have to be taken care while using Binarywrite method...

Pleaseeee Help.....

Regards,
Bosky
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 547
See this thread
Posted: 24 Dec 2002
See this thread:

http://www.stardeveloper.com/articles/thread.html?tid=144

See the code in file.asp properly. You can use Response.BinaryWrite only to send a single file content to the client and also need to setup the Content-Type header properly as well.

Faisal Khan.
Stardeveloper.com
·  juddkirklin
User
Joined: 1 Feb 2003
Total Posts: 1
Having some problem with the BinaryWrite method!!!!!!
Posted: 1 Feb 2003
Hi.

I am having the same problem as you were originally but even with the answer you found to work mine is not working. Can you send me the code that works for you. I must be missing something.

Thank you

Judd

Users Who Have Visited This Thread In Last 24 Hours
3 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.