I have a project built with target platform 3.5. I deployed it:
Application failed. Parser Error Message: Unrecognized attribute 'multipleSiteBindingsEnabled'. Note that attribute names are case-sensitive.
I installed SP1 for Windows 7 and now configuration is:
and now it works.
Is this Windows 7 SP1 fix described somewhere? What about other Windows (XP, 2003, 2008 R2), is it some fix for them?
The problem is Application Pools. If the target .net framework is 4.0 on your Visual studio then convert the .net framework version from 2.0 to 4.0 in App pool. because when you host an application, by default it is set to version 2 in the pool. By clicking on the application pool which is for the app you can change the version to 4.0.
Since the attribute is only applicable to applications that target the .NET Framework 4.0, I would suggest removing it all together from your configuration. Even if you could find some notes buried in the documented SP1 release, it still does not help you any if you are targeting an older Framework like 3.5.
MSDN link describing 'multipleSiteBindingsEnabled' attribute and its support: http://msdn.microsoft.com/en-us/library/system.servicemodel.servicehostingenvironment.multiplesitebindingsenabled.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With