What Changes required when BlogEngine to install into sub Blog folder

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Jul 28, 2010 at 4:14 PM
Edited Jul 28, 2010 at 4:20 PM
I created a sub folder named blog. Copy every thing. Followed this http://www.ajaymatharu.com/integrating-blogengine-into-an-existing-site/ article. Data Source changed from xml to SQL Server. New user created. Looks every thing working. When I add new post. I gives me error and take me to following error. When I next time starts blog previous post appears.... 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. ----------------Error------------ Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 297: Line 298: ExtensionSettings Settings = ExtensionManager.GetSettings("Recaptcha"); Line 299: publicKey = Settings.GetSingleValue("PublicKey"); Line 300: privateKey = Settings.GetSingleValue("PrivateKey"); Line 301: Source File: d:\Projects\xxxxxxx\App_Code\Extensions\Recaptcha\RecaptchaControl.cs Line: 299 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Controls.RecaptchaControl.OnInit(EventArgs e) in d:\Projects\Sarawat\SarawatNew\SarawatWeb\App_Code\Extensions\Recaptcha\RecaptchaControl.cs:299 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378 ----------------- If somebody knows plz help. Thanks, Anees