MatchingWorksheet report = new MatchingWorksheet(); report.SetDataSource(this.Data); if(isPreview) { reportForm.Hide(); FormPrintPreview fpp = new FormPrintPreview(report); fpp.ShowDialog(reportForm.Owner); reportForm.Visible = true; } else { report.PrintOptions.PrinterName = reportForm.PrinterName; report.PrintToPrinter(reportForm.Copies, true, reportForm.PrintRange.FromPage, reportForm.PrintRange.ToPage); }>I'm wondering why CRPE32 is loaded. It is a COM-based ActiveX control. Are you using the .Net Crystal Report libraries?
>>'DCF.ReconSys.exe': Loaded 'C:\WINDOWS\SYSTEM32\nvwimg.dll', Binary was not built with debug information. >>'DCF.ReconSys.exe': Unloaded 'C:\WINDOWS\SYSTEM32\nvwimg.dll' >>'DCF.ReconSys.exe': Loaded 'C:\WINDOWS\SYSTEM32\nvwimg.dll', Binary was not built with debug information. >>'DCF.ReconSys.exe': Loaded 'C:\WINDOWS\SYSTEM32\MSIMG32.DLL', No symbols loaded. >>First-chance exception at 0x7c812a5b in DCF.ReconSys.exe: 0xC0020001: The string binding is invalid. >>First-chance exception at 0x3aa18217 in DCF.ReconSys.exe: 0xC0000005: Access violation writing location 0x05663000. >>HEAP[DCF.ReconSys.exe]: Heap block at 05662F78 modified at 05662F92 past requested size of 12 >>Windows has triggered a breakpoint in DCF.ReconSys.exe. >> >>This may be due to a corruption of the heap, and indicates a bug in DCF.ReconSys.exe or any of the DLLs it has loaded. >> >>The output window may have more diagnostic information >>>>