why wont this work ?

G

Graham Mattingley

Hi Group,

I have this code, that was pointed out to me, but it returns the error
ADODB.Stream error '800a0bba'

File could not be opened.

/image_counter/default.asp, line 5

I have the IUSR permission set the the file "e:/test.gif" - but it dont seem
to work..

any ideas please :)



Regards

Graham Mattingley

this is all the code from the asp page
============================
<%
Set adoStream = Server.CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1
adoStream.LoadFromFile("e:/test.gif")

Response.BinaryWrite adoStream.Read()

adoStream.Close: Set adoStream = Nothing
Response.End
%>
 
R

Ray at

Just a real quick guess, but could it be that you're using a forward slash
in a file system path? That should be a backslash, e:\test.gif

Ray at home
 
T

Tom

I was having this problem as well after we moved from NT4 Server to
2003 Server. For some reason, when I went into IIS > Website > Home
Directory tab > Application Configuration button > App Options tab,
and turned off Enable Buffering, it worked again. This setting matched
the setting on the NT4.

TM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top