Showing posts with label AX2012 R3. Show all posts
Showing posts with label AX2012 R3. Show all posts

04 November 2015

Publish reports on several SSRS servers

When updating more than one AOS with new code you probably want to publish new SSRS Reports to more than one SSRS Server. The following powershell script will help a lot.
Thanks to Allan Andersen


$SSRSServers = "SSRS-Test", "SSRS-Training", "SSRS-Demo", "SSRS-Prod"

ForEach ($SSRSServer in $SSRSServers)
{
    #create PowerShell Session

    $PSSession = New-PSSession -EnableNetworkAccess -Name $SSRSServer

    Invoke-Command -Session $PSSession -ArgumentList $SSRSServer -ScriptBlock
    {
        #load AX ManagementUtilities 

        .'c:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities\Microsoft.Dynamics.ManagementUtilities.ps1' 

        #publish report
        Publish-AXReport -Id $args[0] -ReportName * -ModifiedAfter (Get-Date).AddDays(-30) -Verbose
    }

    Remove-PSSession $PSSession
} 



Depending how you do deploy Reports in your Environment you can also use WSDL Port ( -ServicesAOSWSDLPor) or other parameters of the Publish-AXReports command.

06 May 2015

AX 2012 R3 CU8 with TFS 2013 and VS 2013 requires TeamExplorer 2010

I just installed a new DEV environment for AX 2012 R3 CU8 with VS 2013 and TFS 2013 and was a bit confused when i tried to connect AX to the TFS Server because of the infolog that told me that AX can not find the TFS client assembly in Version 10.0.0.0. Yes that's true I just installed VS 2013 with TeamExplorer 2013 because I thought AX 2012 R3 CU8 is compatible with it. But TFS integration is not :)



Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

To solve this issue install Team Explorer for TFS2010. In some cases it could also be required to installe the compatibility package called: Visual Studio 2010 SP1 Team Foundation Server Compatibility GDR

23 September 2014

Microsoft Dynamics AX 2012 R3 Update Experience





Microsoft Dynamics AX 2012 R3 Update Installer provides contextual and metadata driven update experience powered by the cloud. It simplifies discovery of updates and strives to reduce the maintenance cost by providing the ability to stay current with AX updates. This video demonstrates the features and capabilities of the new Microsoft Dynamics AX 2012 R3 Update Installer.