Error message: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item The error occured while running hosted WCF application Software specifications: Application: Sample WCF application with a service .svc file Framework : .Net framework 3.0, WCF WCF binding used: wsHttpBinding URL:www.ideadms.com/service.svc Replcate error: Run the above url
That error is solved. Struck with new Issue. Error Message: The request for security token could not be satisfied because authentication failed Software: .Net Frame work 3.0 with WCF URL: http://www.ideadms.com/WCFClient/Default.aspx Replication of error: Try the above url Details: The service is created and working fine. Accessing the service from a client application is giving the security token authentication failed! Murali
Can you post the web.config of both the client and the service. Aristotle DiscountASP.NET www.DiscountASP.NET
Hi, Please find the details you asked for. SERVICE WEB.CONFIG is as follows: </o> </o> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"></o> <system.serviceModel></o> <services></o> <service </o> name="DMSServices"</o> behaviorConfiguration="MyServiceBehavior"></o> <endpoint </o> contract="I_DMSServices" </o> binding="wsHttpBinding"/></o> <endpoint </o> contract="IMetadataExchange" binding="mexHttpBinding"</o> address="mex" /></o> </service></o> </services></o> </o> <serviceBehaviors></o> </o> <serviceDebug includeExceptionDetailInFaults="true" /></o> </behavior></o> </o> <serviceMetadata httpGetEnabled="true" /></o> </behavior></o> </serviceBehaviors></o> </behaviors></o> </system.serviceModel></o> </o> <system.web></o> <compilation debug="true"/></o> </system.web></o> </o> </configuration> CLIENT WEB.CONFIG is as follows: </o> <configuration></o> <system.web></o> <compilation debug="true"></compilation></o> </system.web></o> <system.serviceModel></o> </o> <client></o> <endpoint </o> address="http://www.ideadms.com/Service.svc" </o> binding="wsHttpBinding" </o> contract="I_DMSServices" </o> bindingConfiguration="ServBinding"/></o> </client></o> </o> </o> <wsHttpBinding></o> name="ServBinding" </o> openTimeout="00:10:00" </o> closeTimeout="00:01:00" </o> sendTimeout="00:10:00" </o> receiveTimeout="00:10:00" </o> maxBufferPoolSize="52428890" </o> maxReceivedMessageSize="60000000"/></o> </wsHttpBinding></o> </bindings></o> </system.serviceModel></o> </configuration></o> </o> Murali
I don't see the identity element in the client web.config. Did you run the svcutil tool to get the config settings? Aristotle DiscountASP.NET www.DiscountASP.NET