Prob Creating PDF with Adobe 7.07

G

GaryDean

( 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 Report object. this code
works with all Adobe readers except for the new 7.07. If the client has
Adobe 7.07 nothing happens. With Adobe versions 5 and 6 the reader produces
the Crystal Report in PDF format.

Apparently they have changed something. does anyone have any ideas?

MyStream =
MyReport.FormatEngine.ExportToStream(MyExportRequestContext)
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Dim myBuffer(MyStream.Length) As Byte
MyStream.Read(myBuffer, 0, CType(MyStream.Length, Integer))
Response.BinaryWrite(myBuffer)
Response.Flush()
Response.close()
Response.End()
 
L

Lau Lei Cheong

That seems to be a MIME-Type problem for me.

Have you tried to see if an "upgraded from prior version" Adobe 7.0.7 will
read it?

Sorry, we have projects that uses AdobeReader ActiveX plugin to read PDF
files so we have to maintain the version we use, and cannot upgrade to 7.0.7
to see myself.
 
S

Steven Cheng[MSFT]

Hi Gary,

I also think the problem is likely due to some breaks/changes of adobe
component from v6 to v7. We haven't any good resource on this, however,
since the component is called by the crystal report component, and the
lastest version should be built with .net framework, you can use the
reflector tool to inspect the crystal component's code to see whether you
can get the clues there. Also, I recommend you contact the crystal report's
support on this issue:

#How to get help with Crystal Reports - International and U.S.
http://support.microsoft.com/kb/100368/en-us

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top