Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text

Microsoft Dynamics 365 Business Central:BC140 CU 23

一、Dynamics NAV Development Shell:执行命令导出操作,报错提示如下:

Export-NAVApplicationObject : : [18023703] You do not have permission to run the 'File, Export, Text' System.
Contact your system administrator to have your permissions changed.
At line:1 char:1
+ Export-NAVApplicationObject –DatabaseServer KEVINPC2023 –DatabaseName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Export-NAVApplicationObject

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第1张图片

执行导出命令:

Export-NAVApplicationObject –DatabaseServer KEVINPC2023 –DatabaseName "Demo Database NAV (14-0)" –Path D:\StarliteWork\Upgrade\Target\NewBaseVersion.txt -Filter 'Id=1..1999999999'

报错如下:

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第2张图片

二、解决尝试办法如下:

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第3张图片

通过Business Central Administration Shell命令工具 注册License到服务层,操作截图如下:

1.注册授权命令:Import-NAVServerLicense -ServerInstance DemoBC140_01 -LicenseFile "D:\StarliteWork\dev.flf"

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第4张图片

2.重启实例命令:Restart-NAVServerInstance -ServerInstance DemoBC140_01

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第5张图片

三、再执行导出命令试试,结果如下:还是出错。。。

Export-NAVApplicationObject : : [18023703] You do not have permission to run the ‘File, Export, Text_第6张图片

继续折腾 ...

你可能感兴趣的:(Microsoft,Dynamics,365,数据库,microsoft)