I made a windows service host application that validates product that is loaded in trucks. When a truck gets dispatched, the application prints a load manifest report.
I initially used the CR2005 runtime for this job and that solution has been running for two years on 6 sites without a problem.
Because of customer demands we decided to switch over to Crystal Reports 2008, and I recompiled the program with the CR modules for the 2008 runtime.
After I put the solution in production, the host application started crashing after a couple of hours when printing reports.
The process is just killed, and the application itself doesnu2019t log anything. In the windows event viewer however, exceptions are written. One entry for every crash, but they refer to a couple of different modules. The exceptions are listed below.
On a restart, the first couple of reports print just fine. After a while a new print takes the host down.
Iu2019ve been debugging this for weeks now, and I donu2019t get any further. The only weird thing I notice is that if I use a console mode application to run the host (as opposed to a windows service) the problem doesnu2019t seem to occur.
When I make a service out of the console mode application using SrvAny however, the program starts crashing again.
Iu2019m pulling my hair out here. I hope someone came across this before and knows how to solve it.
OS: Windows server 2003 R2
Database: Oracle XE database
DB connection: Oracle in XE ODBC driver
CR runtime: cr2008fp32_redist.zip
Host application: Windows service made in C#.Net with Visual Studio 2005 (.net 2.0 framework)
Service type: Currently it is a System service, but I tried setting it up as a network service a a user service (admin user) as well without any result.
CR references: CrystalDecisions.CrystalReports.Engine, 12.0.2000.0
CR designer: Stand-alone CR 2008 developer version 184.108.40.2063
Errors found in thw Windows event viewer:
Faulting application dockmanagerhostservice.exe, version 220.127.116.11, stamp 4cd6da5a, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault address 0x00000000.
Faulting application dockmanagerhostservice.exe, version 18.104.22.168, stamp 4cd6da5a, faulting module mfc80u.dll, version 8.0.50727.4053, stamp 4a595928, debug? 0, fault address 0x00023c4d.
Faulting application dockmanagerhostservice.exe, version 22.214.171.124, stamp 4cc32bed, faulting module ntdll.dll, version 5.2.3790.4455, stamp 49900d60, debug? 0, fault address 0x00010a5b.
Faulting application dockmanagerhostservice.exe, version 126.96.36.199, stamp 4cc32bed, faulting module crqe.dll, version 188.8.131.523, stamp 4c98bea9, debug? 0, fault address 0x000a3b00.
Faulting application dockmanagerhostservice.exe, version 184.108.40.206, stamp 4cc32bed, faulting module crpe32.dll, version 220.127.116.113, stamp 4c98cc27, debug? 0, fault address 0x004c9d8c.
Edited by: Rob Hulsen on Nov 9, 2010 4:18 PM