Reputation: 33
When I make this call:
RemotingConfiguration.Configure(QviDBXml.NetworkConfigName, false);
I get the following exception result.
UcpService: .NET Remoting startup exception: Message: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated. at System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.StartListening(Object data)
The exe.config file is in the proper folder and this works great on the same machine when it is configured to run in USA-English.
I would appreciate any help.
Upvotes: 1
Views: 892
Reputation: 33
Turns out the problem was that my .config file had incorrect authorization data in it:
<channel ref="ipc" portName="qviucp" authorizedGroup="Everyone" exclusiveAddressUse="false">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
Once I set the authorizedGroup="Jeder", the service started fine.
Upvotes: 1