The Best Available!

We provide consulting in a broad array of business and technology from architecture to design to deployment of global systems. We cover all technologies with a specialty in Microsoft Technologies (including SharePoint). We also provide legal expert services in eDiscovery, code discovery, patent infrigement, piracy and more! Contact me direct: david_sterling@sterling-consulting.com or call 704-873-8846.

Search This Blog

Loading...

Wednesday, February 24, 2010

The binding at system.serviceModel/bindings/basicHttpBinding does not have a configured binding named

Odd message you might encounter using WCF bindings in Visual Studio 2008; I came up with this one and took awhile to figure out what it was exactly - to save you some time. This error occurs when your are trying to debug a WCF Service project - when you attach to the process, a pop up box appears with the Binding name and the nice message "error" shown next to it. Clicking on this will display a better message in a window below - this starts out with:

The binding at system.serviceModel/bindings/basicHttpBinding does not have a configured binding named ''.

This occurs when the 'bindingConfiguration=""' tag is set on your binding in the App.config file of the WCF Service. If you look at the detail of the error, it will indicate the line number, etc. in the file .dll.config - this is a copy of the App.Config file so you map one to one. If not using it simply remove it and the error will go away.

2 comments:

Anonymous said...

This helped a ton. Solved my issue, thanks!

Jeff said...

Thanks! This really helped me with my issue!