Hi All,

I have tried my best here, but run out of things to try.

I have integrated YAF with my website and merged the web.config files as suggested. Got everything working 100% on my dev machine. . Main website is 100% though.

I have ensured all the DLL's in the BIN folder have been correctly copied across from my dev machine to the host.

I have seen elsewhere on the forums here, that you need YAF.DLL. I don't have this. Nor did I have it in my BIN folder when testing on my dev machine.
This is version 1.9.3 Final BTW.

Please assist someone. I have lost an entire day to trying to get this to work and am out of ideas now.

I see that you are installing in Sub-folder,Have you followed the instructions which say:


By default YAF is designed to be installed at the root application on any IIS web server. If you want YAF to be installed off of the main root, you need to modify the root key. Make sure the files in the /bin directory of the YAF zip file are copied to /bin directory on the root of your web server. Then open up "app.config" and uncomment the "root" key. Enter the value as the directory to your forum. Example: If you have install the forum in the directory "/forum/yaf/" you will need to add key with name "root" and value "/forum/yaf/" to app.config.

Thx for that Herman. I actually missed that setting.

However... I set the root to /forum/ the uploaded the new app.config. The problem persisted. I then added some spaces to the web.config and re-uploaded that, and still no change. The problem persists.

Are there any other settings I need to change?

Here is my app.config as it is now.

<add key="YAF.BoardID" value="1" />
<add key="YAF.Root" value="/forum"/>
<add key="YAF.EnableURLRewriting" value="false" />
<add key="YAF.DatabaseObjectQualifier" value="yaf_" />
<add key="YAF.DatabaseOwner" value="dbo" />
<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />
<add key="YAF.UploadDir" value="~/upload/" />
<add key="YAF.ProviderKeyType" value="System.Guid" />
<add key="YAF.BaseUrl" value="~/forum/" />
<add key="YAF.BaseUrlOverrideDomain" value="false" />
<add key="YAF.RadEditorSkin" value="Black" />
<add key="YAF.UseRadEditorToolsFile" value="true" />
<add key="YAF.RadEditorToolsFile" value="editors/radEditor/toolsFile.xml" />
<add key="SQLConn" value="Server=..." />
<add key="SQLConnPub" value="Server=..." />
<add key="SubMenuWidth" value="170" />
<add key="RootMenuWidth" value="160" />
<add key="SubMenuOffsetTop" value="-23" />
<add key="OrgID" value="1" />
<add key="DocUploadPath" value="documents" />
<add key="DocumentStartYear" value="1993" />
<add key="YAF.ConfigPassword" value="" />
May be you have not the correct code copied under App_Code if you are using the Web Site deployment model which seems to be the base one for YAF.

Perfect. That worked. Not sure why I never thought of that. I moved App_Code to the root of the site and the forum is working now.

Thanks so much for your help guys.
You're welcome, see my comments about the 1.9.4 and Web Site model in the Source Forum (I don't know how to include a link to it, is this feature available ? Permalink ?...

Spoke too soon :)

The forum works, but the previous login I had setup does not work now.
If I request password, it says "No user found". I looked into the database, and the user "PSCBCAdmin" that I am trying to use exists in the yaf_User table.

Any ideas what this could be? Another setting?
May be the Membership provider in web.config ?
I only know about YAF since last week 🙂
You make a good point there. Damn!!! That means I am going to have to migrate the users across to the aspnet_ tables.
This is a huge breaking change.

Thanks for the heads up though man. I think I just have too much on my plate at the mo for the brain to function clearly.

Is there a way to make it work with the legacy tables instead of having to now migrate all data?

What is the default username/password to get into the system now to create new users?

Thanks for you help man. Really appreciated.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved