Developer forum

Forum » Integration » Error running batch job

Error running batch job

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I upgraded a solution to 9.12.4 and now I get this when running an integration task:

License error: eCom_DataIntegrationERPBatch_BC module is not installed

It's a normal Import data  with custom request add-in and we're not using BC (but connecting to NAV instead).

Any idea?

Imar


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Imar,
what is your response from the NAV?
I mean the version attribute value: <?xml version="1.0" encoding="utf-8"?><tables version="1.2.0.14_NAV11.0.19394">
So if the version is 13.0 or higher than it is considered as BC and it needs to have the "eCom_DataIntegrationERPBatch_BC" license feature installed.
BR, Dmitrij

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I get back 09:

<tables version="1.2.0.8.00001_NAV090417.14199">

And we got that back yesterday as well when everything worked just fine.

Imar

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

That is because of a new licensing feature introduced in the latest 9.12.4 version. So now all BC import addins and the Live integration require the new license features:
eCom_DataIntegrationERPBatch_BC and eCom_DataIntegrationERPLiveIntegration_BC.
It looks like the problem is with NAV 090417.14199 returned version so DW considers 090417 to be more than 13.0 and takes it as a BC but not as NAV.
Mine NAV2018 returns me the version like that: _NAV11.0.19394
Could you change the code unit in NAV GetVersion procedure so it returns the value like 09.0.14199?
Or refresh the license by going to the
Settings->System->License information -> Refresh license and check new
eCom_DataIntegrationERPBatch_BC and eCom_DataIntegrationERPLiveIntegration_BC

features appeared in the list?

BR, Dmitrij

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks, Dmitriy. I can see how that can be an issue. Looks like we're getting some unforeseen version numbers then.

Changing the code now is not really an option as it requires a third party to change the code. I think adding the license will solve the issue so I'll ask support to do that.

Thanks!

Imar

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

BTW, will you flag this as a bug and have it fixed for later versions?

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Ok, but this should also work in the NAV codeunit. So probably the bug is somewhere in it in the GetVersion, so at some NAV version the GetVersion seems works not correct.
What is your NAV version and codeunit version?
Mybe I'll look how to fix it on the next codeunit version.
BR, Dmitrij

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Imar,
yes, this is a bug and needs to be fixed. Could you answer the questions above?
This is needed to find out in what version of NAV and what version of Codeunit this bug appears.
Thx
BR, Dmitrij

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

It's NAV 2017. For the version of the code unit I see this

Version := '1.2.0.8.00001';

but also this

Version List=1.2.0.11_NAV2017,DW;

Is that what you are looking for or do you need more specific information?

Imar

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Imar

Bug #5864 on NAV licensing has been fixed in Dynamicweb 9.12.5

You can get this from the download section https://doc.dynamicweb.com/downloads/releases

Kind Regards
Dynamicweb Support
Kristian Kirkholt

Votes for this answer: 1
 
Michael Knudsen
Reply

Running a new DW9.12.9 solution with a Trial license + connected to a on-prem BC installation - and I'm getting the same error as Imar:

"License error: eCom_DataIntegrationERPBatch_BC module is not installed"

<tables version="1.2.0.17_NAV14.3.34444">

Any hints to solve this?

Br. Michael Knudsen

 

 

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Michael,
That is because of a new licensing feature introduced in the latest 9.12.4 version. So now all BC import addins and the Live integration require the new license features:
eCom_DataIntegrationERPBatch_BC and eCom_DataIntegrationERPLiveIntegration_BC.
Try to refresh the license by going to the
Settings->System->License information -> Refresh license and check new
eCom_DataIntegrationERPBatch_BC and eCom_DataIntegrationERPLiveIntegration_BC

features appeared in the list. If they did not appeared please contact Dynamicweb support for buying/including them into your soulution.
BR, Dmitrij

 

You must be logged in to post in the forum