Trist
  •  Trist
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2009-05-14T22:01:12Z
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
2009-05-15T00:06:39Z
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

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved