Hi all,
When i want to reinstall the reporting extension in my DEV box i have this error when i start .\DeploySsrsExtension.ps1 :
[5/18/2017 11:06:18 PM]: Log File Path: J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\AxSsrsExtensionDeployment.log
[5/18/2017 11:06:18 PM]: Start installing AX SSRS extension components ...
[5/18/2017 11:06:18 PM]: Getting configuration string for AxReportVmRoleStartupTask.exe ...
System.Management.Automation.MethodInvocationException: Exception calling "GetJsonConfigurationStringForInstall" with "2" argument(s): "Could not load file or assembly 'Microsoft.Dynamics.AX.Configuration.Base, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified." ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Dynamics.AX.Configuration.Base, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Dynamics.ApplicationPlatform.Environment.Settings.BaseConfigSetting.Initialize()
at Microsoft.Dynamics.ApplicationPlatform.Environment.ApplicationEnvironment`1..ctor(Configuration configuration)
at Microsoft.Dynamics.ApplicationPlatform.Environment.ApplicationEnvironment`1.get_Instance()
at Microsoft.Dynamics.AX.Framework.Management.Reports.JsonConfigurationGenerator.GetJsonConfigurationStringForInstall(Boolean enableSecurity, String accountListToAccessReports)
at CallSite.Target(Closure , CallSite , Object , Boolean , String )
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
[5/18/2017 11:06:19 PM]: Error: Failed to install AX SSRS Extension components.
And i have this error whene i start whith .\DeployAllReportsToSsrs.ps1 :
[5/18/2017 11:27:11 PM]: Log File Path: J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\AxReportDeployment.log
[5/18/2017 11:27:11 PM]: Package Install Location (Bin Directory) is: C:\AOSService\PackagesLocalDirectory
[5/18/2017 11:27:11 PM]: ew0KICAgICJNb2R1bGUiOiAgWw0KICAgICAgICAgICAgICAgICAgICIqIg0KICAgICAgICAgICAgICAgXSwNCiAgICAiUGVyc2lzdGVudFZpcnR1YWxNYWNoaW5lSVBBZGRyZXNzU1NSUyI6ICAiMTI3LjAuMC4xIiwNCiAgICAiUmVwb3J0TmFtZSI6ICBbDQogICAgICAgICAgICAgICAgICAgICAgICIqIg0KICAgICAgICAgICAgICAgICAgIF0sDQogICAgIk1pY3Jvc29mdC5EeW5hbWljcy5BWC5Bb3NDb25maWcuQXp1cmVDb25maWcuYmluZGlyIjogICJDOlxcQU9TU2VydmljZVxcUGFja2FnZXNMb2NhbERpcmVjdG9yeSINCn0=
[5/18/2017 11:27:11 PM]: PersistentVirtualMachineIPAddressSSRS: 127.0.0.1
[5/18/2017 11:27:11 PM]: Checking status of Report Server URL: http://127.0.0.1/ReportServer
[5/18/2017 11:27:11 PM]: Success! Status check of Report Server URL: http://127.0.0.1/ReportServer
[5/18/2017 11:27:11 PM]: Microsoft.Dynamics.AX.AosConfig.AzureConfig.bindir: C:\AOSService\PackagesLocalDirectory
[5/18/2017 11:27:11 PM]: Module: *
[5/18/2017 11:27:11 PM]: ReportName: *
Could not find a part of the path 'C:\AOSService\PackagesLocalDirectory'.
[5/18/2017 11:27:11 PM]: 0.0468729 Seconds.
System.Management.Automation.RuntimeException: Errors occured during report deployment.
[5/18/2017 11:27:11 PM]: Error: Failed to deploy AX reports to the report server.
Any solution.
Best,