[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Application hangs up. System.Reflection.TargetException

Posted on 2009-02-09
Medium Priority
Last Modified: 2013-11-25
Application is a VB6 - EXE  (C.EXE) calling 2 VB .NET DLLs (A.DLL and B.DLL)
On the development PC (PCDev, Windows XP) all runs without problems, in the IDE or as executables.

On another PC (PCUser, Windows XP) it is installed as executables. On this PC, during a long running function in B.DLL following exception is raised, after the function has been running for a while:

"An exception 'System.Reflection.TargetException' has occurred in DefaultDomain. However, no debuggers are registered that can debug this exception. Unable to JIT debug."
During the message is shown, the applications window disappears and the app stops running.

Configuration on PCUser should be correct: a previos Version of the Application (with other versions of C.EXE, A.DLL and B.DLL ran without problems on PCUser.
Question by:joachim58
1 Comment

Accepted Solution

joachim58 earned 0 total points
ID: 23590495
We found that the PCUser was the only one with .NET framework 1.1 and 2.0 installed .

After removing .NET Framework 2.0 the problem did not occur any longer. (that leads us to the next problem: what to do with users, who need  both frameworks?)

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question