R
Ringo
I have a remoting client project and a server project.
Everything works fine as long as both are on teh same computer, but
when I try t over my network I get the following error:
System.Security.Authentication.AuthenticationException was unhandled
Message="A remote side security requirement was not fulfilled during
authentication. Try increasing the ProtectionLevel and/or
ImpersonationLevel."
The connection is set up on the client side like this:
TcpChannel ch = new TcpChannel();
ChannelServices.RegisterChannel(ch, true);
remotingObject = (SerializerInterface)Activator.GetObject(
typeof(SerializerInterface),
IP_textbox.Text);
where the text in the texbox is "tcp://localhost:8085/
RobotServerApplication"
and the server side is set up like this
channel = new TcpChannel(port);
ChannelServices.RegisterChannel(channel, true);
RemotingConfiguration.RegisterWellKnownServiceType(
typeof(RemotingObject),
"RobotServerApplication",
WellKnownObjectMode.Singleton);
I have turned off firewalls on both machines and opened the port on
the router.
I change the client to point to tcp://198.162.1.101:8085/RobotServerApplication
(server address) and as soon as I send a command I get the error.
Everything I have googled about this tells me to change the
impersonation level, but I have no clue on how to do this. Does anyone
have any ideas? I also tried changing the "simple file sharing" that
comes up in the google answers alot and it did not help.
Thanks
Ringo
Everything works fine as long as both are on teh same computer, but
when I try t over my network I get the following error:
System.Security.Authentication.AuthenticationException was unhandled
Message="A remote side security requirement was not fulfilled during
authentication. Try increasing the ProtectionLevel and/or
ImpersonationLevel."
The connection is set up on the client side like this:
TcpChannel ch = new TcpChannel();
ChannelServices.RegisterChannel(ch, true);
remotingObject = (SerializerInterface)Activator.GetObject(
typeof(SerializerInterface),
IP_textbox.Text);
where the text in the texbox is "tcp://localhost:8085/
RobotServerApplication"
and the server side is set up like this
channel = new TcpChannel(port);
ChannelServices.RegisterChannel(channel, true);
RemotingConfiguration.RegisterWellKnownServiceType(
typeof(RemotingObject),
"RobotServerApplication",
WellKnownObjectMode.Singleton);
I have turned off firewalls on both machines and opened the port on
the router.
I change the client to point to tcp://198.162.1.101:8085/RobotServerApplication
(server address) and as soon as I send a command I get the error.
Everything I have googled about this tells me to change the
impersonation level, but I have no clue on how to do this. Does anyone
have any ideas? I also tried changing the "simple file sharing" that
comes up in the google answers alot and it did not help.
Thanks
Ringo