Open the ...SAMMigration\unity.config file as administrator in a text editor (e.g. Notepad) and fill the container section:

  • All lines up to <register type="ISAMDbContext" . . /> must be the same as in the configuration file of the Axidian CertiFlow Management Console (cm\unity.config).

    There is no need to add sections that are not in unity.config of the migration utility by default (but are in cm\unity.config).

  • register type="IMigrateReporter" mapTo="CertiFlow.Migrate.SAM.Reporter.CSVMigrateReporter, CertiFlow.Migrate.SAM"/> - defines the report output mode for the migration utility.

    If the section is not commented out with <! - - . . . -> symbols, the report will be written to a csv file created in the utility location folder named CertiFlow.Migrate.SAM.Report_dd-MM-yyyyy_HH-mm-ss.csv. By default, the report will not be created.

  • <register type="IMigrateReporter" mapTo="CertiFlow.Migrate.SAM.Reporter.NullMigrateReporter, CertiFlow.Migrate.SAM"/> - disables data migration utility report generation. By default the section is commented out with <! - - . . . - →.

    Using two active sections with the CertiFlow.Migrate.SAM.Reporter.CSVMigrateReporter, CertiFlow.Migrate.SAM and CertiFlow.Migrate.SAM.Reporter.NullMigrateReporter, CertiFlow.Migrate.SAM parameters is not allowed. One of them must necessarily be commented out or deleted.

  • Save the changes.

In the example Axidian CertiFlow is deployed using a data storage and user catalog in Active Directory, it is allowed to report on the migration utility in a csv file.

Example of a completed section:
<container>
    <register type="ICardRepository" mapTo="CertiFlow.Persistence.AD.CardRepository, CertiFlow.Persistence.AD" />
    <register type="IUserDataRepository" mapTo="CertiFlow.Persistence.AD.UserDataRepository, CertiFlow.Persistence.AD" />
    <register type="IPolicyRepository" mapTo="CertiFlow.Persistence.AD.PolicyRepository, CertiFlow.Persistence.AD" />
    <register type="ICardTypeRepository" mapTo="CertiFlow.Persistence.AD.CardTypeRepository, CertiFlow.Persistence.AD" />
    <register type="ILicenseRepository" mapTo="CertiFlow.Persistence.AD.LicenseRepository, CertiFlow.Persistence.AD" />
    <register type="ISkziRepository" mapTo="CertiFlow.Persistence.AD.SkziRepository, CertiFlow.Persistence.AD" />
    <register type="IUserCatalog" mapTo="CertiFlow.UserCatalog.AD.UserCatalog, CertiFlow.UserCatalog.AD" />
    <register type="ISAMDbContext" mapTo="CertiFlow.Migrate.SAM_8_0.Core.SAMDbContext, CertiFlow.Migrate.SAM_8_0" />
    <register type="ISAMHelpers" mapTo="CertiFlow.Migrate.SAM_8_0.Utils.SAMHelpers, CertiFlow.Migrate.SAM_8_0" />
    <register type="IMigrateReporter" mapTo="CertiFlow.Migrate.SAM.Reporter.CSVMigrateReporter, CertiFlow.Migrate.SAM" />
</container>



  • No labels