This is driving the whole team crazy. There must be some simple mis-configured part of IIS or our Web Server, but every time we try to run out ASP.NET Web Application on IIS
This lovely detailed error is still present in 2019!
I just want to add that if your web.config is valid and accessible it most likely is a dependency issue.
As mentioned by the OP it was a AJAX module, and as by others commonly the Rewrite module.
Just keep your eyes open in your web.config what modules and libraries your tags are referencing to since the error code 0x8007000d can be about ANY dependency.
In my case I didn't realize the AspNetCore bundle was missing and had to be installed! So happy I found this post!!