Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export-NAVALfromNAVApplicationObject - Finding the Error #62

Open
DigiTecKid opened this issue Nov 13, 2019 · 0 comments
Open

Export-NAVALfromNAVApplicationObject - Finding the Error #62

DigiTecKid opened this issue Nov 13, 2019 · 0 comments

Comments

@DigiTecKid
Copy link

DigiTecKid commented Nov 13, 2019

When I run the Export-NAVALfromNAVApplicationObject command it works, creating the AL files for the exported object, reports "Errors: 0", but give this exception:

 cmd : 
 At C:\Program Files\WindowsPowerShell\Modules\Cloud.Ready.Software.NAV\1.0.3.7\ModelTools\Export-NAVALfromNAVApplicationObject.ps1:74 char:5
 +     cmd /c $Command
 +     ~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:String) [], RemoteException
     + FullyQualifiedErrorId : NativeCommandError

Has anyone run into this before? If not how would I find what is causing this?

Here is the detailed output of the command:

PS >Export-NAVALfromNAVApplicationObject -ServerInstance BC140DEV -WorkingFolder ("E:\NAV\ExtensionsSupplemental\Customer" + $objtype + "s\Source") -TargetPath ("E:\NAV\ExtensionsSupplemental\Customer" + $objtype + "s\Converted" + $objid + $objname) -Filter "Type=$objtype;ID=$objid" -Verbose
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics NAV, please wait a second...
VERBOSE: Searching in C:\Program Files (x86)\Microsoft Dynamics 365 Business Central, please wait a second...
VERBOSE: Searching in C:\Program Files\Microsoft Dynamics 365 Business Central, please wait a second...

Select NAV version you are going to use:

Index VersionNo NAV Apps Management NAV Apps Tools NAV Management NAV Model Tools


[1] 11.0.23572.0 True True True True
[2] 13.0.31719.0 True True True True
[3] 14.0.29530.0 True True True True

