I've this problem:

I've WebSite with asp.internet pages.

http://desiis:90/WebSite1

Within this webSite, I've got a Service WCF (service1.svc).

http://desiis:90/WebSite1/services/Service1.svc

After I call towards the service, I recieve this error:

This collection already contains an address with scheme http

During my localhost all is alright.

any solution, please ??

note: aspx page and WCF service is incorporated in the same web application is needed

My current scenario would be that the ASPX web site use forms authentication and it'll call a WCF service, and you need to allow the forms authenticated identity be transfered to WCF service.

1) if aspx page and WCF service is incorporated in the same web application, you are able to switch on AspNetCompatiblity way of WCF to ensure that the HttpContext is going to be open to WCF service operation code.

thanks in advanced, greetings

It's likely you are hosting this within IIS, as well as your host has multiple addresses set up.

This is exactly what Used to do to resolve this issue.