Troubleshooting AWS Systems Manager for Microsoft SCVMM
The following are common errors and troubleshooting steps.
Error: Add-in cannot be installed
If you receive the following error, try installing KB2918659 on the computer running the VMM console. For more information, see Description of System Center 2012 SP1 Update Rollup 5. Note that you don't need to install all the updates listed in this article to address this issue, just KB2918659.
Add-in cannot be installed The assembly "Amazon.Scvmm.Addin" referenced to by add-in component "AWS Systems Manager for Microsoft SCVMM" could not be found in the add-in package. This could be due to the following reasons: 1. The assembly was not included with the add-in package. 2. The AssemblyName attribute for the add-in does not match the name of the add-in assembly. 3. The assembly file is corrupt and cannot be loaded.
If you receive one of the following errors during installation, it is likely due to an issue with SCVMM:
Could not update managed code add-in pipeline due to the following error: Access to the path 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager \Bin\AddInPipeline\PipelineSegments.store' is denied.
Could not update managed code add-in pipeline due to the following error: The required folder 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager \Bin\AddInPipeline\HostSideAdapters' does not exist.
Add-in cannot be installed The assembly "Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll" referenced by the add-in assembly "Amazon.Scvmm.AddIn" could not be found in the add-in package. Make sure that this assembly was included with the add-in package.
Try one of the following steps to work around this issue:
Grant authenticated users permission to read and execute the
C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Bin\AddInPipelinefolder. In Windows Explorer, right-click the folder, select Properties, and then select the Security tab.
Close the SCVMM console and start it one time as an administrator. From the Start menu, locate SCVMM, right-click, and then select Run as administrator.
Checking the Log File
If you have a problem using the add-in, check the generated log file,
for useful information.
Errors Importing a VM
The log file,
detailed information about the status of an import task.
The following are common errors that you might see in the log file when you import your VM from SCVMM to Amazon EC2.
Error: Unable to extract Hyper-V VirtualMachine object
Solution: Configure the path to the Hyper-V PowerShell module.
Error: You do not have permission to perform the operation
This error usually occurs when Hyper-V can't save the VM image into the configured path. To resolve this issue, do the following.
Create a directory on the Hyper-V server. For example: C:\vmimages.
Share the directory you just created in Hyper-V. Any user running SCVMM should be given access to the directory.
In the plugin, set the export path to
Perform the export.
The image will be exported to a local directory on the Hyper-V server. The SCVMM plugin will pull it from Hyper-V, and upload into Amazon S3.
Uninstalling the Add-In
If you need to uninstall the add-in, use the following procedure.
To uninstall the add-in
Open the VMM console.
Select the Settings workspace, and then click Console Add-Ins.
Select AWS Systems Manager for Microsoft SCVMM.
On the ribbon, click Remove.
When prompted for confirmation, click Yes.
If you reinstall the add-in after uninstalling it and receive the following error, delete the path as suggested by the error message.
Error (27301) There was an error while installing the add-in. Please ensure that the following path does not exist and then try the installation again. C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Bin\AddInPipeline\ AddIns\EC2WINDOWS...