question

VirtualOli-1982 avatar image
0 Votes"
VirtualOli-1982 asked XinGuo-MSFT answered

Virtual Machine Management SCVMM.exe service error 1067 - help

Hello,
I have just "inherited" new production servers and have big issue on one as the VMM console is failing with vmmservice.exe failing with error 1067. Terminated unexpectedly.

I've tried all I could to get it back to working but I'm not a VM specialist. I did do a extensive logman log file, but I have trouble understanding it, I include it here if any one would be so kind to help me spot the issue.

Many thanks

Results from log man:


------------------- Error Report -------------------


Error report created 5/3/2022 11:30:06 AM
CLR is not terminating


--------------- Bucketing Parameters ---------------


EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=10.19.2292.0
P3(assemblyName)=Utils.dll
P4(assemblyVer)=10.19.2292.0
P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader
P6(exceptionType)=System.AggregateException
P7(callstackHash)=18a7

SCVMM Version=10.19.2292.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=10.19.2292.0
Executable Name=vmmservice.exe
Executable Version=10.19.1013.0
Base Exception Target Site=140734141367280
Base Exception Assembly name=Utils.dll
Base Exception Method Name=Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader
Exception Message=One or more errors occurred.
EIP=0x00007fffaf249319
Build bit-size=64



------------ exceptionObject.ToString() ------------


System.AggregateException: One or more errors occurred. ---> Microsoft.VirtualManager.DB.CarmineSqlException: VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.
Use the Get-VMMServer cmdlet or the -VMMServer parameter to connect to a Virtual Machine Manager management server. For more information, type at the command prompt: Get-Help Get-VMMServer -detailed. ---> System.Data.SqlClient.SqlException: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
--- End of inner exception stack trace ---
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
at Microsoft.VirtualManager.Engine.IDListDBHelper.ParseObjectIDListFromSqlCmd(SqlRetryCommand cmd)
at Microsoft.VirtualManager.DB.ImageLibrary.ServiceTemplateDBAccess.GetAllIds(ConnectionProperties connectionProperties, IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadRefreshers(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.VirtualManager.Engine.VirtualManagerService.WaitForStartupTasks()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.ExecuteRealEngineStartup()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TryStart(Object stateInfo)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
---> (Inner Exception #0) Microsoft.VirtualManager.DB.CarmineSqlException: VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.
Use the Get-VMMServer cmdlet or the -VMMServer parameter to connect to a Virtual Machine Manager management server. For more information, type at the command prompt: Get-Help Get-VMMServer -detailed. ---> System.Data.SqlClient.SqlException: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
--- End of inner exception stack trace ---
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
at Microsoft.VirtualManager.Engine.IDListDBHelper.ParseObjectIDListFromSqlCmd(SqlRetryCommand cmd)
at Microsoft.VirtualManager.DB.ImageLibrary.ServiceTemplateDBAccess.GetAllIds(ConnectionProperties connectionProperties, IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadRefreshers(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
*** Carmine error was: NoActiveConnection (1615); SQLServer
[s#f2] SqlRetryCommand.InternalExecuteReader(this: (SqlRetryCommand#[a6]) { cmd = (SqlCommand#1604022) System.Data.SqlClient.SqlCommand, errorTitle = (string) "errorTitle", sqlContext = (SqlContext#[5]) { [rw] SqlContext.ConnectconstructionIdentity = (WindowsIdentity#1051fab) System.Security.Principal.WindowsIdentity commandList: { n=94 { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CPUPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskIOPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=NetworkPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskSpaceReserveMB)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MemoryReserveMB)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=OperationsManagerServer)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=PlacementGoal)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MemoryPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskIOPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CPUPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=NetworkPriority)", @5/3/2022 11:30:04 AM [+00:00:00.0156337] }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CEIPOptIn)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LibraryRefresherEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LibraryRefresherFrequency)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMRCAccessAccount)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMRCDefaultPort)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectDefaultPort)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedAgentVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedGuestAgentVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedHostAgentFunctionalLevel)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MACAddressRangeStart)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MACAddressRangeEnd)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMSubnetIDRangeStart)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMSubnetIDRangeEnd)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_VMM_GetVmmServerAgentIDAll()", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=UpgradeTime)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DKMEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=TopContainerName)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ContainerName)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AutomaticVirtualNetworkCreationEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AutomaticLogicalNetworkCreationEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LogicalNetworkMatchOption)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LogicalNetworkMatchOptionBackup)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ProductID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DatabaseVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=QFEDatabaseVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=SKUType)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectTokenTimeToLiveInMinutes)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHostIdentificationMode)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=KeyProtectionServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AttestationServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=FallbackKeyProtectionServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=FallbackAttestationServerUrl)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_WLC_GetAllSecureBootTemplates()", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=GlobalPortACL)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ShieldingUtilityVhdId)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_Host_GetRef()", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_HostCluster_GetAll()", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_HostCluster_Get(@ClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_Host_GetByClusterID(@HostClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetStoragePoolIdsByClusterId(@HostClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_HostGroupDOSettings_GetByHostGroupID(@HostGroupID=469cc168-fe8d-46d8-85e1-44c6840660e9)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_HostCluster_Get(@ClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Host_GetByClusterID(@HostClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetStoragePoolIdsByClusterId(@HostClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_HostGroupDOSettings_GetByHostGroupID(@HostGroupID=ed7103a0-5df4-44ca-8783-5319f2f8e46b)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetAll()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=7e2a6b8a-4f29-4b60-a28e-b022eb9371e5)", @5/3/2022 11:30:05 AM [+00:00:00.0156280] }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=7e2a6b8a-4f29-4b60-a28e-b022eb9371e5)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetVirtualizationSchemeByLibrary(@LibraryServerID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetVMNetworkIdsByLibraryId(@LibraryID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM [+00:00:00.0156279] }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=5e3f253c-f694-4002-a11c-3fe1d922af30)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=cf117e93-6dbe-4e26-8015-4d5ca558c3e3)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM [+00:00:00.0156323] }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @ObjectType=RunAsAccount, @TaskID=00000000-0000-0000-0000-000000000000, @ReqLockType=Read, @SubTaskID=00000000-0000-0000-0000-000000000000)", @5/3/2022 11:30:05 AM [+00:00:00.0156278] }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_ReleaseLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @TaskID=00000000-0000-0000-0000-000000000000, @LockType=Read)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=a8d6d61c-bdaf-430b-8e39-89289c833415)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=a8d6d61c-bdaf-430b-8e39-89289c833415)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetVirtualizationSchemeByLibrary(@LibraryServerID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetVMNetworkIdsByLibraryId(@LibraryID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=01336325-d3d5-4c86-9d41-74af24240a83)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=88caf09a-f085-4b41-8b08-da55003476e2)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @ObjectType=RunAsAccount, @TaskID=00000000-0000-0000-0000-000000000000, @ReqLockType=Read, @SubTaskID=00000000-0000-0000-0000-000000000000)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_ReleaseLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @TaskID=00000000-0000-0000-0000-000000000000, @LockType=Read)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetAllStorageProviders()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetAllStorageProviders()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_WLC_GetAllServiceInstances()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_WLC_GetAllServiceTemplateIDs()", @5/3/2022 11:30:05 AM } } , conn = (SqlConnection#1d21280) { State: Open Database: VirtualManagerDB DataSource: PRODVMM02 PacketSize: 8000 ServerVersion: 14.00.2037 StatisticsEnabled: False WorkstationId: PRODVMM02 } }, behavior = Default, failFast = (bool) False }, expectedDuration: (TimeSpan#23c34600) 00:01:00)
[s#d] SqlRetryCommand.ExecuteScalar(this: (SqlRetryCommand#[d]) { cmd = (SqlCommand#6b7dae) System.Data.SqlClient.SqlCommand, errorTitle = (string) "errorTitle", sqlContext = (SqlContext#[5]), behavior = Default, failFast = (bool) False }, expectedDuration: (TimeSpan#23c34600) 00:01:00, enablePerfLogging: (Boolean#1) True)
Full call stack from when the exception was thrown: at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
at Microsoft.VirtualManager.Engine.IDListDBHelper.ParseObjectIDListFromSqlCmd(SqlRetryCommand cmd)
at Microsoft.VirtualManager.DB.ImageLibrary.ServiceTemplateDBAccess.GetAllIds(ConnectionProperties connectionProperties, IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadRefreshers(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
--- SqlException details -----------------
System.Data.SqlClient.SqlException (0x80131904): Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
ClientConnectionId:a3b2b698-d93e-4c45-a233-13cdf809825d
Error Number:15517,State:1,Class:16
Error = 15517
Index #0
Source: .Net SqlClient Data Provider
Number: 15517
State: 1
Class: 16
Server: PRODVMM02
Message: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
Procedure: dbo.prc_WLC_GetAllServiceTemplateIDs
Line: 0
--- Caller StackTrace -----------------
FileName:; Method:InternalExecuteReader(); lineNo:0; ilOffset:204.
FileName:; Method:ParseObjectIDListFromSqlCmd(); lineNo:0; ilOffset:6.
FileName:; Method:GetAllIds(); lineNo:0; ilOffset:18.
FileName:; Method:LoadRefreshers(); lineNo:0; ilOffset:401.
FileName:; Method:Connect(); lineNo:0; ilOffset:31.
FileName:; Method:TimeStartupMethod(); lineNo:0; ilOffset:22.
FileName:; Method:Execute(); lineNo:0; ilOffset:16.
FileName:; Method:RunInternal(); lineNo:0; ilOffset:121.
FileName:; Method:Run(); lineNo:0; ilOffset:9.
FileName:; Method:ExecuteWithThreadLocal(); lineNo:0; ilOffset:225.
FileName:; Method:ExecuteEntry(); lineNo:0; ilOffset:150.
FileName:; Method:Dispatch(); lineNo:0; ilOffset:164.
<---



------------------- Scope Trace --------------------


[s#442] TaskRepository..ctor(this: (TaskRepository#[1]) { runningTasks = (SynchronizedDictionary`2<Guid, ITask>#2308f08) Microsoft.VirtualManager.Utils.SynchronizedDictionary`2[System.Guid,Microsoft.VirtualManager.Engine.TaskRepository.ITask], metaTasksByConnectionID = (SynchronizedDictionary`2<String, SynchronizedDictionary`2<Guid, List`1<SubtaskBase>>>#1f9f46) Microsoft.VirtualManager.Utils.SynchronizedDictionary`2[System.String,Microsoft.VirtualManager.Utils.SynchronizedDictionary`2[System.Guid,System.Collections.Generic.List`1[Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase]]] }) in f:\btvsts\60481\private\product\engine\TaskRepository\TaskRepository.cs:line 184


-------- exception.InnerException.ToString() -------
Microsoft.VirtualManager.DB.CarmineSqlException: VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.
Use the Get-VMMServer cmdlet or the -VMMServer parameter to connect to a Virtual Machine Manager management server. For more information, type at the command prompt: Get-Help Get-VMMServer -detailed. ---> System.Data.SqlClient.SqlException: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
--- End of inner exception stack trace ---
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
at Microsoft.VirtualManager.Engine.IDListDBHelper.ParseObjectIDListFromSqlCmd(SqlRetryCommand cmd)
at Microsoft.VirtualManager.DB.ImageLibrary.ServiceTemplateDBAccess.GetAllIds(ConnectionProperties connectionProperties, IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadRefreshers(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
*** Carmine error was: NoActiveConnection (1615); SQLServer
[s#f2] SqlRetryCommand.InternalExecuteReader(this: (SqlRetryCommand#[a6]) { cmd = (SqlCommand#1604022) System.Data.SqlClient.SqlCommand, errorTitle = (string) "errorTitle", sqlContext = (SqlContext#[5]) { [rw] SqlContext.ConnectconstructionIdentity = (WindowsIdentity#1051fab) System.Security.Principal.WindowsIdentity commandList: { n=94 { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CPUPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskIOPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=NetworkPercentageReserve)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskSpaceReserveMB)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MemoryReserveMB)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=OperationsManagerServer)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=PlacementGoal)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MemoryPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DiskIOPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CPUPriority)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=NetworkPriority)", @5/3/2022 11:30:04 AM [+00:00:00.0156337] }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=CEIPOptIn)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LibraryRefresherEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LibraryRefresherFrequency)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMRCAccessAccount)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMRCDefaultPort)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectDefaultPort)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedAgentVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedGuestAgentVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MinimumSupportedHostAgentFunctionalLevel)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MACAddressRangeStart)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=MACAddressRangeEnd)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMSubnetIDRangeStart)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMSubnetIDRangeEnd)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_VMM_GetVmmServerAgentIDAll()", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=UpgradeTime)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DKMEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=TopContainerName)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ContainerName)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AutomaticVirtualNetworkCreationEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AutomaticLogicalNetworkCreationEnabled)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LogicalNetworkMatchOption)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=LogicalNetworkMatchOptionBackup)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ProductID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=DatabaseVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=QFEDatabaseVersion)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=SKUType)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectGatewayCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHyperVCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateID)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateThumbprint)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectNCCertificateSubject)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectTokenTimeToLiveInMinutes)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=VMConnectHostIdentificationMode)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=KeyProtectionServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=AttestationServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=FallbackKeyProtectionServerUrl)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=FallbackAttestationServerUrl)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_WLC_GetAllSecureBootTemplates()", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=GlobalPortACL)", @5/3/2022 11:30:04 AM }, { S:"dbo.prc_VM_GetGlobalProperty(@PropertyName=ShieldingUtilityVhdId)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_Host_GetRef()", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_HostCluster_GetAll()", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_HostCluster_Get(@ClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:04 AM }, { Q:"dbo.prc_ADHC_Host_GetByClusterID(@HostClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetStoragePoolIdsByClusterId(@HostClusterID=e0a6b7e4-8766-4422-8051-26e4b52b6779)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_HostGroupDOSettings_GetByHostGroupID(@HostGroupID=469cc168-fe8d-46d8-85e1-44c6840660e9)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_HostCluster_Get(@ClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Host_GetByClusterID(@HostClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_CustomPropertyValue_GetCPValIDByObjID(ObjectID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetStoragePoolIdsByClusterId(@HostClusterID=c9680805-218c-41ba-8397-4544d69e49bb)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_BTBS_HostGroupDOSettings_GetByHostGroupID(@HostGroupID=ed7103a0-5df4-44ca-8783-5319f2f8e46b)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetAll()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=7e2a6b8a-4f29-4b60-a28e-b022eb9371e5)", @5/3/2022 11:30:05 AM [+00:00:00.0156280] }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=7e2a6b8a-4f29-4b60-a28e-b022eb9371e5)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetVirtualizationSchemeByLibrary(@LibraryServerID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetVMNetworkIdsByLibraryId(@LibraryID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM [+00:00:00.0156279] }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=5e3f253c-f694-4002-a11c-3fe1d922af30)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=cf117e93-6dbe-4e26-8015-4d5ca558c3e3)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=5dda9be9-7700-482c-80c1-1bedd2c773b3)", @5/3/2022 11:30:05 AM [+00:00:00.0156323] }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @ObjectType=RunAsAccount, @TaskID=00000000-0000-0000-0000-000000000000, @ReqLockType=Read, @SubTaskID=00000000-0000-0000-0000-000000000000)", @5/3/2022 11:30:05 AM [+00:00:00.0156278] }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_ReleaseLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @TaskID=00000000-0000-0000-0000-000000000000, @LockType=Read)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServer_Get(@AgentServerID=a8d6d61c-bdaf-430b-8e39-89289c833415)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetByAgent(@AgentServerID=a8d6d61c-bdaf-430b-8e39-89289c833415)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_AgentServerRelation_GetVirtualizationSchemeByLibrary(@LibraryServerID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ADHC_Library_GetVMNetworkIdsByLibraryId(@LibraryID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=01336325-d3d5-4c86-9d41-74af24240a83)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_NetMan_VMNetwork_GetByID(@ID=88caf09a-f085-4b41-8b08-da55003476e2)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountConsumer(RunAsAccountID=, ObjectID=ea1c825d-2b3f-479b-b550-2b446c61037e)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_AcquireLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @ObjectType=RunAsAccount, @TaskID=00000000-0000-0000-0000-000000000000, @ReqLockType=Read, @SubTaskID=00000000-0000-0000-0000-000000000000)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_GetRunAsAccountById(RunAsAccountID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_RBS_UserRoleSharedObjectRelation_GetSharedListForObject(ObjectID=7924f851-b669-49b2-a764-fe78fc16baba)", @5/3/2022 11:30:05 AM }, { NQ:"dbo.prc_VMM_ReleaseLock(@ObjectID=7924f851-b669-49b2-a764-fe78fc16baba, @TaskID=00000000-0000-0000-0000-000000000000, @LockType=Read)", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetAllStorageProviders()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_ST_GetAllStorageProviders()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_WLC_GetAllServiceInstances()", @5/3/2022 11:30:05 AM }, { Q:"dbo.prc_WLC_GetAllServiceTemplateIDs()", @5/3/2022 11:30:05 AM } } , conn = (SqlConnection#1d21280) { State: Open Database: VirtualManagerDB DataSource: PRODVMM02 PacketSize: 8000 ServerVersion: 14.00.2037 StatisticsEnabled: False WorkstationId: PRODVMM02 } }, behavior = Default, failFast = (bool) False }, expectedDuration: (TimeSpan#23c34600) 00:01:00)
[s#d] SqlRetryCommand.ExecuteScalar(this: (SqlRetryCommand#[d]) { cmd = (SqlCommand#6b7dae) System.Data.SqlClient.SqlCommand, errorTitle = (string) "errorTitle", sqlContext = (SqlContext#[5]), behavior = Default, failFast = (bool) False }, expectedDuration: (TimeSpan#23c34600) 00:01:00, enablePerfLogging: (Boolean#1) True)
Full call stack from when the exception was thrown: at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
at Microsoft.VirtualManager.Engine.IDListDBHelper.ParseObjectIDListFromSqlCmd(SqlRetryCommand cmd)
at Microsoft.VirtualManager.DB.ImageLibrary.ServiceTemplateDBAccess.GetAllIds(ConnectionProperties connectionProperties, IVmmDbContext ctx)
at Microsoft.VirtualManager.Engine.VirtualManagerService.LoadRefreshers(IVmmDbConnection dbConnection)
at Microsoft.VirtualManager.DB.SqlContext.Connect(Action`1 action)
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
--- SqlException details -----------------
System.Data.SqlClient.SqlException (0x80131904): Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
ClientConnectionId:a3b2b698-d93e-4c45-a233-13cdf809825d
Error Number:15517,State:1,Class:16
Error = 15517
Index #0
Source: .Net SqlClient Data Provider
Number: 15517
State: 1
Class: 16
Server: PRODVMM02
Message: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
Procedure: dbo.prc_WLC_GetAllServiceTemplateIDs
Line: 0
--- Caller StackTrace -----------------
FileName:; Method:InternalExecuteReader(); lineNo:0; ilOffset:204.
FileName:; Method:ParseObjectIDListFromSqlCmd(); lineNo:0; ilOffset:6.
FileName:; Method:GetAllIds(); lineNo:0; ilOffset:18.
FileName:; Method:LoadRefreshers(); lineNo:0; ilOffset:401.
FileName:; Method:Connect(); lineNo:0; ilOffset:31.
FileName:; Method:TimeStartupMethod(); lineNo:0; ilOffset:22.
FileName:; Method:Execute(); lineNo:0; ilOffset:16.
FileName:; Method:RunInternal(); lineNo:0; ilOffset:121.
FileName:; Method:Run(); lineNo:0; ilOffset:9.
FileName:; Method:ExecuteWithThreadLocal(); lineNo:0; ilOffset:225.
FileName:; Method:ExecuteEntry(); lineNo:0; ilOffset:150.
FileName:; Method:Dispatch(); lineNo:0; ilOffset:164.


-------- exception.InnerException.ToString() -------
System.Data.SqlClient.SqlException (0x80131904): Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.VirtualManager.DB.SqlRetryCommand.InternalExecuteReader(TimeSpan expectedDuration)
ClientConnectionId:a3b2b698-d93e-4c45-a233-13cdf809825d
Error Number:15517,State:1,Class:16


-------- exception.InnerException.Data --------
HelpLink.ProdName = Microsoft SQL Server

HelpLink.ProdVer = 14.00.2037

HelpLink.EvtSrc = MSSQLServer

HelpLink.EvtID = 15517

HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink

HelpLink.LinkId = 20476



--------------- exception.StackTrace ---------------


at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.VirtualManager.Engine.VirtualManagerService.WaitForStartupTasks()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.ExecuteRealEngineStartup()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TryStart(Object stateInfo)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()



------------- StackTrace from handler --------------


This is the call stack from where the exception was caught, not where it was thrown.
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
at Microsoft.VirtualManager.Engine.VirtualManagerService.ReportUnhandledException(Exception unhandledException)
at Microsoft.VirtualManager.Engine.VirtualManagerService.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
at Microsoft.VirtualManager.Engine.VirtualManagerService.WaitForStartupTasks()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.ExecuteRealEngineStartup()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TryStart(Object stateInfo)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()



-------------------- Assemblies --------------------


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Version=4.7.3875.0
BuildType=retail
Product=Microsoft® .NET Framework

VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\vmmservice.exe
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\vmmservice.exe
Version=10.19.1013.0
BuildType=retail
Product=System Center Virtual Machine Manager

System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0_b03f5f7f11d50a3a\System.ServiceProcess.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0
_b03f5f7f11d50a3a\System.ServiceProcess.dll
Version=4.7.3190.0
BuildType=retail
Product=Microsoft® .NET Framework

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0_b77a5c561934e089\System.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0
_b77a5c561934e089\System.dll
Version=4.7.3640.0
BuildType=retail
Product=Microsoft® .NET Framework

TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\TraceWrapper.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\TraceWrapper.dll
Version=10.19.1013.0
BuildType=retail
Product=System Center Virtual Machine Manager

Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Utils.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Utils.dll
Version=10.19.2292.0
BuildType=retail
Product=System Center Virtual Machine Manager

NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\NativeMethods.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\NativeMethods.dll
Version=10.19.2292.0
BuildType=retail
Product=System Center Virtual Machine Manager

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0_b77a5c561934e089\System.Core.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0
_b77a5c561934e089\System.Core.dll
Version=4.7.3895.0
BuildType=retail
Product=Microsoft® .NET Framework

Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Version=10.19.2292.0
BuildType=retail
Product=System Center Virtual Machine Manager

Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Engine.Common.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Engine.Common.dll
Version=10.19.2292.0
BuildType=retail
Product=System Center Virtual Machine Manager

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0_b03f5f7f11d50a3a\System.Configuration.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0
_b03f5f7f11d50a3a\System.Configuration.dll
Version=4.7.3630.0
BuildType=retail
Product=Microsoft® .NET Framework

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0_b77a5c561934e089\System.Xml.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0
_b77a5c561934e089\System.Xml.dll
Version=4.7.3190.0
BuildType=retail
Product=Microsoft® .NET Framework

Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Errors.dll
Module=C:\Program Files\Microsoft System Center\Virtual Machine Manager\Bin\Errors.dll
Version=10.19.2292.0
BuildType=retail
Product=System Center Virtual Machine Manager

System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0_b77a5c561934e089\System.Data.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0
_b77a5c561934e089\System.Data.dll
Version=4.7.3895.0
Product=Microsoft® .NET Framework

System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0_b77a5c561934e089\System.Transactions.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0
_b77a5c561934e089\System.Transactions.dll
Version=4.7.3260.0
Product=Microsoft® .NET Framework

System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0_b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0
b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0
_b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
Version=4.7.3190.0
BuildType=retail
Product=Microsoft® .NET Framework

Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0_b03f5f7f11d50a3a\Microsoft.CSharp.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0
_b03f5f7f11d50a3a\Microsoft.CSharp.dll
Version=4.7.3190.0
BuildType=retail
Product=Microsoft® .NET Framework

System.Dynamic, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0_b03f5f7f11d50a3a\System.Dynamic.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0
_b03f5f7f11d50a3a\System.Dynamic.dll
Version=4.7.3190.0
BuildType=retail
Product=Microsoft® .NET Framework




--------- Extra Data for Watson Report -------------


Error Reporting Enabled=True

Extra Data
Process ID = 4328 (0x10e8)
Managed Thread ID = 17
Native Thread ID = 756 (0x02f4)

msc-virtual-machine-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XinGuo-MSFT avatar image
0 Votes"
XinGuo-MSFT answered

Hi,

System.AggregateException: One or more errors occurred. ---> Microsoft.VirtualManager.DB.CarmineSqlException: VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

VMM is unable to perform this operation without a connection to a Virtual Machine Manager management server.

System.Data.SqlClient.SqlException: Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.

Please check the SQL Server services and communication from VMM Server, VMM database properties to confirm that the current user has the appropriate permissions.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.