Thanks Oliver, actually I didn't miss that... it's above the original code...
Here would be my "expanded" code which causes the error:
<configuration>
<!-- register local configuration handlers -->
<configSections>
<sectionGroup name="dotnetnuke">
<!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
<section name="data" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="logging" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="scheduling" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="htmlEditor" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="navigationControl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="searchIndex" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="searchDataStore" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="friendlyUrl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="caching" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="authentication" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="members" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="roles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="profiles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
<section name="yafnet" type="yaf.SectionHandler,yaf" />
</sectionGroup>
<yafnet configSource="dnnyafnet.config"/>
</configSections>
<connectionStrings>
<!-- Connection String for SQL Server 2000/2005 -->
The instructions from the developer in the file called "installation.txt" are as follows:
** NOTE: BACKUP YOUR DATABASE BEFORE INSTALLATION! **
**** CLEAN INSTALL ****
(1) Upload the PA as Host
(2) Edit the web.config file in your DotNetNuke directory to add the required definitions for YAF. Take a look at dnn.config to see the changes.
Add this to ConfigSections: <section name="yafnet" type="yaf.SectionHandler,yaf" />
And add this right after ConfigSections: <yafnet configSource="dnnyafnet.config"/>
(3) Copy the dnnyafnet.config file to the root of your DNN installation.
(4) Edit the dnnyafnet.config file and change the "connstr" settings to the correct values for your database.
** NOTE: When adding the forum to a tab for the first time, YetAnotherForum.NET will automatically setup the database.
**** TO UPDATE *****
(1) Just install as normal PA.
(2) Update your database by executing the SQL provider files "*.sql"
(3) Merge .config changes by viewing dnn.config. Then copy the dnnyafnet.config to your DNN root directory.