DCSIMG
A WCF coincidence - Ido Flatow's Blog Veni Vidi Scripsi

Ido Flatow's Blog

Veni Vidi Scripsi

News

Have you heard me speak?
Powered
<style type='text/css' media='screen' id='sm_css'> #smix {overflow: visible;height: auto;border-radius: 10px;max-width: 250px;background-color: #323232;text-align: left;font-size: 12px;line-height: 16px;font-family:'Lucida Sans Unicode','Lucida Grande',Verdana,Arial,Helvetica,sans-serif;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;} #smix a {color: #0056CC;text-decoration: none;} #smix .sm_head {color: #fff; line-height: 1em;font-size: 1.4em;padding: 10px;color: #fff;} #smix .sm_lanyard_wrapper {background-color: #fff;;clear: both;width: 97%;margin: 0 auto;margin-bottom: 0px;} #smix .sm_lanyard_content {padding: 7px;}#smix button.sm_rec, #smix a.sm_rec, #smix input[type=submit].sm_rec { padding: 6px 10px; -webkit-border-radius: 2px 2px;-moz-border-radius: 2px; border-radius: 2px; border: solid 1px rgb(153, 153, 153); background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221))); color: #333; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; text-shadow: 0px 1px 1px rgba(255,255,255,1); line-height: 1; }#smix .sm_rec:hover { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(248, 248, 248)), to(rgb(221, 221, 221))); }#smix .sm_rec:active { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(204, 204, 204)), to(rgb(221, 221, 221))); }#smix .sm_rec.medium { padding: 3px 7px; font-size: 13px; }#smix .sm_rec span.icon.thumbs_up {background-position: 0px 36px;vertical-align: text-top;display: inline-block;margin-right: 4px;height: 18px;width: 16px;background-image: url(http://speakermix.com/images/new/thumbsold.png);}#smix .sm_rec:hover span.icon.thumbs_up {background-position: 0px 18px;} #smix .sm_events {padding:2px 0px 4px 0px;} #smix .sm_section {font-size: 10px; border-bottom: 1px solid silver; margin-bottom: 6px;} #smix .sm_subline {font-size:120%;margin-top:4px;font-weight:bold} #smix .powered {text-align: right} #smix .powered img {margin: 7px} </style>
Sela Technology Center

Advertisement

A WCF coincidence

Today, after giving my lecture on what’s new in WCF 4 as part of Sela’s SDP (Sela Developer Practice) conference, I got an email from one of my clients regarding a problem they encountered when trying to deploy their WCF service to an IIS 6 server. They got exceptions when calling the service, and it seemed it wasn’t able to get hosted. After some investigation they came up with the following error message thrown by WCF:

14/03/2011 14:38: [Exception Type:=System.ServiceModel.ServiceActivationException;Application_Error event(~/Services/xxxxx.svc) ;IP: xxx.xxx.xxx.xxx] - This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection.

Parameter name: item: Error The service '/Services/xxxxx.svc' cannot be activated due to an exception during compilation.  The exception message is: This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection.

Usually my memory doesn’t work so well (the electro-magnetic fields from all the computers and monitors surrounding me all my life are starting to affect my brain), so at this point I should have needed to go and check this message out, but luckily for me (and for my client), this exact message was part of a new WCF 4 feature I talked about in my lecture just a few hours ago – multiple site bindings in IIS.

image

In the case of my client, they indeed had several names for their machine, and once they used the baseAddressPrefixFilters configuration, everything start to work.

You can look at the rest of the presentation and the sample code at the following link: http://bit.ly/wcf4-sdp11

As soon as it will be available on video (in Hebrew), I’ll let you know.

Comments

erezh said:

That's what we call- "A great question, as the answer is already on the next slide" :-)

# March 15, 2011 5:48 PM

Ford said:

It's an amazing post in favor of all the web viewers; they will take benefit from it I am sure.

# December 26, 2012 9:47 AM

ieporltcp@gmail.com said:

Fulfill the Voices Regarding an important Computer animated Charactersin "SpongeBob SquarePants"Tom Kenny (SpongeBob SquarePants/Gary/Mr. SquarePants/Narrator/Patchy any Pirate/Others)

# January 20, 2013 6:41 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: