Can anyone explain a parse error like this one:
"Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation."
My dev box runs Windows 7, framework 4.0 and latest Ajax tool kit. Site works locally as well as on test server (win 2003, framework 4.0 and latest Ajax tool kit), but on the production server (again Win 2003) the story is different.
Ironically, the site on production server has been upgraded to framework 4.0 several months ago and works fine until I try to push updates by copying a published site. That's when I get this error.
I also get this error if a just copy the working copy of the site into a new directory a create a new virtual directory.
Reinstalled VS2010 but that didn't help.
Anyway, a lot of the post with this error message are about users upgrading to 4.0 and receiving this error, which is not my case, so I'm at loss with this and would appreciate your input.
Thanks,
I have seen this error in a web application that was upgraded from a Visual Studio 2005 project to a Visual Studio 2010 project.
The solution was to remove the following section from the web.config file:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
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