When this issue occurs, you receive an error message that states enterprise library cache manager is configured incorrectly.
The following error message will be logged in the event log:
You may receive the following error messages in Windows Event Viewer (Sourcce: Release Managment Monitor):
The following error message will be logged in the event log:
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.]
Microsoft.TeamFoundation.Release.Services.ServiceModule.LogDiagnosticInformation(String source) +83
Microsoft.TeamFoundation.Release.Services.ServiceModule.IsCurrentUserAuthenticated() +111
Microsoft.TeamFoundation.Release.Services.ServiceModule.OnAuthenticateRequest(Object sender, EventArgs e) +11
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
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.]
Microsoft.TeamFoundation.Release.Services.ServiceModule.LogDiagnosticInformation(String source) +83
Microsoft.TeamFoundation.Release.Services.ServiceModule.IsCurrentUserAuthenticated() +111
Microsoft.TeamFoundation.Release.Services.ServiceModule.OnAuthenticateRequest(Object sender, EventArgs e) +11
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
You may receive the following error messages in Windows Event Viewer (Sourcce: Release Managment Monitor):
Timestamp: 11/26/2013 11:45:44 AM Message: Object reference not set to an instance of an object.: \r\n\r\n at Microsoft.TeamFoundation.Release.Data.Services.get_ConfigurationService() at Microsoft.TeamFoundation.Release.Monitor.Services.MonitorService.ProcessScheduledPromotions() Category: General Priority: -1 EventId: 0 Severity: Error Title: Machine: ABCD Application Domain: ReleaseManagementMonitor.exe Process Id: 6960 Process Name: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\ReleaseManagementMonitor.exe Win32 Thread Id: 8284 Thread Name: Extended Properties:
Timestamp: 11/26/2013 11:45:44 AM Message: Cannot find CacheManager instance name Cache Manager: \r\n\r\n at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, ILifetimeContainer lifetimeContainer, String id, IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager(String cacheManagerName) at Microsoft.TeamFoundation.Release.Common.Helpers.Caching.get_Cache() Category: General Priority: -1 EventId: 0 Severity: Error Title: Machine: ABCD Application Domain: ReleaseManagementMonitor.exe Process Id: 6960 Process Name: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\ReleaseManagementMonitor.exe Win32 Thread Id: 8284 Thread Name: Extended Properties
Timestamp: 11/26/2013 11:45:44 AM Message: Cannot find CacheManager instance name Cache Manager: \r\n\r\n at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, ILifetimeContainer lifetimeContainer, String id, IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager(String cacheManagerName) at Microsoft.TeamFoundation.Release.Common.Helpers.Caching.get_Cache() Category: General Priority: -1 EventId: 0 Severity: Error Title: Machine: ABCD Application Domain: ReleaseManagementMonitor.exe Process Id: 6960 Process Name: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\bin\ReleaseManagementMonitor.exe Win32 Thread Id: 8284 Thread Name: Extended Properties