Unrecognized configuration section system.serviceModel

.net, asp.net, configuration

Solution

What version of the .NET framework does your hoster support??

The `<system.serviceModel>` is the WCF section and WCF only came about in .NET 3.0 - if this hoster is only supporting strictly .NET 2.0, then you're out of luck :-(

Solutions:

- either you can get your hosting provider to install .NET 3.0 (or preferably .NET 3.5 SP1) so you can use WCF

- you remove that `<system.serviceModel>` section from your config file if you don't even need and use WCF

Problem

When I publish my website to my plesk server I get an error about a: Unrecognized configuration section system.serviceModel.

Original source