I have a child .net 4 web application which is trying to inherit the parent .net 2 web.config file. That's caused some issues, but I've seemed to have resolved most with <clear>. However, in the parent web.config I have some encrypted sections, one of those being the system.net/mailsettings/smtp section. The child application is trying to inherit this but is getting the error "Configuration Section encryption is not supported". I can't seem to use <clear> or any other method to prevent inheritance from occurring in this situation.
The .Net 2 parent application is in the process of being replaced (as is the web server), but that is still a number of months away. Moving to a subdomain isn't an option as using SSL certificates on multiple sub domains doesn't seem to work in IIS7.5
Any ideas on how I can resolve this issue?