1

私のコード内で、私は使用しますRemotingConfiguration.Configure(configFile)

物事は通常のネットワーク上で完全に機能します。一方、Microsoft DirectAcess 経由で接続すると、同じ API がスローされ、例外が発生します。

[Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: ip
   at System.Runtime.Remoting.Channels.CoreChannel.GetMachineIp()
   at System.Runtime.Remoting.Channels.Http.HttpServerChannel.SetupMachineName()
   at System.Runtime.Remoting.Channels.Http.HttpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider)
   at System.Runtime.Remoting.Channels.Http.HttpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)

何がうまくいかないのですか?

ありがとうございました。

4

0 に答える 0