YAFLogo

Posted by: Trist - Friday, 15 May 2009 00:01:12
Hi I'm just running through the set up at the moment.On set up I can enter the config password, click next then it errors. I'm pretty sure my connection string is right and followed the steps so far. Can anyone help with this erro: [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: d:\Websites\LongtailDevBox\forum2\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 d:\Websites\LongtailDevBox\forum2\install\default.aspx.cs:547 [/code]

Posted by: pankaj - Friday, 15 May 2009 02:06:39
This error is occured only when ur connection string is not as in perticular format or if get error in connection string.So check again ur connection string