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 268:                            <%}%>
Line 269:                            <%}%>
Line 270:                            <%=Helper.ParseContent(model.Page["Content"].ToString())%>
Line 271:                        
Line 272:                        </div>

Source File: e:\www\bip.zgm\www\Default.aspx    Line: 270

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BIP.Controls.Rejestr.GetData(DataSet ds) in C:\Dane\Projekty\Strony\BIP ZGM — kopia 2021-01-19\BIP\Controls\Rejestr.ascx.cs:230
   BIP.Controls.Rejestr.Run(String registryName, String flt) in C:\Dane\Projekty\Strony\BIP ZGM — kopia 2021-01-19\BIP\Controls\Rejestr.ascx.cs:223
   Helper.ParseContent(String html) in C:\Dane\Projekty\Strony\BIP ZGM — kopia 2021-01-19\BIP\application\Helper.cs:164
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\www\bip.zgm\www\Default.aspx:270
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8752


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