cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal report Export/Print issue with Non default websites

Former Member
0 Kudos
86

Hello ,

I have an issue and its driving me nuts.

My problem i guess with the crystal reports. Might also be with IIS.

We have developed an website on VS2008. This website is configured on IIS 8.5

The server on which iis8.5 runs is a virtual server.

I have configured the website to run as two different virtual directories as mentioned below;

1) To run under default website (servername/virtualdirectory)

2) To run under complete separate website (www.abc.com/virtualdirectory)

if i  run crystal report using the servername/virtualdirectory, then the report is rendered fine and i can export the results also to any format and print successfully.

But when i run the crystal report using www.abc.com/virtualdirectory, then the report renders fine but i cannot export the results nor print. Nothing happens when i click the export button.

Any help will be highly appreciated.

Thanks

Abdul Aleem

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Abdul,

Sounds like it doesn't have access to the Viewer folder. Try adding this whole folder to your project:

C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers12

If not a great tool to indicate where the issue is is called Fiddler ( search for fiddler2) and it should log any permission or access issues.

Don

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

In addition to Don's suggestion. Remember that almost any action in the viewer will cause a post back - including clicking on the export button. If the report is not in session, the post back may fail and nothing will happen. See the following code on how to place a report object into a session:

1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete cod...

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter