Hello, seems pretty common, but I am having massive problems getting this forum setup on my dotnetnuke site. I am very new to .Net in general (more of a PHP person) but really want to see if YAF will work to replace the very featureless default Forum module.
Thing is, I've now reached the end of my wits with trying to get this thing going. The documentation seems very cluttered and/or just wrong. Here is what I have:
Server: Hosted (.Net 2.0.5, IIS6, SQL 2008 database)
DNN: 4.9.3
YAF: 1.91.5
I have uploaded the module and edited my web.config file as shown:
<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" />
</sectionGroup>
<section name="yafnet" requirePermission="false" type="yaf.SectionHandler,yaf" />
</configSections>
<yafnet configSource="dnnyafnet.config"/>
<connectionStrings>
Now is where I get lost, the instructions say to:
3) Copy the dnnyafnet.config file to the root of your DNN installation.
However, this file doesn't exist anywhere in the download. I've extracted all ZIP files and searched, its nowhere. I did some searching and found a thread that listed an "example" of the file but I'm not sure its correct. What I have is shown below, its at root along with my web.config file:
<yafnet>
<connstr>user id=DBUSER;pwd=DBUSERPASS;data source=DBSERVER;initial catalog=DBNAME;timeout=90</connstr>
<root>/DesktopModules/yaf/</root>
<uploaddir>~/upload/</uploaddir>
<theme>yafpro.xml</theme>
<!-- Enable URL Rewriting is NOT available with DNN -->
<enableurlrewriting>false</enableurlrewriting>
</yafnet>
With the items in caps filled in with the same entries that are in my web.config file. When I try to run the install for YAF I get a Runtime Error.
Doing more searching I have seen instructions for installing this to have any of the following:
1. Something about a .dll file.
2. Something about moving BIN files.
3. Something about manually running a SQL script.
4. And so on...
So, help would be appreciated. It cannot possibly be THIS complicated to get a simple forum up and going can it? The thing that sticks out to me the most is the missing dnnyafnet.config file.
Thanks!