473,404 Members | 2,114 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,404 software developers and data experts.

Why has my PDF rendering stopped all of a sudden?

Hi all,

I have Acrobat reader 6 installed as I usually do. I've recently had to
reinstall Windows and associated programmes and have my web apps up and
running except for the PDF rendering. The Crystal reports are running and
I'm not receiving errors but the final rendering as though it should
automatically load the Adobe PDF web viewer is not working. I have recently
installed VS 2005 Beta2 to check out but surely this won't affect my other
stuff?

Here's the code that's been working for a year now:
HttpContext.Current.Response.ClearContent()

HttpContext.Current.Response.ClearHeaders()

s =
rpt.ExportToStream(CrystalDecisions.[Shared].ExportFormatType.PortableDocFor
mat)

HttpContext.Current.Response.ContentType = "application/pdf"

HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;
filename=Report.pdf")

HttpContext.Current.Response.BinaryWrite(s.ToArray )

HttpContext.Current.Response.End()

Any ideas?

Regards

John.
Nov 19 '05 #1
0 928

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

Similar topics

4
by: Alan | last post by:
Thought I'd post this in case it's useful to other searchers in the future. On one of my sites I noticed that session variables had suddenly stopped persisting across pages. Some things I had...
4
by: Dag Sunde | last post by:
I've been working on a system that have been running for the last couple of years, but stopped working on my dev. machine after reinstalling WinXP yesterday. To my knowledge, it have been set up...
2
by: mclagett | last post by:
Can anyone please help me figure out why all of a sudden (even after many restarts of Visual Studio 2005 and reboots, etc) I am no longer able to set breakpoints in the disassembler window. I...
0
by: Mark E | last post by:
Hi Group, I have a new Dell server that has the .NET Framework 1.1 installed on Windows 2000 SP 3. All was well until I installed Project Server 2002. All of a sudden my ASP.NET pages...
1
by: Nikhil Tayal | last post by:
I'm having a Web application build over asp.net. Everything was working fine till yesterday. But now if I browse to any asp.net hosted on my machine, I get this error in the event log: Event...
1
by: JackBlack | last post by:
Hi, all! Using Win2k3 Server & IE 6 (all patches) on one box (web server), and XP/Pro & IE7 on another (workstation)... Project is a basic on-screen calendar with dynamically created table rows...
0
by: =?Utf-8?B?TWF0dCBDYWxob29u?= | last post by:
Hi there, Have had Team Foundation Server working for months now and all of a sudden after a restart of IIS it has been failing with errors: The identity of application pool 'TFS AppPool' is...
1
by: fatalparadox | last post by:
I had WAMP Server installed for a few months, everything was fine. Now all of a sudden it stopped working. It still executes the PHP but it doesn't allow me to write to a .txt file anymore. When...
10
by: AC | last post by:
I had a page that does some event setup on window.onload: function prepEvents() { document.getElementById("menumap_sales").onmouseover = swapMenuSales; // etc } window.onload = prepEvents;
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
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...

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.