Hi All,
I met a weird issue about exporting a crystal report to pdf.
In Visual Studio 2010 (framework 4.0), crystal report version is 13. I ran the project in debug mode in VS2010, and passed the following parameters,
start_date (2010-01-01), end_date (2013-11-30), locations ( 0261, 0272,0273,0277) and LocationsType=3.
I could get pdf report on web page successfully. So far so good!
However, when I setup a website with IIS(7.5) on my windows 7 machine (32 bits) and publish project there.
If I only select one location ( ex. 0261), the other parameters are the same, I can get pdf report on web page successfully.
But if selecting more than one location, such as (0261,0272), then I cannot get pdf report. It pops up an error message "Unhandled exception at 0x41d90c37 in w3wp.exe: 0xC000000FD: Stack overflow." and "Call stach location: crxf_pdf.dll!41d9037()".
here I used the same database, same crystal report templates.
I have also tried to publish the website on Windows server 2003, and got the same issue as my local IIS. When submit more than one locations, there is no response and no pdf report generated.
Could anyone please take a look at my question? I appreciate in advance.
Michael Lu