Create User License Batch Job

If you ever need to re-create the system standard user license batch job, this can be completed using the following lines of code, in a job.

To create the Automatical Role Assignement batch job use:

SysSecurityDynamicRoleAssignment::createBatchJob();

To create the user licnese miner batch job user:

SysUserLicenseMiner::createBatchJob();

Error when installing Reporting Extensions – Version Str

Recently I encountered an issue when installing reporting extensions.

An error occurred during setup of Reporting Services extensions.
Reason: Version string portion was too short or too long.
System.ArgumentException: Version string portion was too short or too long.
    at System.Version..ctor(String version)
    at Microsoft.Dynamics.AX.Framework.Reporting.Shared.SrsWmi.get_ReportManagerUrl()
    at Microsoft.Dynamics.Setup.ReportsServerInstaller.GetOrCreateServerConfiguration(String instanceName, String sharePointServiceApplicationSite, Boolean& createdConfiguration)
    at Microsoft.Dynamics.Setup.Components.ReportingServicesExtensions.InstallConfigurationFiles(String instanceName, String sharePointServiceApplicationSite, Boolean& createdConfiguration)
    at Microsoft.Dynamics.Setup.Components.ReportingServicesExtensions.RunReportingSetupManagerDeploy()

Continue reading