YAFLogo

Trist
  • Trist
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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:

 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
   
Sponsor
pankaj
  • pankaj
  • 51.8% (Neutral)
  • YAF Forumling
15 years ago
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