Importing organizations with custom reports

The import organization tool is very useful for setting up test or development environements with full production level data. However, I ran into a problem importing today, when importing the organization, I got the following fatal error:

System.InvalidOperationException: ExecuteNonQuery requires an open and available Connection. The connection’s current state is closed.

After a bit of googling I found that this had been discussed in the CRM forums:

Since I imported the organization, mainly to work with duplicates processing, I just removed all custom reports from the CRM database manually and the import went just fine.

Gustaf Westerlund
CEO, Chief Architect and co-Founder at CRM-konsulterna AB