Steven,
If I use the following config:
<system.runtime.remoting>
<application>
<channels>
<channel ref="http" useDefaultCredentials="true" port="0">
<clientProviders><formatter ref="binary"
typeFilterLevel="Full"/></clientProviders>
</channel>
</channels>
<client>
<wellknown url="http://10.1.0.24:80/ImageService/ImageService.rem"
type="OrderDynamics.ImageService.Interfaces.IImage Service,OrderDynamics.ImageService.Interfaces,Vers ion=1.0.0.0,Culture=neutral,PublicKeyToken=6630652 90036ba4e"/>
</client>
</application>
</system.runtime.remoting>
I get the following exception which states you can't have version
information in the assembly name.
Exception Details: System.Runtime.Remoting.RemotingException: .Config file
'C:\Visual Studio Projects\Nutrazone\AdminUI\web.config' cannot be read
successfully due to exception 'System.Runtime.Remoting.RemotingException:
Version information is present in the assembly name
'OrderDynamics.ImageService.Interfaces,Version=1.0 .0.0,Culture=neutral,PublicKeyToken=663065290036ba 4e' which is not allowed for 'client wellknown' entries.
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ReportError(String errorStr, RemotingXmlConfigFileData configData)
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ReportAssemblyVersionInfoPresent(Stri ng
assemName, String entryDescription, RemotingXmlConfigFileData configData)
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ProcessClientWellKnownNode(ConfigNode
node, RemotingXmlConfigFileData configData, RemoteAppEntry remoteApp)
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ProcessClientNode(ConfigNode node, RemotingXmlConfigFileData configData)
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ProcessApplicationNode(ConfigNode node, RemotingXmlConfigFileData configData)
at
System.Runtime.Remoting.Activation.RemotingXmlConf igFileParser.ParseConfigNode(ConfigNode rootNode)
at
System.Runtime.Remoting.RemotingConfigHandler.Load ConfigurationFromXmlFile(String filename)'.
--
-Steven
"Steven Cheng[MSFT]" wrote:
> Thanks for your response,
>
> Then, the problem is somewhat specific to .NET remoting scenario. Is it the
> server app or the client app? Based on my research , when configure service
> object for remoting, we can provide their full qualified name in
> application config file.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>