Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / February 2004

Tip: Looking for answers? Try searching our database.

COM+ Win2k Registration Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Srikanth - 04 Feb 2004 22:17 GMT
Hi,

I have created a simple COM+ application on XP box and compiled the
component with a strong name and with"Register for COM interop" enabled. The
component is then registered on COM+ and I have created an .msi file by
doing an export in COM+ with the following properties:
1. Server application
2. Save application in COM+ 1.0 format.

When I try to run this .msi file on Win2k server( sp4) as an Administrator
user, Iam getting the following error:
"Error registering COM+ Application. Contact your support personnel for more
information."

The Win2k server Iam using is clean without any other application installed
on it.

The component class has an Interface defined with a Guid attribute and
class has the following attributes set:
[Guid("2EB07BCA-FCF6-481e-94F9-C2E03E95577E")]

[ClassInterface(ClassInterfaceType.None)]

[ComVisible(true)]

public class COMPlusTest : ServicedComponent, ICOMPlusTest

{

}

The class do not have any other dependencies.

I have to mention that if the Interface is not used then the components .msi
file is running successfully on Win2k.

I also have to mention that the .msi file is running successfully on another
XP box ( .msi file created with out the "Save application in COM+ 1.0
format."). The problem is only on Win 2k.

Any help is appreciated.

Regards,

Srikanth.
Slava Gurevich - 05 Feb 2004 15:16 GMT
See if this helps.  

FIX: "Access to the Registry Key Denied" Error Message When You
Register .NET Assembly for COM Interop
http://support.microsoft.com/?kbid=327507

Also make sure the latest Win2k service pack is installed.

Slava Gurevich

>Hi,
>
[quoted text clipped - 41 lines]
>
>Srikanth.
Bodza Bodza - 06 Feb 2004 16:21 GMT
> See if this helps.  
>
> FIX: "Access to the Registry Key Denied" Error Message When You
> Register .NET Assembly for COM Interop

Thanks for that one.

Next problem: I also had the same error (a simple Vb.net serviced
component on which I did strong name, registered using gacutil,
imported the dll to component services etc etc and successfully
registered it in Com+ Component services with no errors. I then
exported the application proxy from the COM+ package and it worked
fine on the same machine which has component services on it - I can
see the little ball spinning! (win2k sp4 with the 327507 fix in)

On the other machine, with exactly the same fix in (win2K sp4, regkey
edited to give full permissions to everyone) I get the "COM+ object
failed to register" error *and* when I try to access the object from
e.g. vb6 using createobject("class.class","192.168.1.36") I get
"Automation Error: Catastrophic Failure".
Slava Gurevich - 06 Feb 2004 18:51 GMT
Just as a sanity check, were you logged on under the account included
into the local admin group when the registration failure occurred?

>On the other machine, with exactly the same fix in (win2K sp4, regkey
>edited to give full permissions to everyone) I get the "COM+ object
>failed to register" error *and* when I try to access the object from
>e.g. vb6 using createobject("class.class","192.168.1.36") I get
>"Automation Error: Catastrophic Failure".
imad imad - 21 Feb 2004 00:16 GMT
Hi :
I did the same thing but with a littel deferances:
I developed the same component, Registered it on Win2k Server(With
SP4),exportd the proxy then imported it on WinXP based machines I hade
the same problems.

NOTE: I developed an equivilent component using ATL, I didn't had this
problem can you help me to find the reason and what is the solution.
Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.