Skip to content
Ingo edited this page Jan 21, 2026 · 14 revisions

Web.Config changes from 2.30.16 to 3.2.10

Update the Web.config

Please follow these important directions:

Remove the node....

 <roleManager ....>
  <providers>
     ...
  </providers>
    </roleManager>

Remove the node....

 <profile ...>
    <providers>
    ...
    </providers>
 </profile>

assemblyBinding Section

Add the node...

</system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin" />
      <dependentAssembly>
 <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral"/>
 <bindingRedirect oldVersion="0.0.0.0-10.0.0.2" newVersion="10.0.0.2"/>
</dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
     <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51"/>
     <bindingRedirect oldVersion="0.0.0.0-10.0.0.2" newVersion="10.0.0.2"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.3.0" newVersion="4.2.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-10.0.0.2" newVersion="10.0.0.2"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
     <bindingRedirect oldVersion="0.0.0.0-6.0.3.0" newVersion="6.0.3.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51"/>
     <bindingRedirect oldVersion="0.0.0.0-4.2.4.0" newVersion="4.2.4.0"/>
   </dependentAssembly>
   <dependentAssembly>
     <assemblyIdentity name="System.Memory" culture="neutral" publicKeyToken="cc7b13ffcd2ddd51" />
     <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
   </dependentAssembly>
   <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
    <assemblyIdentity name="System.Buffers" culture="neutral" publicKeyToken="CC7B13FFCD2DDD51" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0"  />
   </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <system.webServer>

Remove line....

  <add name="TaskModule" type="YAF.Core.TaskModule, YAF.Core" />

Remove line....

 <remove name="TaskModule" />

Remove line....

 <add name="TaskModule" type="YAF.Core.TaskModule, YAF.Core" preCondition="managedHandler" />

Remove line....

 <add namespace="YAF.Utils" />

Remove...

<authentication mode="Forms">
      <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies" />
    </authentication>

IMPORTANT Membership Migration The Membership settings need to me transferred to The appSettings section in the app.config.

The line ...

<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">

will be in the app.config

<add key="YAF.LegacyMembershipHashAlgorithmType" value="SHA1" />

and

<add connectionStringName="yafnet" applicationName="YAF.NET" name="YafMembershipProvider"
             requiresUniqueEmail="true" hashCase="Upper" hashHex="true" type="YAF.Providers.Membership.YafMembershipProvider"
             enablePasswordReset="true" useSalt="true" requiresQuestionAndAnswer="false"
             />

will be in the app.config

 <add key="YAF.LegacyMembershipPasswordFormat" value="Hashed" />
  <add key="YAF.LegacyMembershipHashCase" value="Upper" />
  <add key="YAF.LegacyMembershipHashHex" value="true" />

After that Remove the entire Membership Node.


Clone this wiki locally