Could not perform this operation because device {0} is not active. Bring the device into active state first and then try ...