Click here to Skip to main content
15,906,097 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everybody,

I have a question that nobody could help me with.

I have a web application project and I have used crystal report vs2008 to have report. I need to export the report to excel.

Eveything is ok when I run my project, but when I set up my project on server clients can access all pages, but when press the button to have report the page that I designed, there is an error.

I don't have any problem on server and project run correctly.

What can I do? Can anybody help me please?

Many thanks.
Posted
Updated 28-Jul-10 22:00pm
v2
Comments
Sandeep Mewara 29-Jul-10 3:59am    
Add details about the error. It will help people in understanding the issue.
Dalek Dave 29-Jul-10 4:01am    
Edited for Readability, Spelling, Syntax and Grammar.
TheyCallMeMrJames 29-Jul-10 9:09am    
You might need to go to the event log for Crystal...on screen error reports aren't too great.

1 solution

Exporting to excel! :)

C#
reportClass.ExportToHttpResponse(
                        CrystalDecisions.Shared.ExportFormatType.Excel,
                        Response, true, reportClass.ReportOptions.InitialReportPartName);


and running on server migth be security or something like that! check for security in server side with asp.net
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900