System.InvalidOperationException: Service ServiceRegistryProvider was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GenerateNames() at System.ServiceProcess.ServiceController.get_DisplayName() at Microsoft.WindowsServerSolutions.Common.ServiceUtility.GetDisplayName(String serviceName) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfigurator.LogServiceStartFailure(String serviceName, String info) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.ServiceShell.OpenHost() at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(String[] args) Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(System.String[])

Server Fault | Ptier | 3 years ago
  1. 0

    Windows SBS 2011 Dashboard + Windows Server * Services will not start due to Windows Server Service Provider Registry service

    Server Fault | 3 years ago | Ptier
    System.InvalidOperationException: Service ServiceRegistryProvider was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GenerateNames() at System.ServiceProcess.ServiceController.get_DisplayName() at Microsoft.WindowsServerSolutions.Common.ServiceUtility.GetDisplayName(String serviceName) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfigurator.LogServiceStartFailure(String serviceName, String info) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.ServiceShell.OpenHost() at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(String[] args) Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(System.String[])
  2. 0

    Collection was modified; enumeration operation may not execute.

    YouTrack | 10 years ago
    System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNext() at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 76 at JetBrains.ReSharper.ProjectModel.ProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 26 at JetBrains.ReSharper.ProjectModel.Impl.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectFolderImpl.cs:line 337 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 77 at JetBrains.ReSharper.ProjectModel.ProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 26 at JetBrains.ReSharper.ProjectModel.Impl.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectFolderImpl.cs:line 337 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 77 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProject(IProject project) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 82 at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectImpl.cs:line 169 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitSolution(ISolution solution) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 71 at JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.Accept(ProjectVisitor visitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\SolutionBase.cs:line 133 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.LoadCacheJob.EnqueueProjectItems() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheManagerImpl.cs:line 237 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.LoadCacheJob.Do() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheManagerImpl.cs:line 231 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheUpdateThread.cs:line 91 --- End of inner exception stack trace --- at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\BuildAgent\work\Server\ReSharper-Main\src\Util\src\Logger.cs:line 350 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\BuildAgent\work\Server\ReSharper-Main\src\Util\src\Logger.cs:line 362 column 5 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheUpdateThread.cs:line 95 column 11
  3. 0

    Collection was modified; enumeration operation may not execute.

    YouTrack | 10 years ago
    System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNext() at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 76 at JetBrains.ReSharper.ProjectModel.ProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 26 at JetBrains.ReSharper.ProjectModel.Impl.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectFolderImpl.cs:line 337 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 77 at JetBrains.ReSharper.ProjectModel.ProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 26 at JetBrains.ReSharper.ProjectModel.Impl.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectFolderImpl.cs:line 337 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 77 at JetBrains.ReSharper.ProjectModel.ProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 26 at JetBrains.ReSharper.ProjectModel.Impl.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectFolderImpl.cs:line 337 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem projectItem) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 77 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProject(IProject project) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 82 at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Accept(ProjectVisitor projectVisitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\ProjectImpl.cs:line 169 at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitSolution(ISolution solution) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\ProjectVisitor.cs:line 71 at JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.Accept(ProjectVisitor visitor) in c:\BuildAgent\work\Server\ReSharper-Main\src\ProjectModel\src\impl\SolutionBase.cs:line 133 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.LoadCacheJob.EnqueueProjectItems() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheManagerImpl.cs:line 237 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.LoadCacheJob.Do() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheManagerImpl.cs:line 231 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheUpdateThread.cs:line 91 --- End of inner exception stack trace --- at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\BuildAgent\work\Server\ReSharper-Main\src\Util\src\Logger.cs:line 350 column 9 at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\BuildAgent\work\Server\ReSharper-Main\src\Util\src\Logger.cs:line 362 column 5 at JetBrains.ReSharper.Psi.Impl.Caches2.CacheUpdateThread.Run() in c:\BuildAgent\work\Server\ReSharper-Main\src\Psi\src\impl\caches2\CacheUpdateThread.cs:line 95 column 11
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Local functions: Ctrl + . on a delegate invocation crashes VS (via Extract Method)

    GitHub | 10 months ago | balajikris
    System.InvalidOperationException: Shouldn't reach here at Roslyn.Utilities.Contract.FailWithReturn[T](String message) at Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.Analyzer.GetSymbolType(SemanticModel model, ISymbol symbol) at Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.Analyzer.GenerateVariableInfoMap(SemanticModel model, DataFlowAnalysis dataFlowAnalysisData, Dictionary`2 symbolMap) at Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.Analyzer.<AnalyzeAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.ExtractMethod.MethodExtractor.<ExtractMethodAsync>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.ExtractMethod.AbstractExtractMethodService`3.<ExtractMethodAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.CodeRefactorings.ExtractMethod.AbstractExtractMethodCodeRefactoringProvider.<GetCodeActionAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.CodeRefactorings.ExtractMethod.AbstractExtractMethodCodeRefactoringProvider.<ComputeRefactoringsAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<GetRefactoringFromProviderAsync>d__8.MoveNext() Stack: at System.Environment.FailFast(System.String, System.Exception)
  6. 0

    GitHub comment 286#241332099

    GitHub | 3 months ago | janpieterz
    System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. at System.Data.Common.ADP.ExceptionWithStackTrace(Exception e) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NServiceBus.Transport.SQLServer.SqlConnectionFactory.<>c__DisplayClass2_0.<<Default>b__0>d.MoveNext() in C:\Build\src\NServiceBus.SqlServer\Configuration\SqlConnectionFactory.cs:line 31 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NServiceBus.Transport.SQLServer.ReceiveWithNativeTransaction.<ReceiveMessage>d__1.MoveNext() in C:\Build\src\NServiceBus.SqlServer\Receiving\ReceiveWithNativeTransaction.cs:line 56 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at NServiceBus.Transport.SQLServer.MessagePump.<InnerReceive>d__6.MoveNext() in C:\Build\src\NServiceBus.SqlServer\Receiving\MessagePump.cs:line 153 ``` Windows event log: ``` Application: NServiceBus.Host.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: The following critical error was encountered by NServiceBus:NServiceBus is shutting down. Stack:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. System.InvalidOperationException

      Service ServiceRegistryProvider was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GenerateNames() at System.ServiceProcess.ServiceController.get_DisplayName() at Microsoft.WindowsServerSolutions.Common.ServiceUtility.GetDisplayName(String serviceName) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfigurator.LogServiceStartFailure(String serviceName, String info) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.ServiceShell.OpenHost() at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(String[] args) Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(System.String[])

      at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback()
    2. System.ServiceProcess
      ServiceBase.ServiceQueuedMainCallback
      1. System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)
      1 frame