Please help!
I recently upgraded my DNN to 4.5 and am now trying to upgrade my YAF to 1.9 for DNN4. I am almost certain the problem is in my web.config but I have no idea how to fix it.
If I follow the install.txt I get an error saying:
Code:Parser Error Message: Section or group name 'membership' is already defined. Updates to this may only occur at the configuration level where it is defined.
Source Error:
Line 22:
Line 23: <sectionGroup name="system.web">
Line 24: <section name="membership" type="Microsoft.ScalableHosting.Configuration.MembershipConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
Line 25: <section name="roleManager" type="Microsoft.ScalableHosting.Configuration.RolesConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
Line 26: <section name="profile" type="Microsoft.ScalableHosting.Configuration.ProfileConfigHandler, MemberRole, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7c773fb104e7562" />
If I leave that stuff out then I get a new error saying:
Code:Error: Team2hk Forum is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Request for ConfigurationPermission failed while attempting to access configuration section 'yafnet'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'yafnet'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) The action that failed was: Demand The type of the first permission that failed was: System.Configuration.ConfigurationPermission The first permission that failed was: The demand was for: The granted set of the failing assembly was: The assembly or AppDomain that failed was: yaf, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null The method that caused the failure was: yaf.Config get_configSection() The Zone of the assembly that failed was: MyComputer The Url of the assembly that failed was: file:///C:/Domains/team2hk.com/wwwroot/bin/yaf.DLL --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at yaf.Config.get_configSection() at yaf.Forum..ctor() at ASP.desktopmodules_yetanotherforumdotnet_dotnetnukemodule_ascx.__BuildControlForum1() at ASP.desktopmodules_yetanotherforumdotnet_dotnetnukemodule_ascx.__BuildControlpnlModuleContent() at ASP.desktopmodules_yetanotherforumdotnet_dotnetnukemodule_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---
I am totally lost as to what to do now. Please help, I have a bunch of people going to my forum and emailing me telling me that it is down

Thanks!
EDIT Never mind, sorry for the thread, I figured it out myself. It turns out I just needed to IGNORE the install.txt file and leave off all the system.web stuff, then to take care of the 2nd error I changed my yaf section to:
<section name="yafnet" requirePermission="false" type="yaf.SectionHandler,yaf"/> and everything is good to go. I am now running fine with DotNetNuke Version 4.5 and Yaf 1.9 for DNN4