all groups > dotnet remoting > september 2005 >
You're in the

dotnet remoting

group:

What permissions does a remoting server need?


RE: What permissions does a remoting server need? Brad Quinn
9/23/2005 8:31:02 AM
dotnet remoting: Is your Windows Service starting correctly? Could there be another
application listening on the port that your remoting configuration is using?

[quoted text, click to view]
What permissions does a remoting server need? Rob Richardson
9/23/2005 8:41:25 AM
Greetings!

The meat of my application is contained in a Windows service written in C#
and exposing methods through .Net Remoting. The user interface is written
in FoxPro, communicating with a COM object written in C# that resides on the
client. The COM object uses remoting to talk to the server. The system
works when the server and client both reside on my machine. It works when
the client is on my machine and the server is on a machine another developer
on the project uses. But it doesn't work when the server is installed on a
Windows 2000 Server machine, either a physical machine or a virtual machine
on my computer. I get an error message saying that a connection could not
be established because the target machine actively refused it. I get the
same message if I try to talk to a machine that is not running the service.
I'm thinking that permissions may not be set correctly on the Win2000
servers. What permissions should I check?

Thanks very much!

Rob Richardson

Re: What permissions does a remoting server need? Roy Chastain
9/23/2005 9:45:18 AM
That error is most likely because the server component has not properly setup the channel. That is the same error that happens
when you attempt a IP connection to a port that does not have a Listen active.

Is there a firewall between you and the failing server? If so, open the port in the firewall.

You will run into permission problems later :-)

[quoted text, click to view]
-------------------------------------------
Roy Chastain
KMSYS Worldwide, Inc.
Re: What permissions does a remoting server need? Prodip Saha
9/26/2005 8:55:58 AM
You may want to check the location of the configuration file for
host(windows service). By default windows service looks for file in system32
folder but you can change this behaviour by specifying the location-

RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.Con
figurationFile) ;

Check out the article Distributed Data Access for more-
http://www.aspnet4you.com/Articles.aspx?ArticleID=5029 .

Thanks,
Prodip

[quoted text, click to view]

AddThis Social Bookmark Button