•  lvxg10
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter

I just download the latest version of YAF Forum (

But when I open it as a website and try to compile it, I got this error, any ideas?

Thank you very much!

Failed to get configuration from Web.config.

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.ApplicationException: Failed to get configuration from Web.config.

Source Error:

Line 33:
Line 34: <form runat="server" enctype="multipart/form-data">
Line 35: <yaf:forum runat="server" id="forum" />
Line 36: </form>
Line 37:

Source File: c:\dev\web\Forum-Final-src\default.aspx Line: 35

Stack Trace:

[ApplicationException: Failed to get configuration from Web.config.]
yaf.Config.get_configSection() +161
yaf.Config.get_CategoryID() +20
yaf.Forum..ctor() +39
ASP.default_aspx.__BuildControlforum() in c:\dev\web\Forum-Final-src\default.aspx:35
ASP.default_aspx.__BuildControl__control4() in c:\dev\web\Forum-Final-src\default.aspx:34
ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in c:\dev\web\Forum-Final-src\default.aspx:1
ASP.default_aspx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\forum-final-src\deedcdbf\c79f61c9\App_Web_puxib7_w.3.cs:0
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\forum-final-src\deedcdbf\c79f61c9\App_Web_puxib7_w.3.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Have you correctly renamed the default config file shipped with YAF to web.config.


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