i have chosen to load some word files into a sql server database much to many users chagrin i am sure, but none the less, this is the route we have chosen to take. i have used an asp page so the user can upload a file to the database, there is also a page that lists all the files in the databse. in addition i also have a page that is supposed to display the file, however i run into an error on this page. this is the last bit of my code:
If Not rs.EOF Then
Response.ContentType = rs("Content Type")
Response.BinaryWrite rs("File Data")
End If
i get an error message that reads:
Response object error 'ASP 0106 : 80004005'
Type Mismatch
/TaskMan/test/file.asp, line 33
An unhandled data type was encountered.
line 33 is the binarywrite line. does anyone have any experience dealing with this type of situation or any suggestion as to how to remedy the problem?
If Not rs.EOF Then
Response.ContentType = rs("Content Type")
Response.BinaryWrite rs("File Data")
End If
i get an error message that reads:
Response object error 'ASP 0106 : 80004005'
Type Mismatch
/TaskMan/test/file.asp, line 33
An unhandled data type was encountered.
line 33 is the binarywrite line. does anyone have any experience dealing with this type of situation or any suggestion as to how to remedy the problem?
