home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » Unhandled exception in external .NET Forms Editor

For support issues and specific questions related to RC-WinTrans' use, features and functions.
29.06.2011 15:01:44

rboutilier
rboutilier
Posts: 11
I am having a problem opening a number of my UI elements in the external .NET Forms Editor. When I click the button to open the editor, it starts to load but eventually I get the following error dialog:

Abnormal program termination:

Unhandled Exception caught:
Method not found: 'Void
System.Threading.Monitor.Enter(System.Object, Boolean ByRef)'.
at System.ComponentModel.Component.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
System.AppDomain
RCTNetComp.CRCNetUtility.CurrentDomain_UnhandledException

Clicking OK in this dialog brings up another dialog

Abnormal program termination:

Application closed.

Clicking OK in this dialog brings up a final error dialog

RCWinTrans9.exe - Fatal Application Exit

RC-WinTrans abnormal Finished.

Clicking OK in this dialog closes the .NET forms editor and RC-WinTrans windows.

My application makes extensive use of DevExpress 2011 dll's for the UI. I can open certain dialogs with no problem, but others always generate this error. I haven't been able to establish a pattern.
0 permalink
30.06.2011 21:33:18

Support
Support
Administrator
Posts: 245
Please send us your assembly file and the name of the/a Form for which this problem exists.
Send it to support@schaudin.com. Subject: "Unhandled exception in external .NET Forms Editor" Subject: *** Unhandled exception in external .NET Forms Editor Subject: *** Unhandled exception in external .NET Forms Editor
0 permalink
01.07.2011 20:50:09

rboutilier
rboutilier
Posts: 11
I was able to determine the issue. My application targets .NET 4.0. When I open the dialogs in the .NET forms editor, the .NET 4.0 assemblies (System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, etc.) are missing. To address this, I was adding C:\Windows\Microsoft.NET\Framework\v4.0.30319 as a component reference directory. This is what was causing the unhandled exception. When I remove this directory from the list of component reference directories, I no longer get the unhandled exception, but much of the UI does not render in the Forms Editor. Are there any plans to fully support .NET 4.0 in future versions of RC-WinTrans?
0 permalink
20.09.2011 21:37:17

Support
Support
Administrator
Posts: 245
Thank you for your return and for this information.
We will check to see what needs to be done.
0 permalink

Home » RC-WinTrans Support » Unhandled exception in external .NET Forms Editor





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software