I've found two solutions to this error depending on which version of the .NET framework you are using. You need to update the web.config with the following:
.NET 4.0
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
.NET 2.0 - 3.5
<serviceHostingEnvironment>
<baseAddressPrefixFilters>
<add prefix="http://www.yourdomain.com"/>
</baseAddressPrefixFilters>
</serviceHostingEnvironment>
No comments:
Post a Comment