Wednesday, July 28, 2010

'standardEndpoints' cannot be read because it is missing a section declaration

I just tried to publish my first WCF RESTful service to our 2k8 box, and hit the wall with the following error:

The configuration section 'standardEndpoints' cannot be read because it is missing a section declaration


Well, after much searching, trying different options, reconfiguring, reading documentation, I finally found a post that should clear it out:

NET 4.0 Beta1/Beta2 Web Application Configuration section missing declaration error

http://support.microsoft.com/kb/958854/en-us

Appearently, on a windows server 2008 box, most .net 40 stuff works (well stuff that I've tried), but a couple of the items were missed. I didn't see an sp2 for win2k8 in the updates, so I downloaded and ran the HotFix. And what do you know? That worked. I've seen a bunch of posts on how to fix this error. This might just be the solution you're looking for.