You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Just trying to build and deploy the HueBot sample, I'm failing to deploy and run in the emulator. I'm getting an exception out of the WorkerRole at OnStart related to MPServiceHostLib.dll. Exception info is below. I don't think I have changed anything that would have broken it so I'm at a loss. Any ideas what I'm missing?
Exception thrown: 'System.InvalidOperationException' in MPServiceHostLib.dll
FrontEnd Error: 0 : [- OnStart,WorkerRole.cs(68)] Exception on startup: System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
at Microsoft.Rtc.MPService.Internal.MPServiceHostMonitor.EndInitialize(IAsyncResult result)
at Microsoft.Rtc.MPService.Internal.MPAzureAppHost.Start(String publicServiceUri, Int32 localPort, X509Certificate2 certificate, GetTrustedServersDelegate getTrustedServersDelegate, String alternateConfigFilePath)
at Microsoft.Rtc.MPService.Internal.MPAzureAppHost.Initialize(String publicRoleInstanceFQDN, Int32 publicRoleInstancePort, Int32 localPort, X509Certificate2 certificate, MPServiceEventDelegate eventDelegate, GetTrustedServersDelegate getTrustedServersDelegate, String alternateConfigFilePath)
at Microsoft.Skype.Internal.Bots.Media.InternalMediaPlatform.Initialize(MediaPlatformSettings settings, IConfigurationManager configurationManager, ILogger logger, Boolean isTest)
at Microsoft.Skype.Bots.Media.MediaPlatform.Initialize(MediaPlatformSettings settings)
at FrontEnd.Service.Initialize(IConfiguration config) in C:\Users\timrang\Source\Repos\BotBuilder-RealTimeMediaCalling\Samples\HueBot\FrontEnd\Service.cs:line 49
at WorkerRole.WorkerRole.OnStart() in C:\Users\timrang\Source\Repos\BotBuilder-RealTimeMediaCalling\Samples\HueBot\WorkerRole\WorkerRole.cs:line 57
Exception thrown: 'System.InvalidOperationException' in WorkerRole.dll
Just trying to build and deploy the HueBot sample, I'm failing to deploy and run in the emulator. I'm getting an exception out of the WorkerRole at OnStart related to MPServiceHostLib.dll. Exception info is below. I don't think I have changed anything that would have broken it so I'm at a loss. Any ideas what I'm missing?
Exception thrown: 'System.InvalidOperationException' in MPServiceHostLib.dll
FrontEnd Error: 0 : [- OnStart,WorkerRole.cs(68)] Exception on startup: System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
at Microsoft.Rtc.MPService.Internal.MPServiceHostMonitor.EndInitialize(IAsyncResult result)
at Microsoft.Rtc.MPService.Internal.MPAzureAppHost.Start(String publicServiceUri, Int32 localPort, X509Certificate2 certificate, GetTrustedServersDelegate getTrustedServersDelegate, String alternateConfigFilePath)
at Microsoft.Rtc.MPService.Internal.MPAzureAppHost.Initialize(String publicRoleInstanceFQDN, Int32 publicRoleInstancePort, Int32 localPort, X509Certificate2 certificate, MPServiceEventDelegate eventDelegate, GetTrustedServersDelegate getTrustedServersDelegate, String alternateConfigFilePath)
at Microsoft.Skype.Internal.Bots.Media.InternalMediaPlatform.Initialize(MediaPlatformSettings settings, IConfigurationManager configurationManager, ILogger logger, Boolean isTest)
at Microsoft.Skype.Bots.Media.MediaPlatform.Initialize(MediaPlatformSettings settings)
at FrontEnd.Service.Initialize(IConfiguration config) in C:\Users\timrang\Source\Repos\BotBuilder-RealTimeMediaCalling\Samples\HueBot\FrontEnd\Service.cs:line 49
at WorkerRole.WorkerRole.OnStart() in C:\Users\timrang\Source\Repos\BotBuilder-RealTimeMediaCalling\Samples\HueBot\WorkerRole\WorkerRole.cs:line 57
Exception thrown: 'System.InvalidOperationException' in WorkerRole.dll