cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Post Author: Hanika

CA Forum: .NET

Hello,

I have a Windows form application that refuses to shutdown. The Windows application has a single form. The form contains a report viewer control that loads a report that uses an XML file as a datasource.

I am running VS 2005 on Vista. Just upgraded to CR2008. My test windows forms were working great. I recently upgraded to the latest patch that was available and from then on, my applications fail to close. If I enable the VS hosting environment I get a u2018Runtime Error!u2019 message. If I disable it, my program just stays open, as if in a loop on shutdown.

The Error Message reads:

Title: Microsoft Visual C++ Runtime Library

Runtime Error!

Program: u2026\TestReport.vshost.exe

This application has requested the Runtime to terminate it in an unusual way.

Please contact the applicationu2019s support team for more info.

Is this happening to anyone else?

Hanika

0 Likes
View Entire Topic
Former Member
0 Likes

Post Author: rptuser

CA Forum: .NET

The problem is with using the crdb_xml.dll for designing your reports

(ie. during the design wizard, scrolling down and selecting XML for the

connection type). This dll calls java.exe and uses it in the

background. .NET can not elegantly close out the jvm and either hangs

or causes this error. There is no fix for this and most likely will

not be as the xml dll is a java dll. You need to use the ADO.NET (XML)

selection for designing your reports (the crdb_adoplus.dll).Thanks for explaining this. One of the major problems is, Crystal Reports 2008 sample reports get this problem. It only happens if you refresh the report, not just on loading it. The Crystal Report designer doesn't get this error, so there must be a work around. Does any .Net guru know a way around this? Also, for people searching, I'll post my full error message:Application Error The exception unknown software exception (0xe06d7363) occured in the application at location...