When trying to access a WCF .scv file you get the following error:
There is no build provider registered for the extension '.svc'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.
You will need to modify your web.config like this:
Here is the text to copy and paste:
<
buildProviders
>
<
remove
extension
=
".svc"
/>
<
add
extension
=
".svc"
type
=
"System.ServiceModel.Activation.ServiceBuildProvider,System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089"
/>
</
buildProviders
>
Article ID: 807, Created: 8/2/2010 at 9:21 PM, Modified: 8/2/2010 at 9:21 PM