RE: Custom Exceptions in COM+
From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 04/20/04
- Next message: Steve: "Translate VB6 to .NET"
- Previous message: Brad Radaker: "RE: Duplicating a socket for another process"
- In reply to: el_sid: "RE: Custom Exceptions in COM+"
- Next in thread: el_sid: "RE: Custom Exceptions in COM+"
- Reply: el_sid: "RE: Custom Exceptions in COM+"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 14:50:13 GMT
Hi ,
The ApplicationException seems caused by the CLR failed to resolve the type
of the Custom Exception, but I'm still unable to figure the cause of the
TargetInvocationException as you said it was resolved by registering the
assembly into GAC, it is deeply related with ServiceComponent
Implementation and the CLR Type loader system, there might be some
difference between the code path executed on your system and mine, due to
the complexity to investigate the cause of TargetInvocation issue, I
suggest you contact our Phone Service to get further assistance on this
issue,
About your another question : add the client proxy assembly into the GAC
automatically when installing the client proxy setup package.
In my test, the proxy assembly was added to the GAC of client machine
automatically during proxy installation.
You may confirm this behavior on your system.
If you mean install the install the shared assembly(the assembly contains
the custom exception) into GAC on the client machine during installation,
you need modify the MSI packages to archieve this,
the following KB article will show you how to edit Windows Installer
package using the Orca DataBase Editor.
HOWTO: Use the Orca Database Editor to Edit Windows Installer Files
http://support.microsoft.com/?id=255905
You may try embed the dcomcnfg generated MSI into a setup project MSI using
nested Installation:
HOWTO: Create a Nested .msi Package
http://support.microsoft.com/?id=306439
or extract the files and registry information from the dcomcnfg generated
MSI and inject it into your own setup project.
As I'm not very familiar with MSI setup issue, you may also post your
questions in
microsoft.public.platformsdk.msi group to see if the other community
members in that group have some ideas on it.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Community Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.
- Next message: Steve: "Translate VB6 to .NET"
- Previous message: Brad Radaker: "RE: Duplicating a socket for another process"
- In reply to: el_sid: "RE: Custom Exceptions in COM+"
- Next in thread: el_sid: "RE: Custom Exceptions in COM+"
- Reply: el_sid: "RE: Custom Exceptions in COM+"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|