G
Guest
Hello,
I am attempting to call a single WCF wsHttpBinding service under IIS from
two seperate Web Sites on the same server. Unfortunately, it appears that
only one can communicate to the WCF service at a time returning
"WSHttpBinding_IMyService Error: The communication object,
System.ServiceModel.Channels.ServiceChannel, cannot be used for communication
because it is in the Faulted state." I suspect that it is because IIS is, by
default, using the same IP address for both Web Sites while being a client
calling the service, even though this server has multiple IP addresses,
because I can call the server from two different Web Sites if they are on
different computers.
Is there a way to explicitly set the client IP address to use within the
web.config file (under <system.serviceModel> section)?
Much thanks,
Michael
I am attempting to call a single WCF wsHttpBinding service under IIS from
two seperate Web Sites on the same server. Unfortunately, it appears that
only one can communicate to the WCF service at a time returning
"WSHttpBinding_IMyService Error: The communication object,
System.ServiceModel.Channels.ServiceChannel, cannot be used for communication
because it is in the Faulted state." I suspect that it is because IIS is, by
default, using the same IP address for both Web Sites while being a client
calling the service, even though this server has multiple IP addresses,
because I can call the server from two different Web Sites if they are on
different computers.
Is there a way to explicitly set the client IP address to use within the
web.config file (under <system.serviceModel> section)?
Much thanks,
Michael