Catch database failure exception

Hello,
i would like catch INSERT and UPDATE exception when it do some database error.
If i use WHEN OTHERS i catch all exceptio ( i think database error too ), but i want to catch only database errors. How i can do?
thanks!!!

Does a "numeric or value error" when inserting a too large value into a table column count as a database error?
As the first person in the history of the world ever to want to do this, it perhaps would help if you explained why?

Similar Messages

  • Catching Database Control Exceptions...

    I would like to catch exceptions generated when the database control loses connection to its data source.
    At the moment, the database control is part of a java control, which in turn is exposed as a web service. When the connection to the database (on a different server) is disconnected during use, a SOAP Fault is returned to the clients when further calls are made.
    The plan is to catch these non-descript errors and exceptions so that I can return a custom SOAP message that is not necessarily a Fault.
    Any ideas?

    namespace "Eg" is missing from the below nodes
    the elements should look something like this
    <Eg:faultMessage name="faultMessage" xmlns:Eg="namespace uri">
    <Eg:message>Operation + Key [EgOperation] is not supported.</Eg:message>
    </Eg:faultMessage>

  • Database Error (maybe) while working on User-Role or Assiging a Cloud (Unable to connect to the VMM database because of a general database failure)

    Hi,
    Suddenly I got this error in SCVMM 2012-R2 Roll-up 1:
    When working with User-Roles (create/update) or assigning a Cloud :
    "VMM encountered a critical exception and created an exception report....
    search user forums for well-known failure root causes for self-help" (how sweet)... (if it's "well known", why not coding the exception handling correctly?)
    The relevant part of the report might be this:
    "SCVMM Version=3.2.7620.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7620.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7510.0
    Base Exception Target Site=140717670746840
    Base Exception Assembly name=System.Data.dll
    Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
    Exception Message=Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again."
    (side question: what does this mean: "Ensure that the SQL Server is ... configured correctly"?
    I can say that :
    SQL is configured by the book, that all services are running (did a reboot of VMM server too) and that all other VMM functions work OK. I don't believe that SQL is only used for user-roles...
    Acting as Domain admin and VMM admin.
    All updates are installed.
    Please find the report @the and and a screen shot attached.
    Thanks for any help.
    Report.txt:
    ------------------- Error Report -------------------
    Error report created 03.04.2014 15:07:56
    CLR is not terminating
    --------------- Bucketing Parameters ---------------
    EventType=VMM20
    P1(appName)=vmmservice.exe
    P2(appVersion)=3.2.7620.0
    P3(assemblyName)=Utils.dll
    P4(assemblyVer)=3.2.7620.0
    P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
    P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
    P7(callstackHash)=4c11
    SCVMM Version=3.2.7620.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7620.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7510.0
    Base Exception Target Site=140717670746840
    Base Exception Assembly name=System.Data.dll
    Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
    Exception Message=Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again.
    EIP=0x00007ffb74c75a88
    Build bit-size=64
    ------------ exceptionObject.ToString() ------------
    Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       --- End of inner exception stack trace ---
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    *** Carmine error was: DatabaseFailure (2605); SQLServer; 8144
    [s#5cf2] ExecuteNonQuery()
    [s#5c38] Task`1.SubtaskRun(this: (Task`1#b), TaskID: (guid) 0e1c3e3d-76de-4d8b-bfc2-cbcc400fadf4)
    Full call stack from when the exception was thrown:   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at Microsoft.VirtualManager.DB.CarmineSqlException..ctor(SqlException sqlException)
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
       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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    --- SqlException details -----------------
    System.Data.SqlClient.SqlException (0x80131904): Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:b85c83f3-e87d-4ec4-af12-41b4dd6ad8cb
     Error = 8144
    Index #0
    Source: .Net SqlClient Data Provider
    Number: 8144
    State: 2
    Class: 16
    Server: localhost\SCVMM
    Message: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
    Procedure: prc_RBS_UserRoleSharedObjectRelation_Insert
    Line: 0
    --- Caller StackTrace -----------------
    FileName:; Method:ExecuteNonQuery(); lineNo:0; ilOffset:178.
    FileName:; Method:<AddObjectSharingData>b__14(); lineNo:0; ilOffset:12.
    FileName:; Method:<HandleInsertErrors>b__3(); lineNo:0; ilOffset:11.
    FileName:; Method:HandleInsertErrors(); lineNo:0; ilOffset:6.
    FileName:; Method:AddObjectSharingData(); lineNo:0; ilOffset:312.
    FileName:; Method:AddSharingData(); lineNo:0; ilOffset:23.
    FileName:; Method:AddResourceSharing(); lineNo:0; ilOffset:464.
    FileName:; Method:RunSharingSubTask(); lineNo:0; ilOffset:49.
    FileName:; Method:RunSubtask(); lineNo:0; ilOffset:23.
    FileName:; Method:Run(); lineNo:0; ilOffset:354.
    FileName:; Method:RunNewAndSetUserRoleSubtasks(); lineNo:0; ilOffset:166.
    FileName:; Method:RunSubtask(); lineNo:0; ilOffset:140.
    FileName:; Method:Run(); lineNo:0; ilOffset:354.
    FileName:; Method:SubtaskRun(); lineNo:0; ilOffset:221.
    FileName:; Method:RunInternal(); lineNo:0; ilOffset:112.
    FileName:; Method:Run(); lineNo:0; ilOffset:4.
    FileName:; Method:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem(); lineNo:0; ilOffset:0.
    FileName:; Method:Dispatch(); lineNo:0; ilOffset:162.
    -------- exception.InnerException.ToString() -------
    System.Data.SqlClient.SqlException (0x80131904): Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:b85c83f3-e87d-4ec4-af12-41b4dd6ad8cb
    --------------- exception.StackTrace ---------------
    at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
       at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
       at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    ------------- 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.TaskRepository.Task`1.SubtaskRun(Object state)
       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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    -------------------- 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.0.30319.34011
        BuildType=retail
        Product=Microsoft® .NET Framework
    VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        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.0.30319.34003
        BuildType=retail
        Product=Microsoft® .NET Framework
    TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    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.0.30319.33440
        Product=Microsoft® .NET Framework
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Version=6.3.9600.16394
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
    Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Version=6.3.9600.16384
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    WSManAutomation, Version=3.2.7510.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
    wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    DB.DelegatedAdmin, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
        Version=3.2.7620.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    DB.TieredPerfCounters, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.PhysicalMachine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
        Version=3.2.7515.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.UpdateManagement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.RunAs, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.DB.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    --------- Extra Data for Watson Report -------------
    Error Reporting Enabled=True
    *** Extra Data ***
    Process ID = 1500 (0x05dc)
    Managed Thread ID = 25
    Native Thread ID = 1260 (0x04ec)
    Thomas.

    I (quite honestly) am one of those folks that generally do not read the KB articles associated with a patch or UR or SP - as you don't expect details like have been put into this particular one.
    But as Kristian pointed out - within that KB article is the SQL script that modifies / updates this SQL Stored Procedure.
    http://blogs.technet.com/b/scvmm/archive/2014/01/29/how-to-update-scvmm-2012-r2-to-update-rollup-1.aspx
    Needless to say, the feedback was given to MSFT that folks would overlook that this SQL script needed to be run.  So we are just trying to help out.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • BAPI_DOCUMENT_CREATE2 throws communication failure exception

    Hello to all,
    I want to upload a file in WebDynpro ABAP by placing a service call to BAPI_DOCUMENT_CREATE2.
    But i am getting "communication failure" exception. Request your help on this issue.
    <b>(RFC Exception COMMUNICATION_FAILURE with Message RFC destination Create document does not exist. Occurred)</b>
    Code for this service call is as follows :-
    METHOD EXECUTE2_BAPI_DOCUMENT_CREATE2 .
    DATA: ls_doc    typE bapi_doc_draw2,
          ls_return typE bapiret2.
        key fields of the document
    DATA: lf_doctype    typE bapi_doc_draw2-documenttype,
          lf_docnumber  typE bapi_doc_draw2-documentnumber,
          lf_docpart    typE bapi_doc_draw2-documenttype,
          lf_docversion typE bapi_doc_draw2-documenttype.
    **.... Originals that are checked in simultaneously
    DATA: "lt_files typE bapi_doc_files2 OCCURS 0 WITH HEADER LINE,
          lt_files type standard table of bapi_doc_files2,
          wa_lt_files like line of lt_files,
    **.... Short texts
          lt_drat  typE standard table of bapi_doc_drat,
          wa_lt_drat like line of lt_drat,
    **.... Object links
         "lt_drad  typE bapi_doc_drad OCCURS 0 WITH HEADER LINE.
         lt_drad  typE standard table of bapi_doc_drad,
         wa_lt_drad like line of lt_drad.
    Allocate document data
    ls_doc-documenttype    = 'DRW'.
    ls_doc-documentnumber  = '4711'.
    ls_doc-documentversion = '00'.
    ls_doc-documentpart    = '000'.
    ls_doc-statusextern   = 'AF'.
    ls_doc-laboratory     = '001'.
    Check in original 1 simultaneously in the SAP Database
    REFRESH lt_files.
    CLEAR lt_files.
    wa_lt_files-storagecategory = 'DMS_C1_ST'.
    wa_lt_files-docfile      = 'c:\original_acy.txt'.
    wa_lt_files-wsapplication = 'TXT'.
    APPEND wa_lt_files to lt_files.
    declarations for context navigation
      DATA lo_element TYPE REF TO if_wd_context_element.
      DATA lt_elements TYPE wdr_context_element_set.
    declarations for parameters
    get all involved child nodes
    get input from context
    the invocation - errors are always fatal !!!
      DATA lv_rfc_error   TYPE c LENGTH 120.
      DATA lv_rfc_message TYPE string.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
        DESTINATION  'Create document'
        EXPORTING
           documentdata =                    ls_doc
    "      hostname =                        wd_this->hostname
    "      docbomchangenumber =              wd_this->docbomchangenumber
    "      docbomvalidfrom =                 wd_this->docbomvalidfrom
    "      docbomrevisionlevel =             wd_this->docbomrevisionlevel
    "      cad_mode =                        wd_this->cad_mode
    "      pf_ftp_dest =                     wd_this->pf_ftp_dest
          pf_http_dest =                    'SAPHTTPA'
       IMPORTING
          documenttype =                    lf_doctype
          documentnumber =                  lf_docnumber
          documentpart =                    lf_docpart
          documentversion =                 lf_docversion
          return =                          ls_return
       TABLES
    "      characteristicvalues =
    "      classallocations =
          documentdescriptions = lt_drat
          objectlinks = lt_drad
    "      documentstructure =
          documentfiles = lt_files
    "      longtexts =
    "      components =
        EXCEPTIONS
          system_failure =                    1   MESSAGE    lv_rfc_error
          communication_failure =             2   MESSAGE    lv_rfc_error.
    error handling
      CASE sy-subrc.
        WHEN  1.
          lv_rfc_message = lv_rfc_error.
          RAISE EXCEPTION TYPE cx_wd_no_handler
            EXPORTING
              textid        = cx_wd_no_handler=>kind_rfc
              old_exception = `SYSTEM_FAILURE`
              rfc_message   = lv_rfc_message.
        WHEN  2.
          lv_rfc_message = lv_rfc_error.
          RAISE EXCEPTION TYPE cx_wd_no_handler
            EXPORTING
              textid        = cx_wd_no_handler=>kind_rfc
              old_exception = `COMMUNICATION_FAILURE`
              rfc_message   = lv_rfc_message.
      ENDCASE.
    store output to context
    ENDMETHOD.

    Hi Abhishek,
    This link may be helpful for you
    Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2)
    Regards
    Fahad Hamsa

  • General Database failure - Urgent assistance needed

    I've have the following error report:
    ------------------- Error Report -------------------
    Error report created 1/1/2014 10:15:52 PM
    CLR is not terminating
    --------------- Bucketing Parameters ---------------
    EventType=VMM20
    P1(appName)=vmmservice.exe
    P2(appVersion)=3.2.7510.0
    P3(assemblyName)=Utils.dll
    P4(assemblyVer)=3.2.7510.0
    P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
    P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
    P7(callstackHash)=e796
    SCVMM Version=3.2.7510.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7510.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7510.0
    Base Exception Target Site=140710978931416
    Base Exception Assembly name=System.Data.dll
    Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
    Exception Message=Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again.
    EIP=0x00007ff9e45bab78
    Build bit-size=64
    ------------ exceptionObject.ToString() ------------
    Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "fk__ADHC_HostDisk__ADHC_ClusterDisk". The conflict
    occurred
    The statement has been terminated.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       --- End of inner exception stack trace ---
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.InsertIntoDB(HostDiskData data, SqlContext ctx)
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.CreateInstance(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.DB.Adhc.Host.CreateHostDisk(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.<>c__DisplayClassb.<UpdateDiskAndVolumeInfo>b__6(HostDiskData d, SqlContext ctx)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDbObjects[TObj,TObjData](List`1 existing, List`1 fresh, ObjectDataComparer`2 isEqual, NewObjectCreator`2 createNew, SqlContext ctx, Guid taskID, Boolean deleteNonExisting, Boolean
    ignoreDeleteErrors, List`1 skipExistingOnDelete)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDiskAndVolumeInfo(Host host, List`1 existingDisks, List`1 refreshedDisks, List`1 existingVolumes, List`1 refreshedVolumes, Dictionary`2 volumeToDiskMap, CarmineObjectType serverType,
    Guid serverId, Nullable`1 hostGroupId, Guid taskID, SqlContext context, Boolean deleteNonExisting, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.UpdateDb(HostClusterProperties refresher, HostCluster cluster, List`1 hosts, Dictionary`2 lockedHosts, ClusterUpdateInformation clusterInfo, List`1 hostInfos, Guid taskID, ITaskContext
    taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.RefreshHostClusterSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    *** Carmine error was: DatabaseFailure (2605); SQLServer; 547
    [s#10003db] ExecuteNonQuery()
    [s#fff15e] Task`1.SubtaskRun(this: (Task`1#12), TaskID: (guid) a1c63c5c-1527-4729-8012-6559a196b7a7)
    Full call stack from when the exception was thrown:   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at Microsoft.VirtualManager.DB.CarmineSqlException..ctor(SqlException sqlException)
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.InsertIntoDB(HostDiskData data, SqlContext ctx)
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.CreateInstance(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.DB.Adhc.Host.CreateHostDisk(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.<>c__DisplayClassb.<UpdateDiskAndVolumeInfo>b__6(HostDiskData d, SqlContext ctx)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDbObjects[TObj,TObjData](List`1 existing, List`1 fresh, ObjectDataComparer`2 isEqual, NewObjectCreator`2 createNew, SqlContext ctx, Guid taskID, Boolean deleteNonExisting, Boolean
    ignoreDeleteErrors, List`1 skipExistingOnDelete)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDiskAndVolumeInfo(Host host, List`1 existingDisks, List`1 refreshedDisks, List`1 existingVolumes, List`1 refreshedVolumes, Dictionary`2 volumeToDiskMap, CarmineObjectType serverType,
    Guid serverId, Nullable`1 hostGroupId, Guid taskID, SqlContext context, Boolean deleteNonExisting, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.UpdateDb(HostClusterProperties refresher, HostCluster cluster, List`1 hosts, Dictionary`2 lockedHosts, ClusterUpdateInformation clusterInfo, List`1 hostInfos, Guid taskID, ITaskContext
    taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.RefreshHostClusterSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
       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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    --- SqlException details -----------------
    System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "fk__ADHC_HostDisk__ADHC_ClusterDisk". The conflict occurred
    The statement has been terminated.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:0fca7b02-93ca-4a31-b609-0b6244178b6a
     Error = 547
    Index #0
    Source: .Net SqlClient Data Provider
    Number: 547
    State: 0
    Class: 16
    Server: VMM-SRV
    Message: The INSERT statement conflicted with the FOREIGN KEY constraint "fk__ADHC_HostDisk__ADHC_ClusterDisk". The conflict occurred
    Procedure: prc_ADHC_HostDisk_Insert
    Line: 39
    Index #1
    Source: .Net SqlClient Data Provider
    Number: 3621
    State: 0
    Class: 0
    Server: VMM-SRV
    Message: The statement has been terminated.
    Procedure: prc_ADHC_HostDisk_Insert
    Line: 39
    --- Caller StackTrace -----------------
    FileName:; Method:ExecuteNonQuery(); lineNo:0; ilOffset:178.
    FileName:; Method:InsertIntoDB(); lineNo:0; ilOffset:740.
    FileName:; Method:CreateInstance(); lineNo:0; ilOffset:23.
    FileName:; Method:CreateHostDisk(); lineNo:0; ilOffset:19.
    FileName:; Method:<UpdateDiskAndVolumeInfo>b__6(); lineNo:0; ilOffset:50.
    FileName:; Method:UpdateDbObjects(); lineNo:0; ilOffset:374.
    FileName:; Method:UpdateDiskAndVolumeInfo(); lineNo:0; ilOffset:769.
    FileName:; Method:UpdateDatabase(); lineNo:0; ilOffset:728.
    FileName:; Method:UpdateAllInformation(); lineNo:0; ilOffset:108.
    FileName:; Method:UpdateDb(); lineNo:0; ilOffset:539.
    FileName:; Method:RefreshLockedCluster(); lineNo:0; ilOffset:419.
    FileName:; Method:RefreshLockedCluster(); lineNo:0; ilOffset:440.
    FileName:; Method:RunSubtask(); lineNo:0; ilOffset:400.
    FileName:; Method:Run(); lineNo:0; ilOffset:354.
    FileName:; Method:SubtaskRun(); lineNo:0; ilOffset:221.
    FileName:; Method:RunInternal(); lineNo:0; ilOffset:112.
    FileName:; Method:Run(); lineNo:0; ilOffset:4.
    FileName:; Method:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem(); lineNo:0; ilOffset:0.
    FileName:; Method:Dispatch(); lineNo:0; ilOffset:162.
    -------- exception.InnerException.ToString() -------
    System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "fk__ADHC_HostDisk__ADHC_ClusterDisk". The conflict occurred
    The statement has been terminated.
       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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:0fca7b02-93ca-4a31-b609-0b6244178b6a
    --------------- exception.StackTrace ---------------
    at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.InsertIntoDB(HostDiskData data, SqlContext ctx)
       at Microsoft.VirtualManager.DB.Adhc.HostDisk.CreateInstance(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.DB.Adhc.Host.CreateHostDisk(HostDiskData data, SqlContext ctx, Guid taskID)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.<>c__DisplayClassb.<UpdateDiskAndVolumeInfo>b__6(HostDiskData d, SqlContext ctx)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDbObjects[TObj,TObjData](List`1 existing, List`1 fresh, ObjectDataComparer`2 isEqual, NewObjectCreator`2 createNew, SqlContext ctx, Guid taskID, Boolean deleteNonExisting, Boolean
    ignoreDeleteErrors, List`1 skipExistingOnDelete)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDiskAndVolumeInfo(Host host, List`1 existingDisks, List`1 refreshedDisks, List`1 existingVolumes, List`1 refreshedVolumes, Dictionary`2 volumeToDiskMap, CarmineObjectType serverType,
    Guid serverId, Nullable`1 hostGroupId, Guid taskID, SqlContext context, Boolean deleteNonExisting, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, ITaskContext taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.UpdateDb(HostClusterProperties refresher, HostCluster cluster, List`1 hosts, Dictionary`2 lockedHosts, ClusterUpdateInformation clusterInfo, List`1 hostInfos, Guid taskID, ITaskContext
    taskContext)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.HostClusterRefresher.RefreshLockedCluster(HostCluster cluster, List`1 hosts, ITaskContext taskContext, Guid subtaskID, Guid taskId, Int32 recursionNesting)
       at Microsoft.VirtualManager.Engine.Adhc.RefreshHostClusterSubtask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    ------------- 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.TaskRepository.Task`1.SubtaskRun(Object state)
       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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    -------------------- 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.0.30319.34003
        BuildType=retail
        Product=Microsoft® .NET Framework
    VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        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.0.30319.34003
        BuildType=retail
        Product=Microsoft® .NET Framework
    TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    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.0.30319.33440
        Product=Microsoft® .NET Framework
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Version=6.3.9600.16394
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
    Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Version=6.3.9600.16384
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    WSManAutomation, Version=3.2.7510.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
    wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    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.0.30319.33440
        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.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    DB.DelegatedAdmin, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    DB.TieredPerfCounters, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.PhysicalMachine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.UpdateManagement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.RunAs, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.DB.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
        Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    --------- Extra Data for Watson Report -------------
    Error Reporting Enabled=True
    *** Extra Data ***
    Process ID = 1992 (0x07c8)
    Managed Thread ID = 10
    Native Thread ID = 3880 (0x0f28)
    I'd aprreciate your help in resolving this asap
    P.S. It's a SCVMM 2012 R2 U1. The SQL script mentioned in the Rollup's page was also run as instructed.
    Eran.

    The key error is here: Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again
    Have you verified SQL connectivity, database connectivity, the user account used to connect, the SCVMM computer account used to connect, etc?
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • Catching all possible exceptions in gui thread

    Hi,
    I have such a problem: I am developing Swing app and sometimes it crashes by throwing an Exception which I don't catch. The effect is that this exception prints stack trace on System.err but user is not notified and wonders what is happening... I would prefer to show custom ErrorDialog with stacktrace.
    I am searching for simple and effective way to catch every possible exception thrown from within any library. I think of a few ways from which everyone has some disadvantages.
    The ideal way would be replacing AWT event queue dispatcher so I could process every GUI event inside try { } catch (Exception e) {} block. That would be a good place to catch all exceptions. Unfortunately I don't know if it is possible.
    For now I am trying such a solution:
    I start background thread together with main app. Then I redirect System.err and System.out streams to PipedStream connected to this background thread. This thread can analyze anything that is going to System.err and maybe recognize potential exception stacktraces. Then it can notify main thread of an exception. But it is not ideal as I have to parse the stream and it can always be not ideal in exception recognition. And the code is quite costly.
    Do you have any ideas, had similar problems?

    But how can I cause GUI thread to run in my thread
    group? As I suppose GUI thread is started by JVM and
    is something separate from my code - I can get a
    reference to GUI thread but don't know how to
    manipulate or replace it...One alternative is to completely separate the GUI code from your code.
    Your code, which is wrapped in appropriate try/catch blocks, runs on its own thread and does its own processing. When it's done with that processing, it queues the results on the event thread for display. If an exception occurs during your processing, then you queue something that notifies the GUI.
    The simplest way to implement this is to spawn a new thread for each operation. The Runnable that you give to that thread looks like the following:
    public MyOperationClass implements Runnable
        public void run()
            try
                // do your exception-generating code here
                SwingUtilities.invokeLater( new MyGUIUpdateClass(param1, param2));
            catch (Exception e)
                SwingUtilities.invokeLater(new MyExceptionReporter(e));
    }This is only a bare-bones solution (and hasn't been compiled). Since it separates the GUI from actual processing, you'll probably want to display a wait cursor while the processing thread is doing its thing. You'll probably end up implementing a class that implements this pattern. You may also want to create a producer-consumer thread, so that the user won't invoke, say, a dozen different operations at once.
    However, this sort of code is absolutely essential to Swing programming. Most apps do extensive non-GUI processing, such as database queries. If you run such queries in the GUI thread, your GUI will freeze.
    Sun has named this pattern "SwingWorker", although I don't think they've fleshed it out very fully: http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html

  • I am always getting a General Failure Exception

    Hello,
    I have been working on a UDO form.
    Recently my code is generating "General Failure" Exceptions at parts where the code worked a couple of days ago!
    My add-on was working perfectly before, and I haven't changed anything in it.
    It is setting a general failure exception, when i set the String property of an EditText object, and when i set a form's visible property to true.
    What could be the problem?
    Thanks
    Ralph

    Hi,
    try this in C#
                   /// <summary>
                   /// summary
                   /// <para>Sets the value of a edittext. This is because of the general failure problem, when setting edittext values directly. </para>
                   /// </summary>
                   /// <param name="_editText">The editText to set the value. </param>
                   /// <param name="_value"The value to set.</param>
                   /// <returns>Returns allways true . </returns>
                   public bool setEditTextValue(EditText _editText, string _value)
                        try
                             _editText.Value = _value;
                             return true;
                        catch (Exception)
                             return true;
    Have fun,
    Holger

  • RFC call ended with "Communication Failure" exception (Function call failed; could not find the function

    Hi All,
    I am getting error while executing oDATA service from SAP Netweaver Gateway
    Error details:
    RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
    I am using SAP NG 740
    Project is created in Gateway system using SEGW having Map to Datasource option used.
    in SPRO manage alias, I had seleted Local App option. Screen attached
    I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
    but still getting same error for all service.
    Kindly advise.
    Regards
    Vivek

    Hello Vivek,
    Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
    Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
    Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
    Check if that RFC is existing in that destination or not.
    For your reference  : Code would be something like this. Put BP here and check the problem.
    * Error and exception handling
    IF lv_subrc <> 0.
    * Execute the RFC exception handling process
       me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
         EXPORTING
           iv_subrc            = lv_subrc
           iv_exp_message_text = lv_exc_msg ).
    ENDIF.
    Go inside this method and check to get info on what has to be done to resolve issue.
    Check carefully what has gone wrong and fix it accordingly.
    No need of adding service & deleting as problem is not because of that.
    Regards,
    Ashwin

  • Client variable database repository exception handling

    We have recently had 2 incidents where client variable
    database storage appears to have failed in our clustered
    environment. We have 2 servers that share a sybase 12.5.2 client
    variable repository (CDATA/CGLOBAL). The problem seems to be
    occuring when a table that the application uses gets blocked by an
    unrelated application. When this happens, client variable storage
    seems to fail - the 2 servers apparently use whatever client
    variables they have in memory rather than getting the values from
    CDATA.
    There are no exceptions thrown, the application continues to
    function normally except that each server has it's own copy of the
    client variables. When we kill the process that has the table
    locked up, the servers start using CDATA normally again.
    The page that is getting blocked by the external process does
    not update any client variables, but it does read them. The
    inconsistent client variable problem occurs on other pages, not the
    one being blocked.
    I was able to sort of recreate the problem. I found that if I
    renamed CDATA, no error is reported to the user. The database
    exception (table not found) is logged, but not thrown on the page.
    To the user the application appears to function normally. So this
    demonstrates that updates to CDATA which result in database
    exceptions fail silently and are not thrown to the page.
    Has anyone else experienced silent exceptions in CDATA
    updates? Are there any workarounds for this behavior? Our
    application relies on client variables being consistent across
    servers and really need for exceptions to be thrown to the page so
    that the user is aware.
    Additional Info:
    CFMX 7.0.2
    Windows Server 2003 SP1
    database is sybase 12.5.2

    This is one of the "classic" design problems in this kind of architecture. And, unfortunately, the answer is "it depends on how you think you need to handle it." And I'm sure there are plenty of "gurus" that will tell you one way or another is the only way to do it.
    I'll be more honest: I'll give you a couple of personal suggestions, based on experience in this architecture. These are suggestions - you may do with them what you will. I will not say this is the best, most correct, or even remotely relevant to what you're doing.
    If it's simple data validation for "typing" (e.g. String, number, Date, etc.), that is taken care of when you attempt to stuff in the information into the appropriate DTO. If it's more "sophisticated" than that (must be in a certain range, etc.), that particular checking should probably be delegated from your Controller to a helper class. That not only saves the "expense" of transmitting the information back and forth across the wire, it's "faster" to the end user so say "Ooopsie" by redirecting back to the form right then. Basically the same thing if the types are wrong.
    That only leaves the "big" problems in the business layer (EJBs), where you have to deal with concurrency, database failures, etc. Generally these kinds of exceptions are thrown back to to the Controller in one of two forms:
    1) a sublass of RuntimeException, which signals that some Very Bad Things have happened in your container. EJBException is one like that and you can see where it's being thrown from.
    2) a subclass of Exception, also called "application exceptions." They are usually something like a "duplicate record" or a validation-like error (which you mentioned) like a missing field. They're used as a signal to a failure in the logic, not the container. That way you have to decide at what layer of your architecture they should be handled and/or passed on to the next.

  • Polling Database No exceptions or errors if DB down.

    In my Process I have DB Adapter that polls a table every 2 minutes for any new records. In my Process how do I know if the Database I am polling against is down or not. I tested my Process first with Database up and anytime new record added is picked up. Then I shut down the database but did not get any exceptions or errors from polling prtnerlink in my BPEL console. But looking at the BPEL log it keeps on adding Database poll exception may be the Database is down once the database comes up the polling will resume. But is there a way I send any kind of Notification or something to let the Admin know polling is not working as Database down. If so how can I check this in my process.
    Thanks

    Hi there,
    yes this came up with another customer too so starting in the next release you will be able to:
    -see a warning in the bpel console's process log if the database goes down.
    -point to a bpel process to handle any polling exception. I.e. the handler process can check the error code and send a notification to an admin.
    The workaround is to create a process in an infinite loop, which repeatedly 'invokes' a read on the target database, sending a notification on catching a remote fault. In general you can replace a receive with an invoke inside a loop, as long as you configure the instance to never time out. To kick it off initiate an instance from the bpel console.
    For more on never ending processes see this thread:
    Start process on polling interval
    Sorry we didn't get to this in the first release.
    Thanks
    Steve

  • "'Catastrophic failure (Exception from HResult:0x8000FFF(E_UNEXPECTED))'" when updating a List item

    Hi,
    I am receiving the below error when I update a List item.
    'Catastrophic failure (Exception from HResult:0x8000FFF(E_UNEXPECTED))'
    I have enabled the Verbose logging, and below are the details of the error that I have taken from Log Files.
    Application error when access /sites/exg/Lists/Applics/EditForm.aspx, Error=Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))   at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)     at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32& plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish)
    Kindly advise the resolution to avoid this error.
    Thanks

    Hi shameej,
    i found a similar thread , can you plz check it?
    http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/2ee9e393-70f9-4ec7-b19b-f107ef204ef7
    http://www.sharepointdev.net/sharepoint--development-programming/catastrophic-failure-after-itemupdatingeventhandler-66510.shtmlBest Regrads,
    Ahmed Madany

  • Catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault

    catcherror event "catch all system exceptions" is not catching subLanguageExecutionFault in BPM process

    hi rani,
    thanks for the response
    i supply all the connection details(gatewayhost, gatewayservice, programid, clinet, systemnumber, applicationhost, userid, password etc.) to the program which extends "JCoIDoc.Server".
    the program is taking care of all the connection establishment details.but still m facing the same problem.
    i have also confirmed that the user is a communication user, not a dialogue user.
    thanks
    pavan

  • Handling Database failure in Write-Behind

    Hi,
    In the link mentioned below it is mentioned that "The application is somewhat insulated from database failures: the Write-Behind feature can be configured in such a way that a write failure will result in the object being re-queued for write"
    http://coherence.oracle.com/display/COH35UG/Read-Through,+Write-Through,+Write-Behind+and+Refresh-Ahead+Caching
    I wanted know how write behind can be configured so as to insulate it from database failures. How can it be configured so that in case of db failure object is re-queded for write
    Thanks,
    Sudhir

    Requeuing can be enabled by setting the write-requeue-threshold to the maximum number of expected entries
    that will exist in the queue when it is time to write the data to the database.
    A complete example can be found here: http://middlewaremagic.com/weblogic/?p=5954
    Look for the cache configuration section.

  • Multiple catch for try -Exception Already caught Running smoothly..

    take this code for example...
    This one runs smoothly..
    public class one
         public static void main(String args[])
              int i=27;
              try
                   System.out.println(i/0);
              catch(ArrayIndexOutOfBoundsException e)
                   System.out.println(e);
              catch(Exception e)
                   System.out.println(e);
    }However if i change the order it would give me a compile time error which in my sun sl-275 book is written it should run fine.
    "If the Exception Catch clause is put first, then it would handle all exceptions, and the MyException or MyOtherException catch clauses would never be invoked."
    which i think is wrong because the code never gets compiled...
    public class one
         public static void main(String args[])
              int i=27;
              try
                   System.out.println(i/0);
              catch(Exception e)
                   System.out.println(e);
              catch(ArrayIndexOutOfBoundsException e)
                   System.out.println(e);
         }please discuss.

    DogsAreBarking wrote:
    take this code for example...
    This one runs smoothly..
    public class one
         public static void main(String args[])
              int i=27;
              try
                   System.out.println(i/0);
              catch(ArrayIndexOutOfBoundsException e)
                   System.out.println(e);
              catch(Exception e)
                   System.out.println(e);
    }However if i change the order it would give me a compile time error Correct. Each exception can be caught only once, Catching an exception implicitly catches every subclass exception of the one caught.
    In the first example, the code is fine, because your first catch block will catch only ArrayIndexOutOfBoundsException, and the second catch block will catch anything that was not caught previously--in other words, everything other than ArrayIndexOutOfBoundsException (and any child classes it may have).
    In the second example, the first catch block handles Exception and all of its subclasses, so catching ArrayIndexOutOfBoundsException is wrong.

  • Could not connect to database io exception: 10g on xp

    after a series of adding and deleting an instance of oracle through oracle database assitantl;
    i've yet to see my database :(
    the error written in enterprise manager was :
    Unable to connect to the database
    io exception: The Network Adapter could not establish the connection
    i'm on xp sp1 standalone;
    any help on the matter is greatly appreciated

    guys you can discard this question,
    i've decided to uninstall and reinstall the entire 10g
    now it works fine
    cheers

Maybe you are looking for

  • GetRealm - NotOwnerException

    I'm getting a problem trying to use the default realm with embedded LDAP in WLS 7.0. When the authenticate call eventuall gets called (it originates from a customer JAAS loginmodule that i wrote). I get the exeption below, I'm sure it must be somethi

  • Constant values and encapsulation

    Hi All, lookat the code below: class Test{ public static final int flag = 10; Public static void main(String args[]) System.out.println(i); }here the constant value i is used inside the same class. Now generally, we use to make separate java file for

  • How to "crop" a clip

    Hi, I need help with the following. I edit medical clips and need to remove the patient's identification data on the edges of the clips. I recently upgraded from Premiere 6 to CS6. In the older version the "CROP" tool covered the cropped area with bl

  • BEx Web iView displays graph only after page Refresh

    Dear Friends, I am facing problem in BEx Web application iView. I am using the SAP Standard BEx Web iView template to call BI Report by passing parameter as below com.sap.ip.bi.bex?TEMPLATE=ZSD1_WR_TREND_HY URL is Link[http://<hostname>:52000/irj/ser

  • [WPSL]Shell toast notification displaying only limited contents in push notification windows phone

    Hi, I have implement  push notification services for my Windows app .  I used shell toast to display the notification on my app.  The notification does come through but is cut-off -  displaying only limited contents, I need the whole set of contents