473,473 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

streaming data & xp

ann
The server is windows 2000 & IIS 6. When I stream my pdf and view in 2000 it
works fine, the pdf opens and everything looks great - in xp the page is
blank. If the user refreshes the page, they get the following:

(blank gif)

Here is my code:
.......
Response.ContentType = "application/pdf";
// IE & Acrobat seem to require "content-disposition" header being in the
response.
// If you don't add it, the doc still works most of the time, but not always.
// this makes a new window appear:
// Response.AddHeader("content-disposition","attachment; filename=MyPDF.PDF");
Response.AddHeader("content-disposition","inline; filename=CompLetter.PDF");
// Create the PDF export object
PdfExport pdf = new PdfExport();
// Create a new memory stream that will hold the pdf output
System.IO.MemoryStream memStream = new System.IO.MemoryStream();
// Export the report to PDF:
pdf.Export(rptBlank1.Document, memStream);
// Write the PDF stream out
Response.BinaryWrite(memStream.ToArray());
// // Send all buffered content to the client
Response.End();

Anyone know why and how I can fix this? The users need to experience the
same on xp as it works on 2000. It appears this is isolated to xp, but I
haven't a clue what to do.

Any help would be appreciated - thanks!
Aug 14 '06 #1
0 723

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

Similar topics

1
by: MyHaz | last post by:
I playing around with streaming shoutcast mp3s. Here is some sample code: ----------------------- import httplib ############ # Put together the headers headers = {"Icy-MetaData":"1"}
22
by: googlegroups | last post by:
I am playing with the XMLHTTPRequest method to perform client/server transactions. I have it set up right now so that when readyState is 4, it takes the XML and processes it. This works great until...
1
by: Patty O'Dors | last post by:
I've heard the phrase "streaming data into a rich text box" and I want to know whether it means what I hope it means. What I hope it means, is that if the user pastes a whole load of text into...
5
by: John | last post by:
Hi all, I have an (well, what I think to be, at least) interesting question: Is it possible to stream data down to the client and, after a certain amount of data has been streamed, allow the...
1
by: bordsby | last post by:
VB.NET, Windows XP Pro I am writing an application that streams financial numbers from Bloomberg, and basically every time Bloomberg's API raises an event in my application I receive all of the...
3
by: Vijay | last post by:
Hi Folks, I having one issue, in my application I am going to use the server push for streaming the data by keeping the connection open. At client side, i am having the XMhttprequest object (i.e...
2
by: Changhao | last post by:
Hi, friends, I am implementing a protocol on top of 'asyncore.dispatcher' to send streaming multimedia data over TCP socket. However, I found that the throughput of my current implementation is...
0
by: Søren M. Olesen | last post by:
Hi I have a situation, where I'd like one thread to write data to a stream and another thread to read data from the same stream at the same time.....is it possible? and if so, how do I implement...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.