Sometime Microsoft Dynamic CRM organization import wizard
will end up with following error
This error can occur when you importing CRM organization from SQL server which contains any other databases (other than CRM organization database).
To fix this issue need to perform following activities and checks
- Check SQL connectivity
- Check restore database name has “_MSCRM” phrase. If not then rename database before importing.
If previous checks are fine then connect to the SQL server
and temporary set offline the database which mentioned in the organization
import.
If database take long time to go offline then close the
deployment manager and try again previous step
Select *
From sys.sysprocesses
Where dbid = db_id(‘dwstaging’)
After database goes offline then import relevant organization.