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: Argan

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).