Hi Lee,
Use "Regasm.exe" to put  an entry in to the registry. I am sure it will
work.

Hope it works.
-Joyjeet

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED]] On Behalf Of Lee Tr
Sent: Tuesday, August 13, 2002 9:14 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] COM+

I wonder if someone could provide some pointer.
I have a couple of .Net assemblies that installed as separate COM+
applications (A & B). I am having problems of loading an assembly
(configured as application B) from application A using Reflection.

For example, from application A if try to execute TargetAssembly =
Assembly.Load(AssemblyName). AssemblyName refers to a .Net assemlby
which
was installed as application B. I receive FileNotFound exception. From
the
fusion log, it indicates that COM+ starts searching from
C:\WINNT\SYstem32
for the target assembly.
It works if I drop the assemblies.DLL into c:\winnt\systems.

The question is:
 what do I need to do the assmeblies to have COM+ looking into the GAC?

Many thanks in advance
Lee Tr

You can read messages from the Advanced DOTNET archive, unsubscribe from
Advanced DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to