I have developed an application in vb.net 2008. using crystal reports for reporting. The application's reports run only on development PC correctly but on client's system, the app crashes on following line cReport = New ReportDocument().
Tried all tricks found on net like "CR runtime 32/64 bit installation", installed windows updates etc.
i have tried it different pcs (win7 and win8 pc)
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.ReportSource
dim cReport As ReportDocument
cReport = New ReportDocument - error occurs on this line
cReport.Load(sRptNm)
Edited : here are stack trace
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Payroll.exe
P2: 1.0.0.0
P3: 56945193
P4: KERNELBASE.dll
P5: 6.1.7601.17514
P6: 4ce7b8f0
P7: e0434f4d
P8: 0000b760
P9:
P10:
Attached files:
These files may be available here:
C:\Users\more\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Payroll.ex_9199a2e75c29bec134645e7aa92c81fd92e26b7_0cf877b1
Analysis symbol:
Rechecking for solution: 0
Report Id: 7b79c2e0-bb60-11e5-9fcf-000ffe2cea5a
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <system>
<provider name="Windows Error Reporting">
<eventid qualifiers="0">1001
<level>4
<task>0
<keywords>0x80000000000000
<timecreated systemtime="2016-01-15T08:17:59.000000000Z">
<eventrecordid>12476
<channel>Application
<computer>more-PC
<security>
- <eventdata>
0
APPCRASH
Not available
0
Payroll.exe
1.0.0.0
56945193
KERNELBASE.dll
6.1.7601.17514
4ce7b8f0
e0434f4d
0000b760
C:\Users\more\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Payroll.ex_9199a2e75c29bec134645e7aa92c81fd92e26b7_0cf877b1
0
7b79c2e0-bb60-11e5-9fcf-000ffe2cea5a
0
===================== - second event below
Log Name: Application
Source: Application Error
Date: 15/01/2016 1:47:57 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: more-PC
Description:
Faulting application name: Payroll.exe, version: 1.0.0.0, time stamp: 0x56945193
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7b8f0
Exception code: 0xe0434f4d
Fault offset: 0x0000b760
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<system>
<provider name="Application Error">
<eventid qualifiers="0">1000
<level>2
<task>100
<keywords>0x80000000000000
<timecreated systemtime="2016-01-15T08:17:57.000000000Z">
<eventrecordid>12475
<channel>Application
<computer>more-PC
<security>
<eventdata>
Payroll.exe
1.0.0.0
56945193
KERNELBASE.dll
6.1.7601.17514
4ce7b8f0
e0434f4d
0000b760
Faulting application name: Payroll.exe, version: 1.0.0.0, time stamp: 0x56945193
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7b8f0
Exception code: 0xe0434f4d
Fault offset: 0x0000b760
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13