How I fixed the following issue on Upload page: System.InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'

Nov 10, 2008 at 2:23 PM

I was getting abovementioned error on the Upload page. I found that the problem came from that I had two versions of Ajax on the server: 1.0.61025.0 and 3.5.0.0. I fixed the problem by forcing Sharepoint web.config to use the latter rather than the former. Just find all occurences of 1.0.61025.0 in your web.config and replace them with 3.5.0.0

Note to the brave folks who maintain the code: you may want to test such machines where both versions of Ajax can be found.

 

Herve

Coordinator
Nov 12, 2008 at 10:18 PM
Herve - Thanks for sharing this with the community.