Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mitchell 23 posts 43 karma points
    Aug 01, 2010 @ 21:03
    Mitchell
    0

    Umbraco and YAF

    I am attempting to get YAF and umbraco to work together.  The tutorials I found online are out of date.  I can get umbraco to work just fine by itself and the same for YAF but not together.  Has anyone had any success in getting the two to work together in the last few months.  I am using the latest versions of both.  Every time I attempt it, I get a different error.  Most recently YAF is looking for the umbraco DLL's in the /yaf folder.  If I place them there, they crash IIS

  • Mitchell 23 posts 43 karma points
    Aug 01, 2010 @ 21:08
    Mitchell
    0

    I forgot to remove YAF as an application so I fixed the dll problem but now this is the error I was getting before:

    Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

    Source Error:


    Line 23:     <img src="~/yaf/images/YAFLogo.jpg" runat="server" alt="YetAnotherForum" id="imgBanner" /><br/>   
    Line 24:     <form id="form1" runat="server" enctype="multipart/form-data">
    Line 25:         <YAF:Forum runat="server" ID="yafForum" />
    Line 26:     </form>
    Line 27: </body>
     
    I have a feeling that YAF's db is not initalizing or somethning.

  • Matthias S. 15 posts 35 karma points
    Aug 02, 2010 @ 12:51
    Matthias S.
    0

    Hi,

    I'm stuck with the same error trying to combine Umbraco 4.5.1 and YAF.Net 1.9.4

    I analyzed the stack trace and it seems the problem is located in the YAF.Modules Namespace Function FindModules which loops through all assamblies and modules and returns a list of all types.

    I don't think it's a problem with the database as the install function works fine and YAF can successfully connect to the database.

    Still I'm not sure what causes the problem, I'm pretty new to umbraco and have done several projects with YAF.Net, but YAF.Net has changed a lot since the last version and I have still some issues getting used to the new structure.

    Anybody has some pointers where to start from?

    Greetz

  • Matthias S. 15 posts 35 karma points
    Aug 02, 2010 @ 23:19
    Matthias S.
    0

    Hi,

    I believe I got it working - or at least I get something displayed ;-)

    I haven't thoroughly testet it though ...

    I ran into several issues I haven't thought of before so I will post several problems I had so maybe someone can fix his issues faster ;-)

    • Make sure your YAF installtion is really accessible. I know this sounds kind of odd, but I had to alter YAF.FileRoot and YAF.AppRoot several times until I got it up and running again - see app.config). The best way to test this is to overwrite your main web.config (the one from Umbraco with the default web.config from YAF.Net and see if you get the forum running in the subfolder (or folder structure)
    • For test purposes you might have to temporarily remove Form.browser from your App_Browser directory as this file caused a lot of parsing errors when I only ran YAF.Net (which is pretty clear as we do not have the right references)
    • Remove Umbraco Channels path="umbraco/channels.aspx" path="umbraco/channels/word.aspx" from the web.config as they use a different CookComputing.XmlRpcV2.dll than YAF.Net does (apparently Umbraco uses still a pretty old version)

    The current web.config I'm running both apps from uses the Umbraco Membership Provider and seems to work pretty good, although I haven't tested it thoroughly yet. I started with the YAF.Net web.config - edited the paths to the config files - and added the stuff from the Umbraco web.config section by section just to be sure I really know what's going on.

    I hope this helps!

    BTW: This solution worked for me for Umbraco Version 4.5.1 and YAF.Net 1.9.4

    Greetz

  • Mitchell 23 posts 43 karma points
    Aug 02, 2010 @ 23:28
    Mitchell
    0

    Would you mind pasting your web.config?  Thank you :)

    **EDIT**

    That seemed to work.  Now I just need to work out a few bugs

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 00:04
    Matthias S.
    0

    Hi,

    I'm glad to hear that it is working!

    The solution isn't perfect, but I believe it's a starting point!

    Here is my web.config, it still has a lot of comments in it, but I wanted to make sure I have everything in it if I want to make some changes. (YAF is installed in the subfolder \Yaf\ )

    <?xml version="1.0"?>
    <configuration>
      <configSections>
        <!-- YAF.Net section part -->
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
            <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
              <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
              <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
              <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
              <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
            </sectionGroup>
          </sectionGroup>
        </sectionGroup>
        <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter, Version=2.0.0.6, Culture=neutral, PublicKeyToken=0573f3650687980d" requirePermission="false" />
        <!-- Umbraco section part -->
        <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
        <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
        <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" />
        <section name="Examine" type="Examine.Config.ExamineSettings, Examine" />
        <section name="ExamineLuceneIndexSets" type="UmbracoExamine.Config.ExamineLuceneIndexes, UmbracoExamine" />
      </configSections>
      <!-- Umbraco configuration part -->
      <urlrewritingnet configSource="config\UrlRewriting.config" />
      <microsoft.scripting configSource="config\scripting.config" />
      <clientDependency configSource="config\ClientDependency.config" />
      <Examine configSource="config\ExamineSettings.config" />
      <ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
      <!-- Umbraco application settings and reference to YAF.Net app settings -->
      <appSettings file="yaf\app.config">
        <add key="umbracoDbDSN" value="data source=.\SQLExpress;initial catalog=myDB;integrated security=True" />
        <add key="umbracoConfigurationStatus" value="4.5.1" />
        <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx" />
        <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
        <add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
        <add key="umbracoStorageDirectory" value="~/App_Data" />
        <add key="umbracoPath" value="~/umbraco" />
        <add key="umbracoEnableStat" value="false" />
        <add key="umbracoHideTopLevelNodeFromPath" value="true" />
        <add key="umbracoEditXhtmlMode" value="true" />
        <add key="umbracoUseDirectoryUrls" value="false" />
        <add key="umbracoDebugMode" value="true" />
        <add key="umbracoTimeOutInMinutes" value="20" />
        <add key="umbracoVersionCheckPeriod" value="7" />
        <add key="umbracoDisableXsltExtensions" value="true" />
        <add key="umbracoDefaultUILanguage" value="en" />
        <add key="umbracoProfileUrl" value="profiler" />
        <add key="umbracoUseSSL" value="false" />
        <add key="umbracoUseMediumTrust" value="false" />
        <add key="umbracoContentXMLUseLocalTemp" value="false" />
      </appSettings>
      <!-- YAF.Net configuration part  -->
      <connectionStrings configSource="yaf\db.config" />
      <rewriter configSource="yaf\URLRewriter.config" />
      <system.net>
        <mailSettings>
          <smtp configSource="yaf\mail.config" />
        </mailSettings>
      </system.net>
      <system.web>
        <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
        <xhtmlConformance mode="Strict" />
        <customErrors defaultRedirect="Error.aspx" mode="Off" />
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
        <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
        <httpRuntime requestValidationMode="2.0" />
        <!-- Yaf.Net authentication -->
        <!--
            <authentication mode="Forms">
                <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
            </authentication>
            -->
        <!-- Umbraco authentication -->
        <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
        </authentication>
        <!-- Umbraco authorization -->
        <authorization>
          <allow users="?" />
        </authorization>
        <!-- Set debug to "true" to test out the system in development -->
        <compilation defaultLanguage="c#" debug="true">
          <assemblies>
            <!-- ASP.NET 4.0 Assemblies -->
            <!-- YAF.Net definitions -->
            <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
            <add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
            <!-- Umbraco definitions -->
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
            <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          </assemblies>
        </compilation>
        <httpHandlers>
            <remove verb="*" path="*.asmx" />
            <!-- Umbraco HTTP handlers -->
            <!-- ASPNETAJAX -->
            <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
            <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
            <!-- UMBRACO CHANNELS -->
            <!-- Those two additions do cause problems when using them with YAF.Net remove them in the YAF folder -->
            <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
            <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
               
            <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
            <add verb="GET,HEAD,POST" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
            <!-- YAF.Net HTTP handlers -->
            <add verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
        </httpHandlers>
        <httpModules>
          <!-- URL REWRTIER -->
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
          <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
          <!-- UMBRACO -->
          <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
          <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
          <!-- ASPNETAJAX -->
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <!-- CLIENT DEPENDENCY -->
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
          <!-- YAF.Net Modules -->
          <add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core" />
          <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter, Version=2.0.0.6, Culture=neutral, PublicKeyToken=0573f3650687980d" />
        </httpModules>
        <pages validateRequest="false" smartNavigation="false" enableEventValidation="false">
          <controls>
            <add tagPrefix="DotNetAge" namespace="DNA.UI.JQuery" assembly="DNA.UI.JQuery" />
            <add tagPrefix="DotNetAge" namespace="DNA.UI" assembly="DNA" />
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <!-- Default: use non-dynamic (compiled classes) in YAF -->
            <add tagPrefix="YAF" namespace="YAF.Classes.UI" assembly="YAF.Classes.UI" />
            <add tagPrefix="YAF" namespace="YAF.Classes.Utils" assembly="YAF.Classes.Utils" />
            <add tagPrefix="YAF" namespace="YAF.Classes.Core" assembly="YAF.Classes.Core" />
            <add tagPrefix="YAF" namespace="YAF.Classes.Data" assembly="YAF.Classes.Data" />
            <add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls" />
            <add tagPrefix="YAF" namespace="YAF.Controls.Statistics" assembly="YAF.Controls" />
            <!-- Optional: use dynamic classes in YAF by moving all the YAF.x directories (YAF.Classes.*, YAF.Providers)
                            into the App_Code\YAF directory. Delete the associated .dll files from the \bin directory. Comment out the above
                            "non-dynamic" namespaces above and enable these:
                    -->
            <!--add tagPrefix="YAF" namespace="YAF.Classes.UI" />
                    <add tagPrefix="YAF" namespace="YAF.Classes.Utils" />
                    <add tagPrefix="YAF" namespace="YAF.Classes.Data" />
                    <add tagPrefix="YAF" namespace="YAF.Controls" />
                    <add tagPrefix="YAF" namespace="YAF.Classes.Core" />
                    <add tagPrefix="YAF" namespace="YAF.Controls.Statistics" /-->
            <add tagPrefix="YAF" namespace="YAF.Classes" />
            <add tagPrefix="YAF" namespace="YAF" />
          </controls>
          <namespaces>
            <add namespace="YAF" />
            <add namespace="YAF.Classes.UI" />
            <add namespace="YAF.Classes.Utils" />
            <add namespace="YAF.Classes.Core" />
            <add namespace="YAF.Controls" />
            <add namespace="YAF.Classes.Data" />
          </namespaces>
        </pages>
        <!-- Yaf.Net Role manager -->
        <!--
            <roleManager enabled="true" defaultProvider="YafRoleProvider">
                <providers>
                    <clear/>
                    <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>
                </providers>
            </roleManager>
            -->
        <!-- Umbraco role manager -->
        <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
          <providers>
            <clear />
            <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
          </providers>
        </roleManager>
        <!-- YAF.Net membership provider -->
        <!--
            <membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
                <providers>
                    <clear/>
                    <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider"/>
                </providers>
            </membership>
            -->
        <!-- Umbraco membership provider -->
        <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
          </providers>
        </membership>
        <!-- Yaf.Net profile -->
        <profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
          <providers>
            <clear />
            <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider" />
          </providers>
        </profile>
        <!-- Umbraco Sitemap provider-->
        <siteMap defaultProvider="UmbracoSiteMapProvider" enabled="true">
          <providers>
            <clear />
            <add name="UmbracoSiteMapProvider" type="umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" defaultDescriptionAlias="description" securityTrimmingEnabled="true" />
          </providers>
        </siteMap>
      </system.web>
      <system.web.extensions>
        <scripting>
          <!--
                  <scriptResourceHandler enableCompression="true" enableCaching="true" />
                  -->
        </scripting>
      </system.web.extensions>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
          <!-- YAF.Net -->
          <remove name="YafTaskModule" />
          <remove name="UrlRewriter" />
          <add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core" preCondition="managedHandler" />
          <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" preCondition="managedHandler" />
          <!-- Umbraco -->
          <remove name="ScriptModule" />
          <remove name="UrlRewriteModule" />
          <remove name="umbracoRequestModule" />
          <remove name="viewstateMoverModule" />
          <remove name="umbracoBaseRequestModule" />
          <remove name="ClientDependencyModule" />
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
          <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
          <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
          <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
        </modules>
        <handlers accessPolicy="Read, Write, Script, Execute">
          <!-- Yaf.Net -->
          <add name="AjaxPro" verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
          <!-- Umbraco -->
          <remove name="WebServiceHandlerFactory-Integrated" />
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <remove name="Channels" />
          <remove name="Channels_Word" />
          <remove name="ClientDependency" />
          <remove name="SpellChecker" />
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
          <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
          <add verb="*" name="ClientDependency" preCondition="integratedMode" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
          <add verb="GET,HEAD,POST" preCondition="integratedMode" name="SpellChecker" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
        </handlers>
      </system.webServer>
      <system.codedom>
        <compilers>
          <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <providerOption name="CompilerVersion" value="v4.0" />
            <providerOption name="WarnAsError" value="false" />
          </compiler>
          <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <providerOption name="CompilerVersion" value="v4.0" />
            <providerOption name="OptionInfer" value="true" />
            <providerOption name="WarnAsError" value="false" />
          </compiler>
        </compilers>
      </system.codedom>
      <runtime>
        <!-- Old asp.net ajax assembly bindings -->
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>

    The Dashboard seems to have some issues when the channels are removed. So now I'm trying to get some redirect binding to work which should allow both dlls to be used by the same application, I let you know if I find a solution (if you have the same problem)

    Greetz

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 00:08
    Mitchell
    0

    I have the same issue.  Now I also have There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined  with your web.config

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 00:13
    Matthias S.
    0

    Ok,

    another update. Now I'm using the old CookComputing.XmlRpcV2.dll (which is shipped with Umbraco 4.5.1) and added the channels to the main web.config.

    I added the newer version of CookComputing.XmlRpcV2.dll to the GAC of the server - just in case - and created a web.config file in the yaf directory:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <system.web>
            <httpHandlers>
                <!-- REMOVE UMBRACO CHANNELS -->
                <remove verb="*" path="umbraco/channels.aspx" />
                <remove verb="*" path="umbraco/channels/word.aspx" />
            </httpHandlers>
        </system.web>
    </configuration>

    Now both the forum and the dashboard are working - as far as I can see, hope this helps!

    Greetz

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 00:23
    Mitchell
    0

    I am still getting that same error.  What am I doing wrong?

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 01:05
    Mitchell
    0

    If I remove this Umbraco works but then YAF is busted

      <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=2.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
         <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
         <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
         <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
         <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        </sectionGroup>
       </sectionGroup>
      </sectionGroup>

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 01:56
    Mitchell
    0

    What Application Pool are you using?  .NET 4.0?

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 05:11
    Mitchell
    0

    I ended up using the <remove> command in the web config to remove those before referencing them.  I still end up getting "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " when I connect to YAF. 

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 06:29
    Mitchell
    0

    Sorry for constantly ranting about this but I almost have it working.  I undid 5 hours of messing up and got the /yaf/ folder to finally work.  I had the wrong version of that dll in the bin folder.  Have you had any luck embedding yaf into your umbraco site so it is has the umbraco navigation?

     

    That is the only thing that is not working for me right now

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 12:28
    Matthias S.
    0

    Hi,

    sorry that I haven't posted earlier but I believe we are in a slightly different time zone ;-)

    Actually I haven't had any problems with the Scriptresource section, I just updated all .Net 3.5 / .Net 2.0 references from YAF.Net to .Net 4.0. As the framework is downwards compatible - at least most of it - it should work, and it does for me ...

    The only tricky thing is the urlrewriter which has to be modified so YAF.Net finds all the websites which are nested into the umbraco pages.

    Could you explain which section you believe causes the error and how this affacts the website navigation?

     

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 17:54
    Mitchell
    0

    The Cook**.dll file is causing the issues.  If I place the version from yaf (2.4.0.0) into the root (umbraco's) bin folder Everything works except the navigation in hte admin /umbraco section

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 18:23
    Mitchell
    0

    If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker.  I could then post the solution here :)

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 18:26
    Mitchell
    0

    If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker.  I could then post the solution here :)

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 18:46
    Matthias S.
    0

    Hi,

    I encountered the problem you are referring to yesterday. I posted the solution about 5 posts earlier I believe.

    You have to use the old Cook*.dll in your bin folder and uncomment the channels which are referring to it. Now the admin interface should be working fine but the forum does not as it uses a different dll version. Copy the newer Cook*.dll to your GAC folder (I believe it's version 2.4 and the GAC folder is located in WINDOWS_DIR\Assemblies). The last step should be that you have to remove the channel references for the yaf subdirectory. I posted a web.config part a few posts earlier which should do the trick

    Good luck!

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 19:06
    Mitchell
    0

    I forgot to deploy to the GAC.  That now allows me to have the /yaf/ folder and everything else work.  I only have one more issue.  I added the <yaf:forums> tag to a new document called forums.aspx and I am getting this error:

     Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
       DNA.UI.ClientScriptManager.RegisterScriptsOnPagePreRenderComplete(Object sender, EventArgs e) +379
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4526

     Are you trying to embed your boards into your site?

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 19:15
    Matthias S.
    0

    I have to admit I'm not quite sure which script is causing your error, I didn't encounter that error and my board is working fine as far as I can tell. A problem might be the urlrewriter which has to be configured properly for the board to work.

    Could you tell me which parts are working for you? Does the forum get displayed or do you always get the error you have mentioned?

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 19:19
    Mitchell
    0

    If I go to mysite.com/YAF/ everything works.  If I go to mysite.com/forums.aspx it does not work

    Here is my forums.aspx:

    <%@ Master Language="C#" MasterPageFile="~/masterpages/CWS_Master.master" AutoEventWireup="true" %>
    <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
    <script runat="server">
     public void Page_Error( object sender, System.EventArgs e )
     {
      Exception x = Server.GetLastError();
           
      YAF.Classes.Data.DB.eventlog_create(YafServices.InitializeDb.Initialized ? (int?)YafContext.Current.PageUserID : null , this, x );
      YAF.Classes.Core.CreateMail.CreateLogEmail(x);
            Response.Write(x.ToString());
     }  
    </script>
    <asp:content ContentPlaceHolderId="headerLinksContent" runat="server">
    </asp:content>

    <asp:content ContentPlaceHolderId="SideBarContent" runat="server">
        <!-- XSLT Macro - Sub Navi -->
        <umbraco:Macro Alias="CWS_SubNavi" runat="server"></umbraco:Macro> 
    </asp:content>

    <asp:content ContentPlaceHolderId="ChildContent" runat="server">
        <div class="content oneCol left clearfix">   

            <!-- One Column content -->
            <h2 class="flashHeader">
                <strong><umbraco:Item field="pageName" runat="server"></umbraco:Item>.</strong>
                <umbraco:Item field="headerText" stripParagraph="true" runat="server"></umbraco:Item>
            </h2>
         <YAF:Forum runat="server" ID="forums"></YAF:Forum>
       
        </div>
    </asp:content>

    I added this to my /config/UrlRewriting.config

       <add name="YafFramehelperRewrite" virtualUrl="framehelper.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/framehelper.aspx?$1" ignoreCase="true" />
       <add name="YafAdvancedRewrite" virtualUrl="advanced.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/advanced.aspx?$1" ignoreCase="true" />
       <add name="YafErrorRewrite" virtualUrl="error.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/error.aspx?$1" ignoreCase="true" />
       <add name="YafResourceRewrite" virtualUrl="resource.ashx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/resource.ashx?$1" ignoreCase="true" />
       <add name="YafRewrite" virtualUrl="/yaf/default.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/forums.aspx?$1" ignoreCase="true" />

     

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 19:36
    Matthias S.
    0

    Ok, I'm not quite sure about your setup right now therefore I will try to explain my current setup to give you some leads:

    I have a forum template which is nested in the Runway master with following code:

    <%@ Master Language="C#" MasterPageFile="~/masterpages/RunwayMaster.master" AutoEventWireup="true" %>
    <%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
      
    <asp:Content ContentPlaceHolderID="RunwayMasterContentPlaceHolder" runat="server">
      <div ID="yafForum">
        <YAF:Forum runat="server" ID="forum" />
      </div>
    </asp:Content>

    The div tag was added just for convenience.

    Next I have a content page "myForum" which uses the template forum in the runway page. (Additionally I installed the top navigation module to have easy access. So when I access my.example.org/myForum.aspx the upper template gets executed and the forum rendered.

    The most interesting line in my UrlRewriting.config is:

    <add name="YafRewrite" virtualUrl="/yaf/myforum.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/myforum.aspx?$1" ignoreCase="true" />

    I hope this helps you!

    If this doesn't give you the right hint to solve the problem I would like to know which setup you have, maybe we can find some config error that way.

     

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 19:39
    Mitchell
    0

    It has something to do with the Umbraco Creative Website template

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 19:44
    Matthias S.
    0

    I do not have the Creative Website template installed right now, but I will give it a shot.

  • Matthias S. 15 posts 35 karma points
    Aug 03, 2010 @ 20:19
    Matthias S.
    0

    Well I gave it a quick test and it seems that the DNA.dll (DotNetAge) is causing the error while setting up some script. I'm afraid I cannot help you with this right now as I'm not familiar with this functionality from YAF.Net. (I believe that this dll was implemented in YAF.Net in 1.9.3 or 1.9.4 as I did not encounter it in earlier versions.

  • Mitchell 23 posts 43 karma points
    Aug 03, 2010 @ 23:13
    Mitchell
    0

    I added <add name="YafRewrite" virtualUrl="forums.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/default.aspx?$1" ignoreCase="true" /> to my config/UrlRewriting.config and it mostly works.  My theme however is not copying over.  Essently it is just redirecting to /yaf/

  • João Pereira 41 posts 64 karma points
    Oct 07, 2010 @ 15:08
    João Pereira
    0

    Hi Mitchell,

     

    Did you find the solution for that null exception in the DNA dll?

    I'm having the exact same problem... My forum works fine if I open it in browser, but get an exception when I add it as a control inside Umbraco... :(

    The string you added in UrlRewriting in your last answer doesn't change anything in my installation. Get the same null exception...

    Getting crazy with this, cause don't know what else to try...

     

    I'd be really glad if you could help me out in this...

     

    Thanks!

    Cheers,

    João

  • João Pereira 41 posts 64 karma points
    Oct 07, 2010 @ 16:00
    João Pereira
    0

    Ok...

    After banging my head around my living room for too long... and 5 minutes after I post this... Finally got it!

    For those who care and have the same problem...

    Put a runat="server" property in your template Head section. And you have to have a <title></title> or it will throw the null exception...

     

    Now just have to figure out how to map the skin path!

  • Mitchell 23 posts 43 karma points
    Oct 07, 2010 @ 16:04
    Mitchell
    0

    João:

    Matthias was able to get it working for himself and I was as well. www.sirianconsortium.com is how it ended up.  You ende up compying most of the YAF files into the root directory instead of leaving them in the /yaf/ folder.  Visis http://stackoverflow.com/questions/3383595/umbraco-and-yaf this to see the summary if you don't feel like reading this entire board post. 

  • Mitchell 23 posts 43 karma points
    Oct 07, 2010 @ 16:08
    Mitchell
    0

    The way I got the skin working was by copying the theme masterpage and using that and putting the board stuff in it then placing that in its own file.  Not ideal but it worked

  • João Pereira 41 posts 64 karma points
    Oct 07, 2010 @ 16:15
    João Pereira
    0

    Hi,

    Thank you for your answer and help!

     

    I got everything to work just fine and didn't had to copy anything to the umbraco folder. Everything is inside the Yaf folder.

    The skin problem I just had was a misconfiguration. Forgot to had the path in the <add key="YAF.AppRoot" value="/YAF" />

    I was misleaded when I read the info in the app.config stating that this should point to the bin and App_Code root... but UrlRewriting takes care of this.

     

    I guess everything is perfect integrated, even the umbracoMembership. Just have to tune up my registration form in umbraco to set avatar url and a few other things.

     

    This post was a really great help along with this one http://dawoe.blogspot.com/search/label/Umbraco

    Hurray! ;)

  • Mitchell 23 posts 43 karma points
    Oct 07, 2010 @ 16:56
    Mitchell
    0

    Are you using the CWS theme?

  • João Pereira 41 posts 64 karma points
    Oct 07, 2010 @ 17:01
    João Pereira
    0

    No. I did a blank umbraco install and created a custom template for the project.

    But the only requirement I didn't see it documented by anyone else was the runat="server" tag in the head section... The rest worked like I read everywhere...

  • ridi 71 posts 103 karma points
    Nov 19, 2010 @ 07:50
    ridi
    0

    Does anybody have trying the solution in latest Umbraco 4.5.2? it is work?

     

    Thanks :)

  • João Pereira 41 posts 64 karma points
    Nov 19, 2010 @ 12:12
    João Pereira
    0

    Hi ridi,

    It works just fine on 4.5.2.

     

    Read the 3rd page of this thread and you have lots of resources you can look at.

    If you stump at something, please let me know so I can try to help you.

     

    João Pereira

  • Jon Cuthbert 84 posts 173 karma points
    Dec 30, 2010 @ 23:24
    Jon Cuthbert
    0

    Hi guys, Thanks to everyone in the forum discussion for helping me integrate YAF into Umbraco. I've built a pretty seemless integration sharing the same Membership provider.

    The problem I've finally run into is that when I update "profile" information inside YAF such as Birthday, Location, and Interests; that information is only saved until I upload a new dll or change the web.config. This might be because the information is only stored in the cache and not ever getting to the dbo.yaf_prov_Profile table. I looked into the dbo.yaf_prov_Profile table after saving my profile information and it was still empty. The dbo.yaf_prov_Application table does contain the application name that I choose in the web.config but I'm thinking that It's my web.config settings that are causing the issue.

    Here are the web.config settings I have that may be the issue:

    <!-- Membership Provider -->
        <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="RegisteredUser" passwordFormat="Hashed" />
            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
          </providers>
        </membership>
        <!-- Yaf.Net profile -->
        <profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
          <providers>
            <clear />
            <add connectionStringName="yafnet" applicationName="Community" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider" />
          </providers>
        </profile>
        <!-- added by NH to support membership providers in access layer -->
        <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
          <providers>
            <clear />
            <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
          </providers>
        </roleManager>

    Thanks for your help. I'm willing to share any information on how I was able to set up YAF in Umbraco.

    I'm using YAF-v1.9.5-FINAL-SRC rebuilt in .NET 4.0 on Umbraco 4.5.2 (.NET 4.0) .

  • Robert 1 post 21 karma points
    Jan 04, 2011 @ 22:30
    Robert
    0

    hi, i recently started working with yaf and umbraco and i could really use some help with the config file..

    so far i have gotten yaf up and running and umbraco, i can login but i cant register for some reason...

    when i attempt to register i get:

     

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]

    umbraco.cms.businesslogic.Content.CreateContent(ContentType ct) +188
    umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String LoginName, String Email, MemberType mbt, User u) +664
    umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String Email, MemberType mbt, User u) +55
    umbraco.providers.members.UmbracoMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +196
    System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +318
    System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +102
    System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +418
    System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +161
    System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
    System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

     

    i tried an old config file with just umbraco with my site and i could log in using the membership provider without a problem. so im guessing its one of the settings in the web.config file that i changed

    Here is the current web.config file

     

    any help is greatly appreciated.


    <?xml version="1.0"?>
    <configuration>
    <configSections>
    <!-- YAF.Net section part -->
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    </sectionGroup>
    </sectionGroup>
    </sectionGroup>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <section name="umbraco.presentation.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    </sectionGroup>
    <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter, Version=2.0.0.6, Culture=neutral, PublicKeyToken=0573f3650687980d" requirePermission="false" />
    <!-- Umbraco section part -->
    <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
    <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
    <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" />
    <section name="Examine" type="Examine.Config.ExamineSettings, Examine" />
    <section name="ExamineLuceneIndexSets" type="UmbracoExamine.Config.ExamineLuceneIndexes, UmbracoExamine" />
    </configSections>
    <!-- Umbraco configuration part -->
    <urlrewritingnet configSource="config\UrlRewriting.config" />
    <microsoft.scripting configSource="config\scripting.config" />
    <clientDependency configSource="config\ClientDependency.config" />
    <Examine configSource="config\ExamineSettings.config" />
    <ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
    <!-- Umbraco application settings and reference to YAF.Net app settings -->
    <appSettings file="forum\app.config">
    <add key="umbracoDbDSN" value="data source=.\SQLExpress;initial catalog=myDB;integrated security=True" />
    <add key="umbracoConfigurationStatus" value="4.5.1" />
    <add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx" />
    <add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
    <add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
    <add key="umbracoStorageDirectory" value="~/App_Data" />
    <add key="umbracoPath" value="~/umbraco" />
    <add key="umbracoEnableStat" value="false" />
    <add key="umbracoHideTopLevelNodeFromPath" value="true" />
    <add key="umbracoEditXhtmlMode" value="true" />
    <add key="umbracoUseDirectoryUrls" value="false" />
    <add key="umbracoDebugMode" value="true" />
    <add key="umbracoTimeOutInMinutes" value="20" />
    <add key="umbracoVersionCheckPeriod" value="7" />
    <add key="umbracoDisableXsltExtensions" value="true" />
    <add key="umbracoDefaultUILanguage" value="en" />
    <add key="umbracoProfileUrl" value="profiler" />
    <add key="umbracoUseSSL" value="false" />
    <add key="umbracoUseMediumTrust" value="false" />
    <add key="umbracoContentXMLUseLocalTemp" value="false" />
    </appSettings>
    <!-- YAF.Net configuration part -->
    <connectionStrings configSource="forum\db.config" />
    <rewriter configSource="forum\URLRewriter.config" />
    <system.net>
    <mailSettings>
    <smtp configSource="forum\mail.config" />
    </mailSettings>
    </system.net>
    <system.web>
    <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
    <xhtmlConformance mode="Strict" />
    <customErrors defaultRedirect="Error.aspx" mode="Off" />
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
    <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
    <!--<httpRuntime requestValidationMode="2.0" />-->
    <!-- Yaf.Net authentication -->
    <!--
    <authentication mode="Forms">
    <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
    </authentication>
    -->
    <!-- Umbraco authentication -->
    <authentication mode="Forms">
    <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
    </authentication>
    <!-- Umbraco authorization -->
    <authorization>
    <allow users="?" />
    </authorization>
    <!-- Set debug to "true" to test out the system in development -->
    <compilation defaultLanguage="c#" debug="true">
    <assemblies>
    <!-- ASP.NET 4.0 Assemblies -->
    <!-- YAF.Net definitions -->
    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <!-- Umbraco definitions -->
    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </assemblies>
    </compilation>
    <httpHandlers>
    <remove verb="*" path="*.asmx" />
    <!-- Umbraco HTTP handlers -->
    <!-- ASPNETAJAX -->
    <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
    <!-- UMBRACO CHANNELS -->
    <!-- Those two additions do cause problems when using them with YAF.Net remove them in the YAF folder -->
    <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />

    <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
    <add verb="GET,HEAD,POST" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
    <!-- YAF.Net HTTP handlers -->
    <add verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
    </httpHandlers>
    <httpModules>
    <!-- URL REWRTIER -->
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
    <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
    <!-- UMBRACO -->
    <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
    <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
    <!-- ASPNETAJAX -->
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <!-- CLIENT DEPENDENCY -->
    <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
    <!-- YAF.Net Modules -->
    <add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core" />
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter, Version=2.0.0.6, Culture=neutral, PublicKeyToken=0573f3650687980d" />
    </httpModules>
    <pages validateRequest="false" smartNavigation="false" enableEventValidation="false">
    <controls>
    <add tagPrefix="DotNetAge" namespace="DNA.UI.JQuery" assembly="DNA.UI.JQuery" />
    <add tagPrefix="DotNetAge" namespace="DNA.UI" assembly="DNA" />
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Utils" assembly="YAF.Classes.Utils"/>
    <add tagPrefix="YAF" namespace="YAF.Classes.Core" assembly="YAF.Classes.Core"/>
    <add tagPrefix="YAF" namespace="YAF.Classes.Data" assembly="YAF.Classes.Data"/>
    <add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls"/>
    <add tagPrefix="YAF" namespace="YAF.Controls.Statistics" assembly="YAF.Controls"/>

    <!-- Default: use non-dynamic (compiled classes) in YAF -->
    <!--
    <add tagPrefix="YAF" namespace="YAF.Classes.UI" assembly="YAF.Classes.UI" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Utils" assembly="YAF.Classes.Utils" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Core" assembly="YAF.Classes.Core" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Data" assembly="YAF.Classes.Data" />
    <add tagPrefix="YAF" namespace="YAF.Controls" assembly="YAF.Controls" />
    <add tagPrefix="YAF" namespace="YAF.Controls.Statistics" assembly="YAF.Controls" />
    -->
    <!-- Optional: use dynamic classes in YAF by moving all the YAF.x directories (YAF.Classes.*, YAF.Providers)
    into the App_Code\YAF directory. Delete the associated .dll files from the \bin directory. Comment out the above
    "non-dynamic" namespaces above and enable these:
    -->
    <!--add tagPrefix="YAF" namespace="YAF.Classes.UI" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Utils" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Data" />
    <add tagPrefix="YAF" namespace="YAF.Controls" />
    <add tagPrefix="YAF" namespace="YAF.Classes.Core" />
    <add tagPrefix="YAF" namespace="YAF.Controls.Statistics" /-->
    <add tagPrefix="YAF" namespace="YAF.Classes" />
    <add tagPrefix="YAF" namespace="YAF" />
    </controls>
    <namespaces>
    <add namespace="YAF"/>
    <add namespace="YAF.Classes.Utils"/>
    <add namespace="YAF.Classes.Core"/>
    <add namespace="YAF.Controls"/>
    <add namespace="YAF.Classes.Data"/>
    </namespaces>
    </pages>
    <!-- Yaf.Net Role manager -->
    <!--
    <roleManager enabled="true" defaultProvider="YafRoleProvider">
    <providers>
    <clear/>
    <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafRoleProvider" type="YAF.Providers.Roles.YafRoleProvider"/>
    </providers>
    </roleManager>
    -->
    <!-- Umbraco role manager -->
    <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
    <providers>
    <clear />
    <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
    </providers>
    </roleManager>
    <!-- YAF.Net membership provider -->
    <!--
    <membership defaultProvider="YafMembershipProvider" hashAlgorithmType="SHA1">
    <providers>
    <clear/>
    <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafMembershipProvider" requiresUniqueEmail="true" useSalt="true" type="YAF.Providers.Membership.YafMembershipProvider"/>
    </providers>
    </membership>
    -->
    <!-- Umbraco membership provider -->
    <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
    <providers>
    <clear />
    <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
    <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
    </providers>
    </membership>
    <!-- Yaf.Net profile -->
    <profile enabled="true" defaultProvider="YafProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
    <providers>
    <clear />
    <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="YafProfileProvider" type="YAF.Providers.Profile.YafProfileProvider" />
    </providers>
    </profile>
    <!-- Umbraco Sitemap provider-->
    <siteMap defaultProvider="UmbracoSiteMapProvider" enabled="true">
    <providers>
    <clear />
    <add name="UmbracoSiteMapProvider" type="umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" defaultDescriptionAlias="description" securityTrimmingEnabled="true" />
    </providers>
    </siteMap>
    </system.web>
    <system.web.extensions>
    <scripting>
    <!--
    <scriptResourceHandler enableCompression="true" enableCaching="true" />
    -->
    </scripting>
    </system.web.extensions>
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
    <!-- YAF.Net -->
    <remove name="YafTaskModule" />
    <remove name="UrlRewriter" />
    <add name="YafTaskModule" type="YAF.Classes.Core.YafTaskModule, YAF.Classes.Core" preCondition="managedHandler" />
    <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" preCondition="managedHandler" />
    <!-- Umbraco -->
    <remove name="ScriptModule" />
    <remove name="UrlRewriteModule" />
    <remove name="umbracoRequestModule" />
    <remove name="viewstateMoverModule" />
    <remove name="umbracoBaseRequestModule" />
    <remove name="ClientDependencyModule" />
    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
    <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
    <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
    <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
    <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
    </modules>
    <handlers accessPolicy="Read, Write, Script, Execute">
    <!-- Yaf.Net -->
    <add name="AjaxPro" verb="POST,GET,HEAD" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
    <!-- Umbraco -->
    <remove name="WebServiceHandlerFactory-Integrated" />
    <remove name="ScriptHandlerFactory" />
    <remove name="ScriptHandlerFactoryAppServices" />
    <remove name="ScriptResource" />
    <remove name="Channels" />
    <remove name="Channels_Word" />
    <remove name="ClientDependency" />
    <remove name="SpellChecker" />
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
    <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
    <add verb="*" name="ClientDependency" preCondition="integratedMode" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
    <add verb="GET,HEAD,POST" preCondition="integratedMode" name="SpellChecker" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
    </handlers>
    </system.webServer>
    <system.codedom>
    <compilers>
    <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <providerOption name="CompilerVersion" value="v3.5" />
    <providerOption name="WarnAsError" value="false" />
    </compiler>
    <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <providerOption name="CompilerVersion" value="v4.0" />
    <providerOption name="OptionInfer" value="true" />
    <providerOption name="WarnAsError" value="false" />
    </compiler>
    </compilers>
    </system.codedom>
    <runtime>
    <!-- Old asp.net ajax assembly bindings -->
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    </configuration>
  • Jon Cuthbert 84 posts 173 karma points
    Jan 11, 2011 @ 23:48
    Jon Cuthbert
    0

    http://forum.yetanotherforum.net/yaf_postsm35563_Default-YAF-Profile-Provider-with-ASP-NET-Membership-and-Role-Provider.aspx#post35563

    That post helped my solve my profile issue.

    This is what I landed on for my profile info in the web.config:

    <profile enabled="true" defaultProvider="UmbracoMembershipProvider" inherits="YAF.Classes.Utils.YafUserProfile">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="yafnet" applicationName="Community"/>
          </providers>
        </profile>

    After that it still didn't work, I needed to run aspnet_regsql.exe on the database I was using to add my missing tables.

  • Jon Cuthbert 84 posts 173 karma points
    Jan 11, 2011 @ 23:54
    Jon Cuthbert
    0

    Robert, any luck with registration? Curious to know how you set up Yaf inside of umbraco and how you handle the UrlRewriting.config.

    If you can narrow down your issue to a specific area, I might be able to help you.

    Jon

  • Chris Lord 15 posts 51 karma points
    Feb 11, 2011 @ 09:36
    Chris Lord
    0

    Hi,

    I really could do with some help, I have been pulling my hair out for a couple of days now. I am new to Umbraco and have never used YAF before, but the project I am working requires me to integrate the two.

    I am using Umbraco 4.5.2 and have downloaded YAF 1.9.5 (binary version). My Umbraco project is an ASP.NET web application, I don't know if that is a problem when integrating YAF?

    I orginally followed http://dawoe.blogspot.com/2009/02/intergrate-yet-another-forum-193rc2.html with version 1.9.3, which was working ok, but then was getting loads of build errors to do with YAF, in the end I completley broke my project to the point where I am starting again :-(

    Is there any documentation anywhere that will help me integrate 1.9.5 YAF (Binary version or source, I don't really care) into Umbraco 4.5.2 Web Application.

    The scenario I am looking for is on my Umbraco site I use ASP.NET login controls for users to login (I have this working as it stands) - the forum then sits inside a directory mysite.com/yaf.

    Any help will be appreciated.

    Cheers

    Chris

  • Jon Cuthbert 84 posts 173 karma points
    Feb 11, 2011 @ 15:09
    Jon Cuthbert
    0

    To start, the best thing is probably to download the yaf source and change the assemblies to 4.0 if you are using that and try to build it. You will have to work out the errors tho.

  • ridi 71 posts 103 karma points
    Feb 12, 2011 @ 00:21
    ridi
    0

    After playing so much in YAF with Umbraco, i thinks it is much better if we are using nForum. It is integrated and definetely sufficient for daily forum :)

Please Sign in or register to post replies

Write your reply to:

Draft