.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

SwitchClientProviderChannels are not specififed ?

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :Windows Application
 

Nevermind the gross mispelling of the error. I'm using WCF on VizStudio 2010

Can someone tell me how to specify a switch channel?

Error text: RemotingCleintManager.Start(): SwitchClientProviderChannels are not specififed

Code:

 

            ChannelFactory<IDWService> scf;
            scf = new ChannelFactory<IDWService>(new BasicHttpBinding(), "http://localhost:10000/DWService");
            IDWService dw = scf.CreateChannel();
            
            //DWServiceClient serviceClient = new DWServiceClient();
            ClientServiceSession clientSession = dw.Login("***", "***", "*** *** Company");

 

config:

 

<configuration>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_IResultListService" closeTimeout="00:01:00"
                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                    allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                    useDefaultWebProxy="tru


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend