Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7909103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:15:37+00:00 2026-06-03T12:15:37+00:00

We have a three tier application entirely developed in .NET 4.0 (C#). As the

  • 0

We have a three tier application entirely developed in .NET 4.0 (C#). As the enterprise application server we use COM+ 1.5 (I know it’s a little bit legacy…). There are a server part and a client part both developed in C# for .NET 4.0.

The server part exposes services inheriting the ServicedComponent class and returning objects which implement the “Serializable” attribute. The client calls the remote classes via the COM+ exported proxy of the component. We distribute the client app through ClickOnce and we have to install, with Admin privileges, the COM+ generated Proxy onto every client machine. This is the bad point.

So we are trying to evaluate other techniques which allow us to eliminate this proxy installation but it’s not so clear how to do this. We’d like to find a low impact way that allow us to use the same COM+ part and including in some way the Proxy into the client side code.

We have tried to use code like this in the client part but still requires the COM registration.

Type comObjectType = Type.GetTypeFromProgID("SumNameSpace.SumClass", "servercomplus", true);
SumInterface comObject = Activator.CreateInstance(comObjectType) as SumInterface;

We thought that using in the client part the interface instead the class would have to work, but we have the exception:

Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

This error should happen if there aren’t the correct information about the Interface in the Windows Registry, but we don’t know…

Any idea?

thanks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:15:38+00:00Added an answer on June 3, 2026 at 12:15 pm

    There’s no question you need the COM+ proxy installed on all the client machines, and you want to install it with the proxy installation package. The error you’re getting is the result of the missing ProgID entry under the HKEY_CLASSES_ROOT hive in the registry. This registry entry, among others, is provided by the installation package. This isn’t all the the proxy installer provides; I found a pretty good overview here.

    It sounds like what you are really looking for is to create a custom application manifest for your ClickOnce deployment. This should allow you to bundle the proxy installer as a bootstrap prerequisite into your ClickOnce deployment. However the install will still require administrative permissions; I don’t see a way around that (see note below). Here is a link to a tool that works with ClickOnce manifests that was created by Stackoverflow user Greg Jackman. I don’t have any experience with this, but based on Greg’s post it looks like it may be helpful to you.

    One final note: even if you do find a way to run the installation package as a non-elevated user, you don’t want to do that. Running non-elevated will change the way the package interacts with the registry. Short story, it will fail silently.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a three-tier Windows Forms DB application in VB.NET. I'm using VS 2005.
I have a three-tier application which is installed in corporate environments. With every server
I have a three tier system, SQL Server backend, hand written data access layer,
I have inherited a conventional three tier web app with ASP.net 2.0 for the
I have a classic 3-tier ASP.Net 3.5 web application with forms that display business
I have a three tier web app in which I am using MS Enterprise
I have some questions about three tier architecture. how to implement an application in
At work, we have a three-tier product. There is a client application which the
I have installed VS 2005 newly.I tried to create a new three tier application.
I have developed a 3-tier application and I have an issue about populating data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.