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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export format weird behaviour in crystal 10

Status
Not open for further replies.

36grapes

Programmer
Aug 2, 2005
5
US
Hi,
I published my reports in crystal 10.
I tried to access these reports from browser using .\viewrpt.cwr?id=rptid&apstoken=.. with specifc export formats(u2fpdf,u2fxls ..)to view report.
This works properly if I pass export format as PDF,XLS or WORD i.e I get a file download window with filename.pdf or filename.doc or filename.xls.this is working perfectly.
But when i pass export format as RTF or RPT ,the filedownload window displays filename as filename.CWR.

I got stuck with this problem.
Any help would be much appreciated
Thanks
 
Thanks synapsevampire
I looked into the same but didn't found anything materialistic.Another thing which I observed is all the options worked in Netscape.
If I try to open filename.cwr with selected format it open correctly i.e I selected RTF format for my report and server returns filename.cwr but when i had open this cwr with Word it displays the data correctly.
I am not sure but i think Crystal is not able to send the extension of RTF and RPT files.
If I try to open URL from m/c where Crystal10 is install i get the file as filename.rpt but in other case it return filename.cwr

Regards




 
Not sure about finding anything materialistic, however applying the service pack is probably a good idea anyway.

-k
 
hi synapsevampire
This got resolved now.
This issue is there with Crystal Enterprise.
In order to make this work we need to add mime type in
"HKEY_CLASSES_ROOT\MIME\Database\Content Type" for specific extensions on CLIENT M/C(??).Crystal says that it passes the actual mime type as header in response but if mime type is not in registry then it display extension as CWR.
As I told this thing is working perfectly in netscape WITHOUT adding any registry values
Any how many thanks synapsevampire for putting your thoughts on this topic.Much appericated

This thread is closed

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top