PC Review


Reply
Thread Tools Rate Thread

AppDomain.CurrentDomain.CreateInstanceAndUnwrap Error

 
 
=?Utf-8?B?RWxpIEFiaXRib2w=?=
Guest
Posts: n/a
 
      10th Feb 2004
Hi All

I am using a few Microsoft application blocks in our winforms applications

I am having problem with the Microsoft.ApplicationBlocks.ExceptionManagement components

The samples for Microsoft.ApplicationBlocks.ExceptionManagement work great and I am keen to use it. But once I try to use them within our application the error occurs

I am receiving an error when the code reaches the ExceptionManager.Activate Function which is below

Private Shared Function Activate(ByVal [assembly] As String, ByVal typeName As String) As Objec
Return AppDomain.CurrentDomain.CreateInstanceAndUnwrap([assembly], typeName
End Functio

The [assembly] value and the typeName value are correct

The [assembly] value is the assembly name the typeName is the name for the class that needs to be executed with the publish sub

Any help on this mater will be greatly appreciated

Thank

Eli
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
appdomain.CurrentDomain.UnhandledException pack Microsoft C# .NET 1 19th Nov 2006 05:45 PM
AppDomain CreateInstanceAndUnwrap =?Utf-8?B?RnJhbmsgVXJheQ==?= Microsoft C# .NET 1 29th Mar 2006 06:53 PM
SecurityException on AppDomain.CreateInstanceAndUnWrap =?Utf-8?B?SmFtZXM=?= Microsoft Dot NET Framework 5 9th Nov 2005 02:36 AM
AppDomain.CurrentDomain.SetPrincipalPolicy Luis Esteban Valencia Microsoft ASP .NET 0 11th Jan 2005 08:06 PM
AppDomain.CreateInstanceAndUnwrap of shared (GAC) assemblies Sebastien Girard Microsoft Dot NET Framework 2 14th Oct 2004 02:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 PM.