It seems you are using the httpstream demo skeleton.
That application is really simple and I suggest you to start your testing from the full demo project.
May be, if the stream input is a must for you, you should change the Document.Open with a Document.OpenStream.
Or are there some other reasons you was starting with the simpler package?
The administrator has disabled public write access.