BobD
BobD

Reputation: 33

Error creating IpcChannel on German XP machine in .NET Remoting

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

Answers (1)

BobD
BobD

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

Related Questions