I'm having problems updating to YAF 2.3.1. I keep getting the error: Could not load type 'YAF.Core.YafTaskModule' from assembly 'YAF.Core'.
I've done a search here and it seems that the error is a missing yaf.core assemblt but I do have that installed and up to date. Here is my web.config file. Any ideas?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="rewriter" type="YAF.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, YAF.UrlRewriter" requirePermission="false" />
</configSections>
<connectionStrings configSource="db.config" />
<appSettings configSource="app.config" />
<rewriter configSource="URLRewriter.config" />
<system.net>
<mailSettings>
<smtp configSource="mail.config" />
</mailSettings>
</system.net>
<system.web>
<httpRuntime />
<customErrors defaultRedirect="Error.aspx" mode="Off" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
Utf-8 is not supported on Netscape 4.x
If you need Netscape compatibility leave iso-8859-1.
UTF-8 is recommended for complex languages
-->
<globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
<!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
<authentication mode="Forms">
<forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies" />
</authentication>
<!-- COMPILATION
* Set debug to "true" to test out the system in development
* Set optimizeCompilation to "true" for *MUCH* faster application pool
restarts on larger .NET systems. But, please read and understand the caveats
before enabling this settings:
http://blogs.msdn.com/b/...ompilation-behavior.aspx -->
<compilation debug="true" />
<httpHandlers>
<add verb="GET" path="Resource.ashx" type="YAF.Core.Handlers.ResourceHandler, YAF.Core" />
</httpHandlers>
<httpModules>
<add name="UrlRewriter" type="YAF.UrlRewriter.RewriterHttpModule,YAF.UrlRewriter" />
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" />
</httpModules>
<pages clientIDMode="AutoID">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI.HtmlControls" assembly="System.Web" />
<!-- Default: use non-dynamic (compiled classes) in YAF -->
<add tagPrefix="YAF" namespace="YAF.Web.Controls" assembly="YAF.Web" />
<add tagPrefix="YAF" namespace="YAF.Configuration" />
<add tagPrefix="YAF" namespace="YAF" />
<add tagPrefix="iad" src="~/sys_controls/skyscraper_ad.ascx" tagName="skyscraper_ad"/>
<add tagPrefix="iad" src="~/sys_controls/masthead_ad.ascx" tagName="masthead_ad"/>
<add tagPrefix="iad" src="~/sys_controls/square_ad.ascx" tagName="square_ad"/>
<add tagPrefix="iad" src="~/sys_controls/create_header.ascx" tagName="create_header"/>
<add tagPrefix="iad" src="~/sys_controls/create_metadata.ascx" tagName="create_metadata"/>
<add tagPrefix="iad" src="~/sys_controls/video_entries.ascx" tagName="video_entries"/>
<add tagPrefix="iad" src="~/sys_controls/redirectUpdates.ascx" tagName="redirectUpdates"/>
<add tagPrefix="iad" src="~/sys_controls/listingHeader.ascx" tagName="listing_header"/>
<add tagPrefix="iad" src="~/sys_controls/title_entries.ascx" tagName="title_entries"/>
<add tagPrefix="iad" src="~/iad_tech_specs/tech_specs.ascx" tagName="tech_specs"/>
<add tagPrefix="iad" src="~/iad_notes/notes.ascx" tagName="notes"/>
<add tagPrefix="iad" src="~/iad_connections/connections.ascx" tagName="connections"/>
</controls>
<namespaces>
<add namespace="YAF" />
<add namespace="YAF.Configuration" />
<add namespace="YAF.Core" />
<add namespace="YAF.Web.Controls" />
<add namespace="YAF.Utils" />
<add namespace="YAF.Types.Interfaces" />
<add namespace="YAF.Types" />
<add namespace="System.Web.Optimization" />
</namespaces>
</pages>
<membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
<providers>
<clear />
<!-- YAF's ASP.NET Membership Provider is designed to work a bit better with YAF.NET options, but is by no means required.
But, you will not be able to switch providers after installing your forum. -->
<add name="YafMembershipProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider" />
<!-- Uncomment and set as default if you want to use the built-in ASP.NET membership provider. Password Type of "Hashed" requires a machine key. -->
<!-- If you want to install YAF.NET inside Azure you need to use that Provider. -->
<!--<add name="AspNetSqlMembershipProvider" applicationName="YetAnotherForum" connectionStringName="yafnet"
enablePasswordReset="false" enablePasswordRetrieval="true" maxInvalidPasswordAttempts="5"
minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="5" passwordAttemptWindow="15"<
passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="true"
type="System.Web.Security.SqlMembershipProvider" />-->
</providers>
</membership>
<roleManager enabled="true" defaultProvider="YafRoleProvider">
<providers>
<clear />
<!-- YAF's ASP.NET Role Provider is designed to work a bit better with YAF.NET options, but is by no means required.
But, you will not be able to switch providers after installing your forum. -->
<add name="YafRoleProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" type="YAF.Providers.Roles.YafRoleProvider" />
<!-- Uncomment and set as default if you want to use use the built-in ASP.NET role provider. -->
<!--<add name="AspNetSqlRoleProvider" applicationName="YetAnotherForum" connectionStringName="yafnet"
type="System.Web.Security.SqlRoleProvider" />-->
</providers>
</roleManager>
<profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Utils.YafUserProfile">
<providers>
<clear />
<!-- YAF's ASP.NET Profile Provider is designed to work a bit better with YAF.NET options, but is by no means required.
But, you will not be able to switch providers after installing your forum. -->
<add name="YafProfileProvider" applicationName="YetAnotherForum" connectionStringName="yafnet" type="YAF.Providers.Profile.YafProfileProvider" />
<!-- Uncomment and set as default if you want to use use the built-in ASP.NET profile provider. -->
<!--<add name="AspNetSqlProfileProvider" applicationName="YetAnotherForum" connectionStringName="yafnet"
type="System.Web.Profile.SqlProfileProvider" />-->
</providers>
</profile>
<!-- Enable it if your application is hosted in a web farm or cluster (e.g. GoDaddy hosting) or you are using standard ASP.NET providers and encryption.
https://yetanotherforum.net/key -->
<!-- <machineKey validationKey="5B169A4270DB7D6A285CF068B81047D1A73A5FDDE9B204254AB86147B061C3C13DB6E84311E98EDFDD7FF50309DB9632A1C573A716CF120535EC3401BF7706D7"
decryptionKey="910403AE3DEB5DD0AF73911DBB180518144AC983C1C7E7BDEE1CC8B6C74CBEF3"
validation="HMACSHA256" decryption="AES"/>
-->
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webServices>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="YafTaskModule" />
<remove name="UrlRewriter" />
<add name="UrlRewriter" type="YAF.UrlRewriter.RewriterHttpModule,YAF.UrlRewriter" preCondition="managedHandler" />
<add name="YafTaskModule" type="YAF.Core.YafTaskModule, YAF.Core" preCondition="managedHandler"/>
</modules>
<handlers>
<add name="YafHandler" preCondition="integratedMode" verb="GET" path="Resource.ashx" type="YAF.Core.Handlers.ResourceHandler, YAF.Core" />
<add name="YafSitemapHandler"
path="Sitemap.xml"
verb="*"
type="YAF.Core.Handlers.SiteMapHandler, YAF.Core"
preCondition="integratedMode" />
<add name="FileUploader"
path="FileUploader.ashx"
verb="*"
type="YAF.Core.Handlers.FileUploader, YAF.Core"
preCondition="integratedMode" />
</handlers>
<staticContent>
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
</staticContent>
<caching>
<profiles>
<add extension=".png" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".gif" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".jpg" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".js" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".css" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".ico" policy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
<add extension=".axd" kernelCachePolicy="CacheUntilChange" varyByHeaders="Browser" location="Client" />
</profiles>
</caching>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\languages" />
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="EB42632606E9261F" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31BF3856AD364E35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>