I am running yaf 1.9.1 rc1 in a subfolder that is setup as an application. When I try this method of integration, it seems yaf is trying to use the web.config in my root and not the web.config in /forum/ as I get the following error message. Any help would be greatly appreciated =)
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 32:
Line 33: Dim sPassword As String = FormsAuthentication.HashPasswordForStoringInConfigFile(Password.Text, "md5")
Line 34: Dim userID As Object = yaf.DB.user_login(1, UserName.Text, sPassword)
Line 35:
Line 36: If Not userID Is DBNull.Value Then
Source File: E:\web\compareprep\htdocs\login.aspx.vb Line: 34
Stack Trace:
[ApplicationException: Failed to get configuration from Web.config.]
yaf.Config.get_configSection() +144
yaf.DB.ExecuteScalar(SqlCommand cmd) +67
yaf.DB.user_login(Object boardID, Object name, Object password) +150
Default2.Login1_Authenticate(Object sender, AuthenticateEventArgs e) in E:\web\compareprep\htdocs\login.aspx.vb:34
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +106
System.Web.UI.WebControls.Login.AttemptLogin() +105
System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102