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 309:
Line 310:        Dim strRet As String = "/deelnemer/"
Line 311:        If su.voornaam <> "" Then strRet += su.voornaam.ToLower.Replace(" ", "").Replace("-", "") & "-"
Line 312:        If su.tussenvoegsel <> "" Then strRet += su.tussenvoegsel.ToLower.Replace(" ", "").Replace("-", "") & "-"
Line 313:        If su.achternaam <> "" Then strRet += su.achternaam.ToLower.Replace(" ", "").Replace("-", "") & "-"

Source File: C:\inetpub\wwwroot\www.dereustotaal.nl\themes\c4d2018\default.ascx    Line: 311

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.default.GetUrlDln(cUser su) in C:\inetpub\wwwroot\www.dereustotaal.nl\themes\c4d2018\default.ascx:311
   ASP.default.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\www.dereustotaal.nl\themes\c4d2018\default.ascx:288
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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