Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 13 Jun 2008 08:19:29 -0700 (PDT),    group: microsoft.public.dotnet.distributed_apps        back       


Remoting problem of server used as a COM-object   
Hello!

I have a strange landscape
* a C#-Application as "remoting server"
* some C#-Applications as "remoting clients"
they have been tested and work well togehter

* the server is ComVisible
* the server is started as a COM-object by using CreateObject of
WindowsScripting Host.
* the clients run as office-plugins - they're also exposed as COM-
objects

Now the problem:
The server needs to run inside of a 3rd party app, that only supports
COM instead of .Net.
When I use my application via COM callable wrapper as a COM-object,
the clients cannot use the server anymore. They get a
ComPlusException. Some can get Remote-Proxies by using
Activator.CreateObject, but the first call always fails and throws the
COM+ - Exception.

What can I do? I have no idea of COM+ and btw what does it have to do
with .net-Remoting? Why can't I use a COM-hostet Remoting Service?

So if anybody knows... pls help!! Regards,
Michael

PS.: it neither didn't help to install all involved assemblies to the
gac...
date: Fri, 13 Jun 2008 08:19:29 -0700 (PDT)   author:   unknown

Re: Remoting problem of server used as a COM-object   
Update: I figured out what's behind that exceptions: The client say
the server can't load its assembly. That's quite crazy, because the
server is already running. Still clueless...
date: Fri, 13 Jun 2008 11:20:22 -0700 (PDT)   author:   Mischka

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us