After upgrading to MR 2012 CU13, you may encounter the following error on the CompanyProvider to Company task:
Sequence contains no elements.
This error will occur if there is a missing record in the Reporting.ControlCompanyIntegration table, in the Management Reporter database. To correct this, you’ll need to run the following queries:
select * from Reporting.ControlCompany
select * from Reporting.ControlCompanyIntegration
There should be an equal number of records in both tables. The exception is if you have Legacy companies. Legacy companies will be in the Reporting.ControlCompany table only. If there is a record in the Reporting.ControlCompany but not the Reporting.ControlCompanyIntegration, you’ll need to do an insert statement to add the missing record:
insert into Reporting.ControlCompanyIntegration (ID, SourceID)
values ('<ID>', '1')
<ID> will be the missing ID value from the Reporting.ControlCompany table.
This issue is logged as bug 3669431 is scheduled to be fixed in an upcoming release.