<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enterprise Services  Integration</title><link>http://forums.asp.net/46.aspx</link><description>Integrating Enterprise Services including Office, OWC, BizTalk, MSMQ, COM+, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Error using remoting services channel</title><link>http://forums.asp.net/thread/3272161.aspx</link><pubDate>Thu, 02 Jul 2009 19:49:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272161</guid><dc:creator>awclements</dc:creator><author>awclements</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272161.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=46&amp;PostID=3272161</wfw:commentRss><description>&lt;p&gt;It appears that the IIS server that VS2008 is using is on continously and it is holding the channel, keeping it registered through each debug session I run.&amp;nbsp; If I stop the IIS after each debug session, the channel needs to be registered anew.&amp;nbsp; It least it stopped the RemoteException.&amp;nbsp; Doesn&amp;#39;t explain why the UnregisterChannel method doesn&amp;#39;t work, however.&amp;nbsp; If anyone knows feel free to explain.&amp;nbsp; I&amp;#39;m curious what I have set up wrong.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;--Andy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error using remoting services channel</title><link>http://forums.asp.net/thread/3271875.aspx</link><pubDate>Thu, 02 Jul 2009 17:03:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271875</guid><dc:creator>awclements</dc:creator><author>awclements</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271875.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=46&amp;PostID=3271875</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m attmempting to hook a client up to the server via remoting.&amp;nbsp; The client code is an ASP.NET app and I&amp;#39;m running through VS2008.&amp;nbsp; The client remoting code is the following:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt;        EmailEnableGroupsWrapper.EmailEnableGroups service;
        TcpChannel channel = new TcpChannel();
        //ChannelServices.UnregisterChannel(channel);
        try
        {
            ChannelServices.RegisterChannel(channel, false);
        } catch (RemotingException re) {
            Console.WriteLine(re.StackTrace);
            ChannelServices.UnregisterChannel(channel);
            ChannelServices.RegisterChannel(channel, false);
        }
        ActivatedClientTypeEntry acte = new ActivatedClientTypeEntry(typeof(EmailEnableGroupsWrapper.EmailEnableGroups), &amp;quot;tcp://servername:portnumber/RemoteEnableEmailGroups&amp;quot;);
        RemotingConfiguration.RegisterActivatedClientType(acte);
        service = new EmailEnableGroupsWrapper.EmailEnableGroups();
        service.EmailEnableGroupWithGroupName(groupName);
&lt;/pre&gt;&lt;p&gt;&lt;br /&gt; When I get to &amp;quot;ChannelServices.RegisterChannel(channel, false);&amp;quot; it throws a remoting exception of &amp;quot;The channel &amp;#39;tcp&amp;#39; is already registered&amp;quot;.&amp;nbsp; As you can see above, the exception is caught and then I try to call &amp;quot;ChannelServices.UnregisterChannel(channel);&amp;quot; where I then get an error of &amp;quot;The channel &amp;#39;tcp is not registered with remoting services&amp;quot;.&lt;/p&gt;&lt;p&gt;This is enough to drive a man insane. &amp;nbsp;&lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif" alt="Tongue out" title="Tongue out" border="0" /&gt;&amp;nbsp; Anyone know where I am going wrong?&amp;nbsp; There is NO other remoting code being called anywhere in the app, nor is this code being called previously by anything.&amp;nbsp; There&amp;#39;s nothing in the configuration about the &amp;#39;tcp&amp;#39; channel.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Andy&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>