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

Home Posts Topics Members FAQ

Crystal Reports and XP SP2

lee
I am using Crystal Reports for Visual Studio 2003 to produced a pdf
file and then pushing it out to the browser client using the
methodology described by the Microsoft online documentation. This used
to open a new browser window with the pdf document displayed inside.

However, after a recent spate of security updates, this is now forced
into a file download condition for Acrobat Reader 7. Acrobat Reader 6
is seemingly unusable.

Does anyone have any suggestions as to how to recreate the
functionality that does not involve the user having to save the pdf
file on the local workstation?

Any assistance is greatly appreciated.

Nov 19 '05 #1
2 1035
We use CR (version 11) for the same and don't have this problem. I tested
on a PC with XP sp2 + all latest updates using with Acrobat 7 and all of
it's updates. The PDF sent to the client by one of my web apps displays in
the browser without problem. I even set IE security settings to High
(except for enabling downloads) and still works.
I know you said it use to work....but has anything changed in the code?
Are you by chance sending content to client as an attachment?
i.e.
Using CR to export to temporary pdf then writer then
streaming that file to response and setting as attachment in header
Response.AddHeader("Content-Disposition",
"attachment; filename=myfile.pdf")

or
Using the CR 10/11 method ExportToHttpResponse and setting
asAttachment=True and attachmentName="yourfile.pdf"

<le*@relayworks.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
I am using Crystal Reports for Visual Studio 2003 to produced a pdf
file and then pushing it out to the browser client using the
methodology described by the Microsoft online documentation. This used
to open a new browser window with the pdf document displayed inside.

However, after a recent spate of security updates, this is now forced
into a file download condition for Acrobat Reader 7. Acrobat Reader 6
is seemingly unusable.

Does anyone have any suggestions as to how to recreate the
functionality that does not involve the user having to save the pdf
file on the local workstation?

Any assistance is greatly appreciated.

Nov 19 '05 #2
Hi Lee,

You can use report.ExportToStream
(ExportFormatType.PortableDocFormat) to export pdf content
to a stream. Then put data in memery and use
Response.Write to pull data to web page.
HTH

Elton Wang
el********@hotmail.com

-----Original Message-----
I am using Crystal Reports for Visual Studio 2003 to produced a pdffile and then pushing it out to the browser client using themethodology described by the Microsoft online documentation. This usedto open a new browser window with the pdf document displayed inside.
However, after a recent spate of security updates, this is now forcedinto a file download condition for Acrobat Reader 7. Acrobat Reader 6is seemingly unusable.

Does anyone have any suggestions as to how to recreate the
functionality that does not involve the user having to save the pdffile on the local workstation?

Any assistance is greatly appreciated.

.

Nov 19 '05 #3

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

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
5
by: BStorm | last post by:
I have a transaction log file where the DataSet table's Description column is actually delimited into "subcolumns" based upon the transaction id. I would like to parse these into separate fields...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
1
by: Lyners | last post by:
Hello all, I have created an ASP.NET website that uses Crystal Reports that works on the localhost (my PC), but when I copy it to the server it does not. The problem is...
2
by: =?Utf-8?B?Um9zcyBNYXNvbg==?= | last post by:
Hi I am interested in using crystal reports for the first time but have a few questions that someone maybe able to help with before I get started. The background to my query is that a client is...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
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
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,...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
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: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.