« The Denver IDEA Cafe Meetup | Main | A look behind the scenes of getting a book out the door »

Check Your Binding - HTTP/1.1 415 Unsupported Media Type

A common error you might run across the first time you try to connect a Silverlight 2 application to a WCF service is HTTP/1.1 415 Unsupported Media Type.  This is caused by the fact that Silverlight 2 can only consume WCF services using basicHttpBinding.  When you add a new WCF service to an ASP.NET project the default binding is wsHttpBinding.  So if you get this error go check out the <service tag binding= attribute and see what it’s set to!

Posted on Thursday, November 13, 2008 at 01:52PM by Registered CommenterDavid Yack | CommentsPost a Comment

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>