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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   System.Data.SqlClient.SqlInternalTransaction.GetServerTransactionLevel() +281
   System.Data.SqlClient.SqlInternalTransaction.CheckTransactionLevelAndZombie() +99
   System.Data.SqlClient.SqlInternalTransaction.Commit() +356
   System.Data.SqlClient.SqlTransaction.Commit() +234
   NPoco.Database.CompleteTransaction() +100
   Umbraco.Core.Scoping.Scope.DisposeLastScope() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:388
   Umbraco.Core.Scoping.Scope.Dispose() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:365
   Umbraco.Core.Services.Implement.UserService.GetUserById(Int32 id) in D:\a\1\s\src\Umbraco.Core\Services\Implement\UserService.cs:718
   Umbraco.Core.Services.Implement.UserService.GetProfileById(Int32 id) in D:\a\1\s\src\Umbraco.Core\Services\Implement\UserService.cs:674
   Umbraco.Web.PublishedCache.NuCache.PublishedContent.GetProfileNameByIdNoCache(Int32 id) in D:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\PublishedContent.cs:63
   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +88
   Umbraco.Web.PublishedCache.NuCache.PublishedContent.GetProfileNameById(Int32 id) in D:\a\1\s\src\Umbraco.Web\PublishedCache\NuCache\PublishedContent.cs:50
   Umbraco.Web.Macros.PublishedContentHashtableConverter..ctor(PublishedRequest frequest) in D:\a\1\s\src\Umbraco.Web\Macros\PublishedContentHashtableConverter.cs:34
   Umbraco.Web.Routing.PublishedRouter.ConfigureRequest(PublishedRequest frequest) in D:\a\1\s\src\Umbraco.Web\Routing\PublishedRouter.cs:198
   Umbraco.Web.UmbracoInjectedModule.ProcessRequest(HttpContextBase httpContext) in D:\a\1\s\src\Umbraco.Web\UmbracoInjectedModule.cs:138
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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