473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Browser prob w/response.binaryWrite

In my aspx program I'm writing a PDF report to the client browser as
follows...

Response.BinaryWrite(myBuffer)
Response.End()

This works successfully about 99% of the time but some I.E. browsers don't
get the stream. It says "Downloaded 0B".

I have one xp client maching running I.E. 6.0 where it always fails - all
security and privacy setting at Default as they are on all other machines.
On that same machine, FireFox accepts the report just fine.

Does anyone have any ideas what could cause this?
--
Regards,
Gary Blakely
Dec 4 '05 #1
2 1988
Please add Response.Flush and .close before end

??
"Gary Blakely" <se**********@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP10.phx.gbl...
In my aspx program I'm writing a PDF report to the client browser as
follows...

Response.BinaryWrite(myBuffer)
Response.End()

This works successfully about 99% of the time but some I.E. browsers don't
get the stream. It says "Downloaded 0B".

I have one xp client maching running I.E. 6.0 where it always fails - all
security and privacy setting at Default as they are on all other machines.
On that same machine, FireFox accepts the report just fine.

Does anyone have any ideas what could cause this?
--
Regards,
Gary Blakely

Dec 5 '05 #2
I gave that a try but it appears to have no effect on the behavior.
thanks for the suggestion though

Gary

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
"Edwin Knoppert" <ne**@hellobasic.com> wrote in message
news:43**********************@text.nova.planet.nl. ..
Please add Response.Flush and .close before end

??
"Gary Blakely" <se**********@nospam.com> schreef in bericht
news:%2******************@TK2MSFTNGP10.phx.gbl...
In my aspx program I'm writing a PDF report to the client browser as
follows...

Response.BinaryWrite(myBuffer)
Response.End()

This works successfully about 99% of the time but some I.E. browsers
don't get the stream. It says "Downloaded 0B".

I have one xp client maching running I.E. 6.0 where it always fails - all
security and privacy setting at Default as they are on all other
machines. On that same machine, FireFox accepts the report just fine.

Does anyone have any ideas what could cause this?
--
Regards,
Gary Blakely


Dec 5 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Peter Row | last post by:
Hi, I have a site were the pages are dynamically generated on demand. These pages like any static html page may contain image tags and references to CSS files. All the images and CSS files...
3
by: David Reynolds | last post by:
Does anyone know how I could stream Excel to the browser for download without saving the file somewhere first. I wasn't sure how I would go about it.
1
by: Magnus | last post by:
I want to generate a report and display it as a pdf in a WebForm (RptForm). To generate the report I need to pass some (sometimes a lot of) parameters from a WebForm (WebForm1). The report looks...
3
by: Joe Fallon | last post by:
I have a page in ASP.Net 1.1 which contains an image control. I set the ImageUrl property = "MyImageViewerPage.aspx" This page acts as an image handler. I have an array of bytes which I send to...
13
by: Daniel Walzenbach | last post by:
Hi, Imagine the following situation: I have an asp.net application which allows uploading files to a SQL Server 2000 database (Files are stored as type "images"). As a next step I would like to...
2
by: GaryDean | last post by:
( First, I'm using .net 1.1 and, yes, I posted this problem on the Adobe Forums but that won't do any good because they have very poor support) In the code pasted below, MyReport is a Crystal...
1
by: dnes | last post by:
Open Multiple New Browser Windows from ASP.NET I'm having trouble figuring out how to open multiple new browser windows (each one displaying something different). As you can see from the code...
2
by: msxkim | last post by:
My web app writes some binary data to a file at the client site via Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as follows: private void...
2
by: =?Utf-8?B?TWlrZVo=?= | last post by:
I know this is an ASP.NET question, but I know some experts can help me in this newsgroup: I have an asp.net web page, I need to push indefinite live video stream to web Brower, and here is the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.