Event code: 3005 An unhandled exception has occurred.

Himanshu Gupta 1 Reputation point
2021-03-18T12:06:45.947+00:00

Hi all I keep getting a warning which I don't understand how to get rid off. The warning goes like this & frequently stop my website. Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/18/2021 3:40:11 PM Event time (UTC): 3/18/2021 11:40:11 AM Event ID: fc219919367049af841b29a36018f32c Event sequence: 63 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/3/ROOT-1-132605406261633193 Trust level: Full Application Virtual Path: / Application Path: D:\WEBSITE\newwebsite\ Machine name: UNIHOST Process information: Process ID: 3712 Process name: w3wp.exe Account name: UNIHOST\Administrator Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at NEXOLIMS.GridViewModule.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: http://starmetropolislab.com/Secure/GridView.aspx Request path: /Secure/GridView.aspx User host address: 11.111.11.11 User: Is authenticated: False Authentication Type: Thread account name: UNIHOST\Administrator Thread information: Thread ID: 43 Thread account name: UNIHOST\Administrator Is impersonating: False Stack trace: at NEXOLIMS.GridViewModule.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,059 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,337 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,053 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
284 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Himanshu Gupta 1 Reputation point
    2021-03-18T15:32:11.193+00:00

    @viorel Thank you for reply.

    I think error coming in each actions. see the below event

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/18/2021 4:14:36 PM
    Event time (UTC): 3/18/2021 12:14:36 PM
    Event ID: 755189f001cf4465b1cefd303155bc6b
    Event sequence: 238
    Event occurrence: 34
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/3/ROOT-1-132605407362447750
    Trust level: Full
    Application Virtual Path: /
    Application Path: D:\WEBSITE\newwebsite\
    Machine name: UNIHOST

    Process information:
    Process ID: 2128
    Process name: w3wp.exe
    Account name: UNIHOST\Administrator

    Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
    at clsGlobal.ResetPassword(String Login_Id)
    at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
    at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Request information:
    Request URL: http://starmetropolislab.com/Account/frmFrgetPsswrd.aspx
    Request path: /Account/frmFrgetPsswrd.aspx
    User host address: 11.111.11.111
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: UNIHOST\Administrator

    Thread information:
    Thread ID: 28
    Thread account name: UNIHOST\Administrator
    Is impersonating: False
    Stack trace: at clsGlobal.ResetPassword(String Login_Id)
    at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
    at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    0 comments No comments

  2. Duane Arnold 3,211 Reputation points
    2021-03-18T18:11:12.897+00:00

    Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.

    at clsGlobal.ResetPassword(String Login_Id)
    at NEXOLIMS.Account.frmFrgetPsswrd.btnChngPwd_Click(Object sender, EventArgs e)
    at DevExpress.Web.ASPxButton.OnClick(EventArgs e)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    It's a common exception that means your code is trying to access/reference an object that has not been instanced, and it's a null object that doesn't exist in memory.

    You are also being told where it is happening the exception. You need to use the debugger and set a breakpoint in the class method and single-step until it blows up and use Quickwatch to find out what object on the line that threw the exception is null. You find out why the object is null.

    0 comments No comments