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 36:                 <li>
Line 37:                     <div class="print-brokerinfo">
Line 38:                         <a class="left print printMe" href="printConvertor.aspx?id=<%=Model.ListingID %>&page=photoprint" target="_blank">
Line 39:                             <img src="images/clear.png" alt="print" /><span>Print</span></a>
Line 40:                     </div>

Source File: d:\Sites\Client\BrickBrooklyn\Photo4.aspx    Line: 38

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.photo4_aspx.__RenderContent2(HtmlTextWriter __w, Control parameterContainer) in d:\Sites\Client\BrickBrooklyn\Photo4.aspx:38
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +168
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4238


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