Hello,
When we run one of our report with Crystal Report for VS2010 the W3WP.exe process is crashing with an error c0000005.
We run on a Win2k8 R2 Server in 64-bit Mode.
The report is really simple with a Main report and a SubReport. The error is caused by the SubReport but it does not do anything special.
I have investigate our code and found out that if I change this line of code:
objRptDoc.DatabaseController.ReplaceConnection(objCurrConnInfo, objNewConnInfo, Nothing, CrDBOptionsEnum.crDBOptionDoNotVerifyDB)
for this line:
objRptDoc.DatabaseController.ReplaceConnection(objCurrConnInfo, objNewConnInfo, Nothing, CrDBOptionsEnum.crDBOptionUseDefault)
the problem is solved. But we don't want to use the Default Option because it force a verify database that slow down our report if there is a lot of tables in the main report & the sub report(s).
Here is the stack trace of AdPlus:
Full Call Stack Function Arg 1 Arg 2 Arg 3 Source crqe+156bf 248f59d1 00000000 1162df88 crqe+159d1 24a1e1ed 00000000 1162df80 crqe+13e1ed 24942b4f 00000000 10aaeb80 crqe+62b4f 24a0e0a3 00000000 00e406a0 crqe+12e0a3 24a10107 00000000 00e31ab8 crqe+130107 379dedbe 00000000 00e31ab8 crpe32!PEGetNthTableQualifier+3388e 379e3a2a 00000000 10aaf130 crpe32!PEGetNthTableQualifier+384fa 37a26861 00000000 00007c60 crpe32!PEGetNthTableQualifier+7b331 37e26c77 00000000 00000000 crpe32!MWCleanupProcess+cebc7 37d29004 00000000 11560890 crpe32!CRPEConnectionInit+231e14 37d37144 00000000 11560890 crpe32!CRPEConnectionInit+23ff54 37d3826f 00000000 00e40e50 crpe32!CRPEConnectionInit+24107f 37d3858c 00000000 00e40e50 crpe32!CRPEConnectionInit+24139c 37d38c3c 00000000 00e40e50 crpe32!CRPEConnectionInit+241a4c 71ec17cd 00000000 00e40e50 mfc80u!_AfxThreadEntry+101 747b37d7 00000000 04942050 msvcr80!endthreadex+47 747b3894 00000000 748695c0 msvcr80!endthreadex+104 76c9f56d 00000000 00000000 kernel32!BaseThreadInitThunk+d 76dd3021 00000000 00000000 ntdll!RtlUserThreadStart+1d 00000000 00000000 00000000 In FULLDUMP_SecondChance_av_AccessViolation_w3wp.exe__0c10_2011-03-02_20-09-00-444_1c7c.dmp the assembly instruction at crqe+156bf in C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\crqe.dll from SAP BusinessObjects has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000008 on thread 33
Are you aware of this issue? Is there another way to fix this without doing a verify database?
If you need more information please let me know.
Charles.