Please, select one of the options available: 3
VERBOSE: Importing cmdlet 'Convert-NAVCustomization'.
VERBOSE: Importing cmdlet 'Convert-NAVTenant'.
VERBOSE: Importing cmdlet 'Copy-NAVCompany'.
VERBOSE: Importing cmdlet 'Copy-NAVTenantData'.
VERBOSE: Importing cmdlet 'Dismount-NAVTenant'.
VERBOSE: Importing cmdlet 'Dismount-NAVTenantDatabase'.
VERBOSE: Importing cmdlet 'Export-NAVApplication'.
VERBOSE: Importing cmdlet 'Export-NAVData'.
VERBOSE: Importing cmdlet 'Export-NAVEncryptionKey'.
VERBOSE: Importing cmdlet 'Export-NAVServerLicenseInformation'.
VERBOSE: Importing cmdlet 'Get-NAVAddIn'.
VERBOSE: Importing cmdlet 'Get-NAVApplication'.
VERBOSE: Importing cmdlet 'Get-NAVCompany'.
VERBOSE: Importing cmdlet 'Get-NAVDataFile'.
VERBOSE: Importing cmdlet 'Get-NAVDataUpgrade'.
VERBOSE: Importing cmdlet 'Get-NAVServerAppConfiguration'.
VERBOSE: Importing cmdlet 'Get-NAVServerConfiguration'.
VERBOSE: Importing cmdlet 'Get-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Get-NAVServerPermission'.
VERBOSE: Importing cmdlet 'Get-NAVServerPermissionSet'.
VERBOSE: Importing cmdlet 'Get-NAVServerSession'.
VERBOSE: Importing cmdlet 'Get-NAVServerUser'.
VERBOSE: Importing cmdlet 'Get-NAVServerUserPermissionSet'.
VERBOSE: Importing cmdlet 'Get-NAVTableConnection'.
VERBOSE: Importing cmdlet 'Get-NAVTenant'.
VERBOSE: Importing cmdlet 'Get-NAVTenantDatabase'.
VERBOSE: Importing cmdlet 'Get-NAVWebService'.
VERBOSE: Importing cmdlet 'Import-NAVConfigurationPackageFile'.
VERBOSE: Importing cmdlet 'Import-NAVData'.
VERBOSE: Importing cmdlet 'Import-NAVEncryptionKey'.
VERBOSE: Importing cmdlet 'Import-NAVMembershipEntitlement'.
VERBOSE: Importing cmdlet 'Import-NAVServerLicense'.
VERBOSE: Importing cmdlet 'Invoke-NAVCodeunit'.
VERBOSE: Importing cmdlet 'Mount-NAVApplication'.
VERBOSE: Importing cmdlet 'Mount-NAVTenant'.
VERBOSE: Importing cmdlet 'Mount-NAVTenantDatabase'.
VERBOSE: Importing cmdlet 'Move-NAVTenant'.
VERBOSE: Importing cmdlet 'New-NAVAddIn'.
VERBOSE: Importing cmdlet 'New-NAVCompany'.
VERBOSE: Importing cmdlet 'New-NAVDatabase'.
VERBOSE: Importing cmdlet 'New-NAVEncryptionKey'.
VERBOSE: Importing cmdlet 'New-NAVServerAppConfiguration'.
VERBOSE: Importing cmdlet 'New-NAVServerConfiguration'.
VERBOSE: Importing cmdlet 'New-NAVServerInstance'.
VERBOSE: Importing cmdlet 'New-NAVServerPermission'.
VERBOSE: Importing cmdlet 'New-NAVServerPermissionSet'.
VERBOSE: Importing cmdlet 'New-NAVServerUser'.
VERBOSE: Importing cmdlet 'New-NAVServerUserPermissionSet'.
VERBOSE: Importing cmdlet 'New-NAVTableConnection'.
VERBOSE: Importing cmdlet 'New-NAVTenant'.
VERBOSE: Importing cmdlet 'New-NAVWebService'.
VERBOSE: Importing cmdlet 'Register-NAVTenant'.
VERBOSE: Importing cmdlet 'Remove-NAVAddIn'.
VERBOSE: Importing cmdlet 'Remove-NAVApplication'.
VERBOSE: Importing cmdlet 'Remove-NAVCompany'.
VERBOSE: Importing cmdlet 'Remove-NAVConfigurationPackageFile'.
VERBOSE: Importing cmdlet 'Remove-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Remove-NAVServerPermission'.
VERBOSE: Importing cmdlet 'Remove-NAVServerPermissionSet'.
VERBOSE: Importing cmdlet 'Remove-NAVServerSession'.
VERBOSE: Importing cmdlet 'Remove-NAVServerUser'.
VERBOSE: Importing cmdlet 'Remove-NAVServerUserPermissionSet'.
VERBOSE: Importing cmdlet 'Remove-NAVTableConnection'.
VERBOSE: Importing cmdlet 'Remove-NAVTenant'.
VERBOSE: Importing cmdlet 'Remove-NAVWebService'.
VERBOSE: Importing cmdlet 'Rename-NAVCompany'.
VERBOSE: Importing cmdlet 'Restart-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Resume-NAVDataUpgrade'.
VERBOSE: Importing cmdlet 'Set-NAVAddIn'.
VERBOSE: Importing cmdlet 'Set-NAVApplication'.
VERBOSE: Importing cmdlet 'Set-NAVCompany'.
VERBOSE: Importing cmdlet 'Set-NAVServerAppConfiguration'.
VERBOSE: Importing cmdlet 'Set-NAVServerConfiguration'.
VERBOSE: Importing cmdlet 'Set-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Set-NAVServerPermission'.
VERBOSE: Importing cmdlet 'Set-NAVServerPermissionSet'.
VERBOSE: Importing cmdlet 'Set-NAVServerUser'.
VERBOSE: Importing cmdlet 'Set-NAVTenant'.
VERBOSE: Importing cmdlet 'Start-NAVDataUpgrade'.
VERBOSE: Importing cmdlet 'Start-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Stop-NAVDataUpgrade'.
VERBOSE: Importing cmdlet 'Stop-NAVServerInstance'.
VERBOSE: Importing cmdlet 'Sync-NAVTenant'.
VERBOSE: Importing cmdlet 'Sync-NAVTenantDatabase'.
VERBOSE: Importing cmdlet 'Test-NAVTenantDatabaseSchema'.
VERBOSE: Importing cmdlet 'Update-NAVScheduledTaskList'.
VERBOSE: Importing function 'Get-NAVWebServerInstance'.
VERBOSE: Importing function 'Get-NAVWebServerInstanceConfiguration'.
VERBOSE: Importing function 'New-NAVWebServerInstance'.
VERBOSE: Importing function 'Remove-NAVWebServerInstance'.
VERBOSE: Importing function 'Set-NAVWebServerInstanceConfiguration'.
VERBOSE: NAV Management module has been imported
VERBOSE: Loading module from path 'C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1'.
VERBOSE: Importing cmdlet 'Compare-NAVApplicationObject'.
VERBOSE: Importing cmdlet 'Export-NAVApplicationObjectLanguage'.
VERBOSE: Importing cmdlet 'Get-NAVApplicationObjectProperty'.
VERBOSE: Importing cmdlet 'Import-NAVApplicationObjectLanguage'.
VERBOSE: Importing cmdlet 'Join-NAVApplicationObjectFile'.
VERBOSE: Importing cmdlet 'Join-NAVApplicationObjectLanguageFile'.
VERBOSE: Importing cmdlet 'Merge-NAVApplicationObject'.
VERBOSE: Importing cmdlet 'Remove-NAVApplicationObjectLanguage'.
VERBOSE: Importing cmdlet 'Set-NAVApplicationObjectProperty'.
VERBOSE: Importing cmdlet 'Split-NAVApplicationObjectFile'.
VERBOSE: Importing cmdlet 'Split-NAVApplicationObjectLanguageFile'.
VERBOSE: Importing cmdlet 'Test-NAVApplicationObjectLanguage'.
VERBOSE: Importing cmdlet 'Test-NAVApplicationTable'.
VERBOSE: Importing cmdlet 'Update-NAVApplicationObject'.
VERBOSE: The 'Compile-NAVApplicationObject' command in the Microsoft.Dynamics.Nav.Model.Tools' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb
.
VERBOSE: Importing function 'Compile-NAVApplicationObject'.
VERBOSE: The 'Create-NAVDatabase' command in the Microsoft.Dynamics.Nav.Model.Tools' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "New".
VERBOSE: Importing function 'Create-NAVDatabase'.
VERBOSE: The 'Delete-NAVApplicationObject' command in the Microsoft.Dynamics.Nav.Model.Tools' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are "Remove"
.
VERBOSE: Importing function 'Delete-NAVApplicationObject'.
VERBOSE: Importing function 'Export-NAVApplicationObject'.
VERBOSE: Importing function 'Import-NAVApplicationObject'.
VERBOSE: Importing function 'Invoke-NAVDatabaseConversion'.
VERBOSE: Importing variable 'NavClientPath'.
VERBOSE: Importing variable 'NavIde'.
VERBOSE: NAV Model Tools module has been imported
VERBOSE: Loading module from path 'C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Tools.psd1'.
VERBOSE: Importing cmdlet 'Compare-NAVAppApplicationObjectLanguage'.
VERBOSE: Importing cmdlet 'Export-NAVAppPermissionSet'.
VERBOSE: Importing cmdlet 'Export-NAVAppReportLayout'.
VERBOSE: Importing cmdlet 'Export-NAVAppTableData'.
VERBOSE: Importing cmdlet 'Export-NAVAppTenantWebService'.
VERBOSE: NAV Apps Tools module has been imported
VERBOSE: Loading module from path 'C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.psd1'.
VERBOSE: Importing cmdlet 'Get-NAVAppInfo'.
VERBOSE: Importing cmdlet 'Get-NavAppRuntimePackage'.
VERBOSE: Importing cmdlet 'Get-NAVAppTableModification'.
VERBOSE: Importing cmdlet 'Get-NAVAppTenant'.
VERBOSE: Importing cmdlet 'Install-NAVApp'.
VERBOSE: Importing cmdlet 'Publish-NAVApp'.
VERBOSE: Importing cmdlet 'Repair-NAVApp'.
VERBOSE: Importing cmdlet 'Start-NAVAppDataUpgrade'.
VERBOSE: Importing cmdlet 'Sync-NAVApp'.
VERBOSE: Importing cmdlet 'Uninstall-NAVApp'.
VERBOSE: Importing cmdlet 'Unpublish-NAVApp'.
VERBOSE: NAV Apps Management module has been imported
VERBOSE: WriteObjectServerCommand.InternalProcessRecord
VERBOSE: WriteObjectServerCommand.InternalWriteObject(object)
Export Objects with:
"C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\finsql.exe" command=ExportToNewSyntax,file=E:\NAV\ExtensionsSupplemental\Customer\Reports\Source\ExportFile.txt,servername="LOCALHOST",database="JF140000-Tes
t",Logfile=E:\NAV\ExtensionsSupplemental\Customer\Reports\Source\Log_ExportFile.txt,filter=Type=Report;ID=23019012
[0] [20191113D 171627.860T] The command completed successfully in '0' seconds.
Splitting objects to E:\NAV\ExtensionsSupplemental\Customer\Reports\Source\Split
Convert objects with:
"C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\txt2al.exe" --source="E:\NAV\ExtensionsSupplemental\Customer\Reports\Source\Split" --target="E:\NAV\ExtensionsSupplemental\Customer\Reports\Converted\23019012
SalesInvoiceWord" --rename --extensionStartId=70000000
Writing: E:\NAV\ExtensionsSupplemental\Customer\Reports\Converted\23019012SalesInvoiceWord\Report 23019012 - Sales - Invoice (Word).al
Writing: E:\NAV\ExtensionsSupplemental\Customer\Reports\Converted\23019012SalesInvoiceWord\Sales - Invoice (Word).rdlc
Writing: E:\NAV\ExtensionsSupplemental\Customer\Reports\Converted\23019012SalesInvoiceWord\Sales - Invoice (Word).docx
cmd :
At C:\Program Files\WindowsPowerShell\Modules\Cloud.Ready.Software.NAV\1.0.3.7\ModelTools\Export-NAVALfromNAVApplicationObject.ps1:74 char:5

  • cmd /c $Command
    
  • ~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError

Total Time: 0:00:00.5257474
Errors: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant