Johan's Blog

This and that in a developer's life in general
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

Bad Request With WCF Service in Cassini On Windows 7 Beta

Windows 7 BetaTrying to run a WCF service in Cassini on your Windows 7 Beta (7000) machine and get this error?

The remote server returned an unexpected response: (400) Bad Request.

Unless you’re running your service with basic http binding or with security specifically set to None in your bindings, you will get this security-related error. This problem was confirmed by Microsoft and will (hopefully) be fixed in next Windows 7 release.

The options you got:

  • Create and run your own service host with code (I’ve been doing this in my integration tests until I tried Cassini and got the error)
  • Use IIS (which I’m going to go for)
  • Self-host it with WcfSvcHost.exe (which I’ve not tried yet)

Note that you need to add quite a few features to get WCF running in IIS running on Windows 7. See my previous post about this.

Richard Fennell had the same problems as well as a few others out there brave enough to try out a beta operating system.


Cross-posted from my blog at http://weblogs.asp.net/jdanforth
Published den 14 mars 2009 17:29 by johan
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems