# Dashboard error: Object reference not set to an instance of an object

**URL:** <https://discuss.hangfire.io/t/dashboard-error-object-reference-not-set-to-an-instance-of-an-object/2168>\
**Category:** moved to github\
**Tags:** dashboard\
**Created:** [July 3, 2016, 6:08pm UTC](https://discuss.hangfire.io/t/dashboard-error-object-reference-not-set-to-an-instance-of-an-object/2168 "2016-07-03T18:08:44Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Nodir\_Azam](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/nodir_azam/32/1156_2.png) [@Nodir\_Azam](https://discuss.hangfire.io/u/Nodir_Azam)\
**Post date:** [November 24, 2017, 9:53am UTC](https://discuss.hangfire.io/t/dashboard-error-object-reference-not-set-to-an-instance-of-an-object/2168/13 "2017-11-24T09:53:19Z")

</div>

Hi, when i try to access to /hangfire/jobs/enqueued  
i get this error:

Server Error in ‘/’ Application.  
**Object reference not set to an instance of an object.**

Stack trace:

[NullReferenceException: Object reference not set to an instance of an object.]  
MySql.Data.MySqlClient.NativeDriver.ExecutePacket(MySqlPacket packetToExecute) +37  
MySql.Data.MySqlClient.NativeDriver.SendQuery(MySqlPacket queryPacket) +48  
MySql.Data.MySqlClient.Driver.SendQuery(MySqlPacket p) +26  
MySql.Data.MySqlClient.Statement.ExecuteNext() +89  
MySql.Data.MySqlClient.PreparableStatement.Execute() +47  
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1527  
MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() +147  
MySql.Data.MySqlClient.MySqlTransaction.Rollback() +115  
MySql.Data.MySqlClient.MySqlTransactionScope.Rollback(SinglePhaseEnlistment singlePhaseEnlistment) +148  
MySql.Data.MySqlClient.MySqlPromotableTransaction.System.Transactions.IPromotableSinglePhaseNotification.Rollback(SinglePhaseEnlistment singlePhaseEnlistment) +35  
System.Transactions.DurableEnlistmentAborting.EnterState(InternalEnlistment enlistment) +374  
System.Transactions.TransactionStateAborted.EnterState(InternalTransaction tx) +218  
System.Transactions.Transaction.Rollback() +244  
System.Transactions.TransactionScope.InternalDispose() +424  
System.Transactions.TransactionScope.Dispose() +2301  
Hangfire.MySql.MySqlStorage.UseTransaction(Func`2 func, Nullable`1 isolationLevel) +246  
Hangfire.MySql.Monitoring.MySqlMonitoringApi.SucceededJobs(Int32 from, Int32 count) +148  
Hangfire.Dashboard.Pages.SucceededJobs.Execute() +423  
Hangfire.Dashboard.RazorPage.TransformText(String body) +30  
Hangfire.Dashboard.RazorPageDispatcher.Dispatch(DashboardContext context) +85  
Hangfire.Dashboard.\<\>c\_\_DisplayClass1\_2.b\_\_1(IDictionary`2 env) +465  
Microsoft.Owin.Mapping.d\_\_0.MoveNext() +460  
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31  
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62  
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d\_\_5.MoveNext() +202  
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31  
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62  
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.d\_\_2.MoveNext() +193  
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31  
Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult ar) +119  
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +365  
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134

Version Information: Microsoft .NET Framework Version:4.0.30319; [ASP.NET](http://ASP.NET) Version:4.7.2106.0

 ![](https://europe1.discourse-cdn.com/flex017/uploads/hangfire/original/2X/1/1ced70bd7d0da50ecbe0dec24f32031f56a98cce.png)

---

_[View the full topic](https://discuss.hangfire.io/t/dashboard-error-object-reference-not-set-to-an-instance-of-an-object/2168)._
