Hyper-V: The application encountered an error while attempting to change the state of

Hello,

I got following error while creating a new VM and booting it through a DVD drive from Hyper-V.

The application encountered an error while attempting to change the state of <Virtual Machine>. <Virtual Machine> failed to start.

Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to Power on with Error ‘The process cannot access the file because it is being used by another process.’

Failed to open attachment ‘D:’. Error: ‘The process cannot access the file because it is being used by another process.’

Resolution:

You must be working on multiple Virtual Machines… and same DVD drive is being used by more than one Virtual Machines. Remove the DVD/Virtual Drives from other Virtual Machines and Start the VM you are working on.

Done! Voila!

Advertisements

How to access the VM from your host and how to provide Internet/external network access to Guest (CRM VM)?

How to access the VM from your host and how to provide Internet/external network access to Guest (CRM VM)?

http://blogs.msdn.com/b/chinmay/archive/2014/04/02/crm-dev-lab-series-dev-vm-and-connectivity-hyper-v.aspx

CRM Installation Error: Action Microsoft.Crm.Setup.Common.Analyzer+CollectAction failed.

I was setting up a new virtual machine today for Microsoft Dynamics CRM today and encountered the error:

Action Microsoft.Crm.Setup.Common.Analyzer+CollectAction failed.
The specified domain either does not exist or could not be contacted. (Exception from HRESULT: 0x8007054B)

 

CRM Installation Error

The error is related to Active Directory. To resolve this issue, you just have to add the current server to the existing domain or promote the server as a domain (in case of virtual machine… similar to my case).