Posted by: berkleyp - Monday, 2 November 2009 10:48:17
I have tried multiple times to install YAF with the same result. I was able to get it to actually show me the error message by turning off the customer errors page. This is where I am stuck now:
I have installed YAF 1.9.3 on fresh server install. Fully patched with .NET 3.5 and the ASP version chosen to run the application on the site is the .NET 2.0. I followed the directions for install all the way through and I am getting the following error:
[code]
Configuration Error
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: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 41:
Line 42:
Line 43:
Line 44:
Line 45:
Source File: c:\inetpub\wwwroot\web.config Line: 43
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
[/code]
I am using the recommended web.config from the install with the only modification being the ability to see the detailed error messages.
Posted by: Mek - Monday, 2 November 2009 14:00:45
You are not using the right web.config; you need to look in the configs folder for the 3.5 version, the tell tale tale is the version of System.Web.Extensions your web.config is looking for (it says 1.0).
Posted by: berkleyp - Monday, 2 November 2009 16:59:47
Well, that got me past that error. Thx. But now I get the following error. I have a feeling that It has something to do with my connection string. Ive never had to make one myself (phpBB3 spoiled me)
Here is what I am getting now:
[code]
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 545: private void FixAccess( bool bGrant )
Line 546: {
Line 547: DB.system_initialize_fixaccess(bGrant);
Line 548: }
Line 549: #endregion
Source File: c:\Inetpub\wwwroot\install\default.aspx.cs Line: 547
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
YAF.Classes.Config.get_ConnectionString() +25
YAF.Classes.Data.YafDBConnManager.InitConnection() +90
YAF.Classes.Data.DB.system_initialize_fixaccess(Boolean grant) +50
YAF.Install._default.FixAccess(Boolean bGrant) in c:\Inetpub\wwwroot\install\default.aspx.cs:547
YAF.Install._default.UpgradeDatabase(Boolean fullText) in c:\Inetpub\wwwroot\install\default.aspx.cs:273
YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) in c:\Inetpub\wwwroot\install\default.aspx.cs:205
System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +108
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +418
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
[/code]
Posted by: berkleyp - Monday, 2 November 2009 21:19:44
I was correct. It was the SQLConnection string. now that I have that working correctly, I get another error while setting up stating that the admin username and password are incorrect. I thought I was creating one during the installation.
EDIT: Ok, I got this fixed. Simple enough, password requires a few things.... like special characters, numbers, and a CAP letter.