web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / D365 Operations cannot...
Finance forum

D365 Operations cannot reinstall the reporting extension in my DEV box

(0) ShareShare
ReportReport
Posted on by 4,921

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,

I have the same question (0)
  • Verified answer
    Nirvana115 Profile Picture
    4,921 on at

    Hi community,

    For the first error .\DeploySsrsExtension.ps1 :

    I copy the missing DLL from another VM to my Dev Box like :

    Microsoft.CE.VaultSDK.ADALv2.AuthHelper.dll

    Microsoft.Dynamics.AX.Configuration.Base.dll

    Microsoft.CE.VaultSDK.dll

    For the second error .\DeployAllReportsToSsrs.ps1 :

    I create a String value in the Registry with name BinDir and give the PackageInstallLocation :  J:\AosService\PackagesLocalDirectory

    And now i can Deploy all my Report successfully.

    Best,

  • Ahmadbarghouthi Profile Picture
    85 on at

    Dears, 

    I'm facing the same issue when i try to post a payment journal in the Accounts Payable Module at one of our clients as the following:

    Stack trace: The company does not exist.

    Stack trace

    (S)\Data Dictionary\Tables\LedgerJournalTrans\Methods\validateWrite - line 74
    (C)\Classes\FormDataSource\validateWrite
    (C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\validateWrite
    (C)\Classes\FormDataSource\leaveRecord
    (C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\leaveRecord
    (C)\Classes\FormRun\task
    (C)\Classes\SysSetupFormRun\task - line 27

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans