YAFLogo

berkleyp
  • berkleyp
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
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:


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: 		<compilation defaultLanguage="c#" debug="true">
Line 42: 			<assemblies>
Line 43: 				<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 44: 				<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 45: 				<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

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.

I am using the recommended web.config from the install with the only modification being the ability to see the detailed error messages.

Sponsor
Mek
  • Mek
  • 100% (Exalted)
  • YAF Developer
14 years ago
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).


UserPostedImage

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )

berkleyp
  • berkleyp
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
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:


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
berkleyp
  • berkleyp
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
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.