hello this my config file
Use this NuGet command to install your DLL automatically:
Install-Package Microsoft.AspNet.Providers.Core
For more information about Nuget Packages, read this and this one for a tutorial.
For me, I had upgraded the version of Web Providers with NuGet and this broke my app. I had to go into web.config and manually update all assembly references in the provider sections to 2.0.0.0 instead of 1.0.0.0 since the new version of the System.Web.Providers assembly was 2.0.0.0.
In the Package Manager Console, I installed new packages as below and all was good in the world once again.
Install-Package Microsoft.AspNet.Providers
Install-Package Microsoft.AspNet.Providers.Core
I think you should set Copy Local=true and ensure to use same version of .net framework.
Apparently you haven't deployed the System.Web.Providers
assembly in your bin
folder. Make sure it is marked with Copy Local=true
?