Server Error in '/content' Application.

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Lib.Language.WalkTree(XmlNode node) in F:\Chavoosh_From_1397_04_15\SMCBS code\SMCBS\Cms\Lib\INC\Language.cs:79
   Lib.Language.Bindword(String Word1, String TypeLan1) in F:\Chavoosh_From_1397_04_15\SMCBS code\SMCBS\Cms\Lib\INC\Language.cs:62
   Lib.MainPage.DoTemplateVariableReplacements(String parsedString) in F:\Chavoosh_From_1397_04_15\SMCBS code\SMCBS\Cms\Lib\INC\MainPage.cs:230
   Lib.MainPage.Render(HtmlTextWriter htmlOut) in F:\Chavoosh_From_1397_04_15\SMCBS code\SMCBS\Cms\Lib\INC\MainPage.cs:171
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +8787590
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9061