Hello Nick,
The exception you are getting is caused by the inheritance of configuration files in the application hierarchy. Settings are overriden for subfolders, however, collections set in the web.config files are not overriden but extended as new items are added. To solve this, you have to clear these collections in the web.config in your sub application.
Add the following sections to the web.config => <system.web>:
| <healthMonitoring> |
| <eventMappings> |
| <clear/> |
| </eventMappings> |
| <providers> |
| <clear/> |
| </providers> |
| <rules> |
| <clear/> |
| </rules> |
| </healthMonitoring> |
| |
Also add a clear tag in the roleManager section:
| <roleManager ...> |
| <providers> |
| <clear/> |
| </providers> |
| </roleManager> |
You should also add a remove tag to the <httpModules> section, before the add tags:
| <httpModules> |
| <remove name="Cms"/> |
| ... |
and in the <httpHandlers> :
| <httpHandlers> |
| <remove path="*.rss" verb="*"/> |
| ... |
This should be enough for your application not to seek for .dll files from Sitefinity.
Hope this will help.
Sincerely yours,
Vlad
the Telerik team