Why don't you just use DCOM with the ServicedComponent (COM+). This way there will be fewer layers to pass through, the protocol is binary and offers a wide range of security options and can be addressed to specific ports on the firewall. Additionally, it will flow security and transaction context automatically, something that the other protocols will not do.
Ron Jacobs Program Manager XML Enterprise Services -----Original Message----- From: Marina [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Remoting Security Hi, I am just starting to experiment with remoting. I have a DLL with a class that inherits from MarshalByRefObject in the bin directory of a virtual directory. I then try to create an instance the following way: dim attributes(0) as Object attributes(0) = new urlattribute("http://ComputerName:80/RemotingTest") dim s = Activator.createinstance("ClassLibrary6","ClassLibrary6.ServiceClass",at tributes) When I do this, I get a: Permission denied for activating type ClassLibrary6.ServiceClass, ClassLibrary6, Version=1.0.837.19591, Culture=neutral, PublicKeyToken=null error. What security settings need to happen in order to create the object? Is there a different/better/correct way to create an instance of the remote object? Also, as a side note, I have a more general question. I need to be able to have work done remotely on COM+ objects. I have been looking into various ways to do this using http. The first is web services as a wrapper around the COM+ objects on the remote machine, it's simple to implement, but the performance is rather poor. Another seems to be the SoapVRoot attribute, but that isn't completely functional on XP, and when it is, it still means only 10 simultaneous users, which is unacceptable. So I am now trying to use a remoting (MarshaByRefObject) as a wrapper around the COM+ object, hoping the performance will be better. Am I on the right track? Anyone have any ideas about what the best solution for something like this is? Thanks, Marina You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.