HodorNV / ALOps

ALOps
59 stars 24 forks source link

Unexpected error during Publish NAV Apps #19

Closed megel closed 4 years ago

megel commented 5 years ago

The app is compiled correctly and is installable in a fresh docker container :(

However deploying to the NST causes:

2019-07-25T18:31:30.5452208Z ##[section]Starting: ALOps App Publish to BCDEV
2019-07-25T18:31:30.5702557Z ==============================================================================
2019-07-25T18:31:30.5702621Z Task         : ALOps App Publish
2019-07-25T18:31:30.5702652Z Description  : Publish NAV Apps
2019-07-25T18:31:30.5702681Z Version      : 1.422.538
2019-07-25T18:31:30.5702728Z Author       : Hodor
2019-07-25T18:31:30.5702758Z Help         : Publish Business Central extension to service tier.
2019-07-25T18:31:30.5702788Z ==============================================================================
2019-07-25T18:31:32.7734597Z *** Validate configuration
2019-07-25T18:31:35.0925217Z *** Importing required PS-Functions
2019-07-25T18:31:35.0935227Z  - Use Docker         = False
2019-07-25T18:31:35.0945607Z  - NAV ServerInstance = BCDEV
2019-07-25T18:31:35.0955057Z  - App Filter         = *.app
2019-07-25T18:31:35.0964051Z  - Process Type       = Release
2019-07-25T18:31:35.0974290Z  - Skip Verification  = True
2019-07-25T18:31:35.0978987Z 
2019-07-25T18:31:35.0987223Z *** Importing required PS-Functions
2019-07-25T18:31:36.2429848Z *** Working folder: C:\agent\_work\r1\a
2019-07-25T18:31:36.2437209Z ***
2019-07-25T18:31:38.6381586Z 
2019-07-25T18:31:38.6474929Z **************************************
2019-07-25T18:31:38.6485776Z *** NAVMgt App Deployment v1.0.0.0 ***
2019-07-25T18:31:38.6495037Z **************************************
2019-07-25T18:31:38.6499052Z 
2019-07-25T18:31:38.6620739Z  * App File = [C:\agent\_work\r1\a\App\app\COSMO CONSULT Licensing GmbH_cc connector for intelligent Dynamics 365 Business Central_1.0.201930.609.app]
2019-07-25T18:31:38.6625063Z 
2019-07-25T18:31:39.2865165Z  * App.ID        = e61a4eff-77f0-496d-a468-b8fc216f852d
2019-07-25T18:31:39.2899166Z  * App.Name      = cc connector for intelligent Dynamics 365 Business Central
2019-07-25T18:31:39.2925762Z  * App.Publisher = COSMO
2019-07-25T18:31:39.2952065Z  * App.Version   = 1.0.201930.609
2019-07-25T18:31:39.6416278Z ##[warning]Caution: Your program license expires in 6 days.
2019-07-25T18:31:39.6528729Z ##[warning]This license is not compatible with this version of Business Central.
2019-07-25T18:31:39.6681511Z  => Publishing App 'cc connector for intelligent Dynamics 365 Business Central v1.0.201930.609'
2019-07-25T18:31:39.6947736Z ##[warning]Caution: Your program license expires in 6 days.
2019-07-25T18:31:39.7031567Z ##[warning]This license is not compatible with this version of Business Central.
2019-07-25T18:31:40.0187525Z ##[error]Extension compilation failed
error AL1024: A package with publisher 'Microsoft', name 'Application', and a version compatible with '14.0.0.0' could not be loaded.
src/Tables/Tab68226.CCSIERPIOInvParLines.al(23,29): error AL0185: Table 'Item' is missing
src/Tables/Tab68226.CCSIERPIOInvParLines.al(29,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68226.CCSIERPIOInvParLines.al(35,29): error AL0185: Table 'Location' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(279,23): error AL0185: Table 'Item Journal Template' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(293,23): error AL0185: Table 'Item Journal Batch' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(307,33): error AL0185: Table 'Gen. Business Posting Group' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(308,26): error AL0185: Table '83' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(309,23): error AL0185: Table '233' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(310,22): error AL0185: Codeunit '396' is missing
Special/Installation%20&%20Upgrade/Cod68195.CCSIERPItemHistGenerator.al(340,26): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(256,15): error AL0185: Table 'Item' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(257,22): error AL0185: Table 'Item Variant' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(258,19): error AL0185: Table 'Location' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(492,34): error AL0185: Table 'Production Forecast Entry' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(494,15): error AL0185: Table 'Item' is missing
src/Codeunits/Cod68200.CCSIERPFCManagement.al(522,34): error AL0185: Table 'Production Forecast Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(11,26): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(28,74): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(58,80): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(68,100): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(91,59): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68202.CCSIERPItemLedgEntryMgt.al(107,26): error AL0185: Table 'Item Ledger Entry' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(309,15): error AL0185: Table 'Item' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(310,27): error AL0185: Table 'Stockkeeping Unit' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(370,15): error AL0185: Table 'Item' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(371,24): error AL0185: Table 'Purchase Price' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(399,21): error AL0185: Table 'Item Vendor' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(429,19): error AL0185: Table 'Location' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(714,26): error AL0185: Table 'Requisition Line' is missing
src/Codeunits/Cod68220.CCSIERPIOManagement.al(715,15): error AL0185: Table 'Item' is missing
src/Page%20Extensions/Pag-Ext68200.CCSIERPFCItemCard.al(7,52): error AL0118: The name '"CCS IERP Min. Purch. Quantity"' does not exist in the current context
src/Page%20Extensions/Pag-Ext68200.CCSIERPFCItemCard.al(12,49): error AL0118: The name 'CCS IERP IO Inventory Cost' does not exist in the current context
src/Page%20Extensions/Pag-Ext68200.CCSIERPFCItemCard.al(1,53): error AL0247: The target Page "Item Card" for the extension object is not found
src/Page%20Extensions/Pag-Ext68201.CCSIERPFCItemList.al(1,53): error AL0247: The target Page "Item List" for the extension object is not found
src/Page%20Extensions/Pag-Ext68203.CCSIERPFCStockkUnitList.al(1,61): error AL0247: The target Page "Stockkeeping Unit List" for the extension object is not found
src/Page%20Extensions/Pag-Ext68204.CCSIERPFCStockkUnitCard.al(7,49): error AL0118: The name 'CCS IERP IO Inventory Cost' does not exist in the current context
src/Page%20Extensions/Pag-Ext68204.CCSIERPFCStockkUnitCard.al(15,51): error AL0118: The name 'CCS IERP IO Minimum Alpha SL' does not exist in the current context
src/Page%20Extensions/Pag-Ext68204.CCSIERPFCStockkUnitCard.al(20,51): error AL0118: The name 'CCS IERP IO Maximum Alpha SL' does not exist in the current context
src/Page%20Extensions/Pag-Ext68204.CCSIERPFCStockkUnitCard.al(1,61): error AL0247: The target Page "Stockkeeping Unit Card" for the extension object is not found
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(4,19): error AL0185: Table '"Requisition Line"' is missing
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(11,47): error AL0118: The name 'CCS IERP Demand Forecast' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(16,49): error AL0118: The name 'CCS IERP Purchase Quantity' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(20,49): error AL0118: The name 'CCS IERP Arriving Quantity' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(24,53): error AL0118: The name 'CCS IERP Safety Stock Quantity' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(28,54): error AL0118: The name '"CCS IERP Inv. Begin Period"' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(32,52): error AL0118: The name 'CCS IERP Inventory End Period' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(36,52): error AL0118: The name 'CCS IERP Backlog Begin Period' does not exist in the current context
src/Pages/Pag68227.CCSIERPInvScheduleFactBox.al(40,50): error AL0118: The name 'CCS IERP Backlog End Period' does not exist in the current context
src/Pages/Pag68300.CCSIERPRoleCenter.al(25,30): error AL0249: The Page '"My Items"' is not found
src/Pages/Pag68300.CCSIERPRoleCenter.al(30,34): error AL0249: The Page '"My Customers"' is not found
src/Page%20Extensions/Pag-Ext68205.CCSIERPFCItemVariants.al(1,57): error AL0247: The target Page "Item Variants" for the extension object is not found
src/Page%20Extensions/Pag-Ext68206.CCSIERPItemLedgerEntries.al(1,60): error AL0247: The target Page "Item Ledger Entries" for the extension object is not found
src/Pages/Pag68300.CCSIERPRoleCenter.al(65,34): error AL0185: Page '"Customer List"' is missing
src/Page%20Extensions/Pag-Ext68221.CCSIERPIOLocationCard.al(7,49): error AL0118: The name 'CCS IERP IO Maximum Volume' does not exist in the current context
src/Pages/Pag68300.CCSIERPRoleCenter.al(72,34): error AL0185: Page '"Vendor List"' is missing
src/Page%20Extensions/Pag-Ext68221.CCSIERPIOLocationCard.al(12,51): error AL0118: The name 'CCS IERP IO Cap. Probability' does not exist in the current context
src/Pages/Pag68300.CCSIERPRoleCenter.al(79,34): error AL0185: Page '"Item List"' is missing
src/Page%20Extensions/Pag-Ext68221.CCSIERPIOLocationCard.al(1,57): error AL0247: The target Page "Location Card" for the extension object is not found
src/Pages/Pag68300.CCSIERPRoleCenter.al(86,34): error AL0185: Page '"Location List"' is missing
src/Pages/Pag68300.CCSIERPRoleCenter.al(93,34): error AL0185: Page '"Stockkeeping Unit List"' is missing
src/Page%20Extensions/Pag-Ext68222.CCSIERPReqWorksheet.al(12,31): error AL0320: The referenced page 'CCS IERP Inv. Schedule FactBox' must specify a 'SourceTable'.
src/Page%20Extensions/Pag-Ext68222.CCSIERPReqWorksheet.al(18,32): error AL0118: The name '"Order Date"' does not exist in the current context
src/Pages/Pag68300.CCSIERPRoleCenter.al(106,38): error AL0185: Page '"Vendor List"' is missing
src/Pages/Pag68300.CCSIERPRoleCenter.al(114,38): error AL0185: Page '"Demand Forecast Names"' is missing
src/Page%20Extensions/Pag-Ext68222.CCSIERPReqWorksheet.al(1,55): error AL0247: The target Page "Req. Worksheet" for the extension object is not found
src/Page%20Extensions/Pag-Ext68300.CCSIERPBusinessManagerRC.al(1,60): error AL0247: The target Page "Business Manager Role Center" for the extension object is not found
src/Pages/Pag68300.CCSIERPRoleCenter.al(121,38): error AL0185: Page '"Purchase Order List"' is missing
src/Pages/Pag68300.CCSIERPRoleCenter.al(132,38): error AL0185: Page '"Vendor List"' is missing
src/Pages/Pag68301.HeadlineIERPRoleCenter.al(46,29): error AL0185: Codeunit 'Headline Management' is missing
src/Pages/Pag68302.CCSIERPFCActivities.al(5,19): error AL0185: Table '"Activities Cue"' is missing
src/Pages/Pag68302.CCSIERPFCActivities.al(47,24): error AL0185: Table 'Activities Cue' is missing
src/Pages/Pag68303.CCSIERPIOActivities.al(5,19): error AL0185: Table '"Activities Cue"' is missing
src/Pages/Pag68303.CCSIERPIOActivities.al(36,54): error AL0118: The name 'CCS IERP IO Inventory Costs' does not exist in the current context
src/Pages/Pag68303.CCSIERPIOActivities.al(41,53): error AL0118: The name 'CCS IERP IO Purchase Costs' does not exist in the current context
src/Pages/Pag68303.CCSIERPIOActivities.al(46,55): error AL0118: The name 'CCS IERP IO Total Inv. Costs' does not exist in the current context
src/Table%20Extensions/Tab-Ext68200.CCSIERPItemLedgerEntry.al(1,59): error AL0247: The target Table "Item Ledger Entry" for the extension object is not found
src/Table%20Extensions/Tab-Ext68221.CCSIERPIOLocation.al(1,53): error AL0247: The target Table Location for the extension object is not found
src/Table%20Extensions/Tab-Ext68222.CCSIERPIOItem.al(1,49): error AL0247: The target Table Item for the extension object is not found
src/Table%20Extensions/Tab-Ext68223.CCSIERPIOStockkeepingUnit.al(1,62): error AL0247: The target Table "Stockkeeping Unit" for the extension object is not found
src/Table%20Extensions/Tab-Ext68228.CCSIERPRequisitionLine.al(1,58): error AL0247: The target Table "Requisition Line" for the extension object is not found
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(21,36): error AL0118: The name 'GetAmountFormat' does not exist in the current context
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(21,36): error AL0207: The expression must be of Text type
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(29,36): error AL0118: The name 'GetAmountFormat' does not exist in the current context
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(29,36): error AL0207: The expression must be of Text type
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(37,36): error AL0118: The name 'GetAmountFormat' does not exist in the current context
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(37,36): error AL0207: The expression must be of Text type
src/Table%20Extensions/Tab-Ext68300.CCSIERPActivitiesCue.al(1,56): error AL0247: The target Table "Activities Cue" for the extension object is not found
src/Tables/Tab68201.CCSIERPFCConfigLines.al(48,73): error AL0185: Table 'Item' is missing
src/Tables/Tab68201.CCSIERPFCConfigLines.al(57,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68201.CCSIERPFCConfigLines.al(70,29): error AL0185: Table 'Location' is missing
src/Tables/Tab68201.CCSIERPFCConfigLines.al(108,29): error AL0185: Table 'Production Forecast Name' is missing
src/Tables/Tab68204.CCSIERPFCRequestLine.al(22,29): error AL0185: Table 'Item' is missing
src/Tables/Tab68204.CCSIERPFCRequestLine.al(28,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68204.CCSIERPFCRequestLine.al(35,29): error AL0185: Table 'Location' is missing
src/Tables/Tab68205.CCSIERPFCResponseLine.al(25,29): error AL0185: Table 'Item' is missing
src/Tables/Tab68205.CCSIERPFCResponseLine.al(31,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68205.CCSIERPFCResponseLine.al(38,29): error AL0185: Table 'Location' is missing
src/Tables/Tab68221.CCSIERPIOConfiguration.al(50,73): error AL0185: Table 'Item' is missing
src/Tables/Tab68221.CCSIERPIOConfiguration.al(59,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68221.CCSIERPIOConfiguration.al(72,29): error AL0185: Table 'Location' is missing
src/Tables/Tab68221.CCSIERPIOConfiguration.al(135,29): error AL0185: Table 'Req. Wksh. Template' is missing
src/Tables/Tab68221.CCSIERPIOConfiguration.al(142,29): error AL0185: Table 'Requisition Wksh. Name' is missing
Special/Installation%20&%20Upgrade/Cod68190.CCSIERPInstallation.al(158,33): error AL0185: Table 'Production Forecast Name' is missing
Special/Installation%20&%20Upgrade/Cod68190.CCSIERPInstallation.al(243,19): error AL0185: Table 'No. Series' is missing
Special/Installation%20&%20Upgrade/Cod68190.CCSIERPInstallation.al(244,23): error AL0185: Table 'No. Series Line' is missing
src/Tables/Tab68223.CCSIERPIOProdOrderPlan.al(22,29): error AL0185: Table 'Item' is missing
src/Tables/Tab68223.CCSIERPIOProdOrderPlan.al(28,29): error AL0185: Table 'Item Variant' is missing
src/Tables/Tab68223.CCSIERPIOProdOrderPlan.al(35,29): error AL0185: Table 'Location' is missing
src/Tables/Tab68224.CCSIERPIOPurchQtyLine.al(30,29): error AL0185: Table 'Item Variant' is missing
2019-07-25T18:31:40.1842750Z ##[section]Finishing: ALOps App Publish to BCDEV

AppCleaner as first task worked without problems.

Manual insallation cause the same problems :(

image

@waldo1001 - do you have any ideas?

BR / Michael

AdminHodor commented 5 years ago

Dear Michael,

Are you sure the on-premise NST has the correct version of NAV mounted ? The error mentions it cannot find the symbols for Application 14.0.

Could you please use the command "get-navappinfo -ServerInstance $ServerInstance -SymbolsOnly" This will display the Applications symbol version found on the NST, which should match the application version the App was compiled against.

Kind regards,