Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...YAF on DNN 4.9.2 - Yet Another ForumYAF on DNN 4.9.2 - Yet Another Forum
Previous
 
Next
New Post
3/8/2009 4:18 PM
 

Anyone able to get YAF running on DNN 4.9.2 ?

I'm getting this error, even though the instructions indicate to put the "<yafnet configSource="dnnyafnet.config"/>" line right where I have it.  Any ideas?

For further info., nothing I've tried has worked. WHERE do I put this code in a DNN 4.9.2 web.config file? Here's the error. Help!?

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section yafnet.

Source Error:

Line 20: </sectionGroup>
Line 21: </configSections>
Line 22: <yafnet configSource="dnnyafnet.config"/>
Line 23: <connectionStrings>
Line 24: <!-- Connection String for SQL Server 2000/2005 -->


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
3/8/2009 5:02 PM
 

You missed...

<section name="yafnet" type="yaf.SectionHandler,yaf"/>

into the 

<configuration>
  <configSections>
    <sectionGroup name="dotnetnuke">
       ...
    </sectionGroup>
    <section name="yafnet" type="yaf.SectionHandler,yaf"/>
  </configSections>

HTH

 
New Post
3/8/2009 5:12 PM
 

Thanks Oliver, actually I didn't miss that... it's above the original code...

Here would be my "expanded" code which causes the error:

<configuration>
  <!-- register local configuration handlers -->
  <configSections>
    <sectionGroup name="dotnetnuke">
      <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
      <section name="data" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="logging" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="scheduling" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="htmlEditor" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="navigationControl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="searchIndex" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="searchDataStore" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="friendlyUrl" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="caching" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="authentication" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="members" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="roles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="profiles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
      <section name="yafnet" type="yaf.SectionHandler,yaf" />
   </sectionGroup>
    <yafnet configSource="dnnyafnet.config"/>
  </configSections>
  <connectionStrings>
    <!-- Connection String for SQL Server 2000/2005 -->

The instructions from the developer in the file called "installation.txt" are as follows:

** NOTE: BACKUP YOUR DATABASE BEFORE INSTALLATION! **

**** CLEAN INSTALL ****

(1) Upload the PA as Host

(2) Edit the web.config file in your DotNetNuke directory to add the required definitions for YAF. Take a look at dnn.config to see the changes.

Add this to ConfigSections: <section name="yafnet" type="yaf.SectionHandler,yaf" />
And add this right after ConfigSections: <yafnet configSource="dnnyafnet.config"/>

(3) Copy the dnnyafnet.config file to the root of your DNN installation.

(4) Edit the dnnyafnet.config file and change the "connstr" settings to the correct values for your database.

** NOTE: When adding the forum to a tab for the first time, YetAnotherForum.NET will automatically setup the database.


**** TO UPDATE *****

(1) Just install as normal PA.

(2) Update your database by executing the SQL provider files "*.sql"

(3) Merge .config changes by viewing dnn.config. Then copy the dnnyafnet.config to your DNN root directory.


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
3/8/2009 5:35 PM
 

Ok, so this works on DNN 4.9.2

  <configSections>
    <sectionGroup name="dotnetnuke">
      <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
      .......
    </sectionGroup>
    <section name="yafnet" type="yaf.SectionHandler,yaf" />
  </configSections>
  <yafnet configSource="dnnyafnet.config"/>


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...YAF on DNN 4.9.2 - Yet Another ForumYAF on DNN 4.9.2 - Yet Another Forum


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out