Server Error in '/' 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:


Line 64: 
Line 65: <h1><%# (teremRegion == null) ? "" : teremRegion["name_" + Session["lang"].ToString()].ToString()%> - <%# (teremClinic == null) ? "" : teremClinic["name_" + Session["lang"].ToString()].ToString()%></h1>
Line 66: <div class="<%#(teremClinicFromRSS["rssIsOpen"].ToString() == "true") ? "clinicID_header_open_color" : "clinicID_header_close_color" %>"></div>
Line 67: <div class="clinicID_header_open_title"><%# (teremClinicFromRSS["rssIsOpen"].ToString() == "true") ? clinicId_API["openTitle_" + Session["lang"].ToString()].ToString() : clinicId_API["closeTitle_" + Session["lang"].ToString()].ToString()%> 
Line 68: <%# 

Source File: c:\inetpub\wwwroot\terem.com\controls\clinic_service_section.ascx    Line: 66

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.clinic_service_section.__DataBind__control2(Object sender, EventArgs e) in c:\inetpub\wwwroot\terem.com\controls\clinic_service_section.ascx:66
   System.Web.UI.Control.OnDataBinding(EventArgs e) +97
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +173
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   MasterPage.Page_PreRender(Object sender, EventArgs e) in c:\inetpub\wwwroot\terem.com\MasterPage.master.cs:67
   System.Web.UI.Control.OnPreRender(EventArgs e) +11905684
   System.Web.UI.Control.PreRenderRecursiveInternal() +162
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4076.0