This resolves itself once I got rid of this syntax in the web.config file and moved it into the framework. For some kind of reason, it seems what is in global.asax is subject to some kind of validation at high level whereas in the code would not be subject to.