|
We are attempting to migrate a Server 2003 C# application that makes heavy use of .NET Remoting to Vista/64. In our app.config file we use the following security setting: <provider type="Microsoft.Runtime.Remoting.Security.SecurityClientChannelSinkProvider, Microsoft.Runtime.Remoting.Security, Culture=neutral, Version=2.0.18.0" securityPackage="ntlm" impersonationLevel="identify" authenticationLevel="call" /> We are getting a BadFormatException with the following stack. If we remove the security section everything works fine: System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) at Microsoft.Runtime.Remoting.Security.SecurityClientChannelSinkProvider..ctor (IDictionary properties, ICollection providerData) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Runtime.Remoting.RemotingConfigHandler.CreateChannelSinkProvider(Sin kProviderEntry entry, Boolean bServer) Any hints would be greatly appreciated.
|