Voila j'ai un petit problème de configuration cotée client
Cette configuration (dans app.config) marche bien en temps normal, mais lorsque j'active l'option "Make single instance application" dans les options de "My project" ca plante royalement avec une erreur du type :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <system.runtime.remoting> <application> <channels> <channel ref="tcp"> <serverProviders> <formatter ref="binary" typeFilterLevel="Full"/> </serverProviders> <clientProviders> <formatter ref="binary" /> </clientProviders> </channel> </channels> </application> </system.runtime.remoting>
Si quelqu'un a une idée"Une erreur s'est produite lors de la création du formulaire. Pour plus d'informations, consultez Exception.InnerException. L'erreur est : Échec de la configuration d'accès distant avec l'exception 'System.Runtime.Remoting.RemotingException: Le canal 'tcp' est déjà inscrit.\r\n à System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(IChannel chnl, Boolean ensureSecurity)\r\n à System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(IChannel chnl, Boolean ensureSecurity)\r\n à System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)\r\n à System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'."
ps@admin : je ne sais pas si j'ai bien fait de le poser là mon sujet
Partager