Hi, there

Thanks for your answer.
I did use regsvcs.exe to register my assemblies with COM+. Regsvcs.exe
does quite a few things, including putting the assembly entries in the
registry. I am sup prised that COM+ (more specially, my assemblies in
COM+ runtime environment) does not look for system registry when
attempting to load the required assemblies.

Thanks

Lee Tran
-----Original Message-----
From: Joyjeet Dey Majumdar [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] COM+


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.

Notice:
The information contained in this e-mail message and any attached files may
be confidential information, and may also be the subject of legal
professional privilege.  If you are not the intended recipient any use,
disclosure or copying of this e-mail is unauthorised.  If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete all copies of this transmission together with any attachments.

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