I had the same problem, but now it is fixed. First off, I disabled PageInspector.
<AppSettings>
<add key = "PageInspector: ServerCodeMappingSupport" value = "Disabled" />
</AppSettings>
After that, I got another error related to the ResolveUrl method, I deleted the method and fixed the problem and voila! It works great. Finally, I turned on PageInspector, deleting the previous settings and still working.
Dipen shah
source share