Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Session Out for all the users

$
0
0

Dear Member,

I am accruing a strange issue and after a lot of research, I am not able to fixed it.

By using the crystal report, I am generating the PDF file. Output can be a single page or maximum 1000 pages as per the record available in database. The generating file have some contents and picture of the member. All things are perfectly working except a single record which have a picture of a member 92 kb. If I try to print this alone or with 100 other records, its session out the application. If I remove the picture of this member then totally no issue. So its mean size of output file is not problem. I crop that  image in paint brush and make it small size (from 92 kb To 32 kb) then issue solved but when I use the original image (92 kb) still the same problem.

Below is the errors.

IIS Error;

[Window Title]

Visual Studio Just-In-Time Debugger

 [Main Instruction]

An unhandled win32 exception occurred in w3wp.exe [39088].

 The Just-In-Time debugger was launched without necessary security permissions. To debug this process, the Just-In-Time debugger must be run as an Administrator. Would you like to debug this process?

 [^] Hide process details  [Yes, debug w3wp.exe] [No, cancel debugging]

 [Expanded Information]

Process Name: w3wp.exe

User Name: IIS APPPOOL\ASP.NET v4.0 [Elevated]

Server Error

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2

Faulting module name: KERNELBASE.dll, version: 6.1.7601.19110, time stamp: 0x568429dd

Exception code: 0xc0000094

Fault offset: 0x000000000000b16d

Faulting process id: 0x15d4

Faulting application start time: 0x01d26715608b746f

Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

Faulting module path: C:\Windows\system32\KERNELBASE.dll

Report Id: fd36b722-d308-11e6-b3f0-00155d643a56

 Please note, error is accruing on the below line of code and I put it inside Try Catch, but its not picking.

oDocument.ExportToDisk(ExportFormatType.PortableDocFormat, sPdfFileName);


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>