Click here to Skip to main content
15,922,427 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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)

VB
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
Posted
Updated 13-Jan-16 23:42pm
v2
Comments
[no name] 12-Jan-16 8:43am    
a.) Is there an error/exception message at the Point the app crashes?
b.) I assume Report Needs a DB Connection. Do you checked that Connection is ok?
Richard Deeming 12-Jan-16 9:42am    
Without the exception details, there's nothing anyone can do to help you.
Nilesh C 12-Jan-16 10:23am    
0x01AA , yes there is an exception and DB connection is ok. reports are running properly on my development PC and laptop. application is crashing on client's pc.
[no name] 12-Jan-16 10:47am    
A hint: Use "Reply" button for the specific comment to give some Feedback. This makes sure that the Person will be notified about your Feedback.

BTW: DB Connection is maybe ok in your dev env. Anyway, waiting for the detailed exception message ;)
Nilesh C 12-Jan-16 10:25am    
richard deeming, i can provide details of exception tommarrow. it is on client's pc. client's pc is win7 32bit and win8 64bit.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900