Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting a report from the Crystal report viewer in an asp

Status
Not open for further replies.

chicirjs

Programmer
Aug 29, 2001
3
US
I have been trying to export a crystal report (version 8.0) generated through an asp and displayed in IE 5.0. The export parameter in the include file SmartViewerActiveX.asp that is supplied with crystal reports is set as follows:

<param name=&quot;EnableExportButton&quot; value=1>

When a user clicks on the export icon in the Smart Viewer ActiveX in the browser, the following message is displayed:

&quot;This report can not be exported&quot;.

If anyone else has encountered this issue and can point me in the correct direction, it would be most appreciated. Thank you.

Jason
 
YES - what a huge pain. Took me 3 days to figure this out just after we had upgraded our server.
Our problem was when we tried to export to Excel - it worked fine on the old machine - not on the new.

Check in what would be your rptserver.asp file - there is a constant set there that IIS cannot resolve when Crystal invokes the export subroutine - look for this:
EMFMIMETYPE = &quot;application/x-emf&quot;

and change it to this:
EMFMIMETYPE = &quot;application/vnd&quot;

That change solved the problem for us.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top