cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with different patchlevels?

Former Member
0 Likes
441

Hi there...

We are developing a add-on for SBO, and because we have a few consultants, they are the perfect guinea pigs...

But now we are getting problems, as they run our add-on. And it looks to have something to do with the patchlevels. If they have a different patchlevel, the add-on wil install and start just fine, but getting run time errors. We constantly get an error that the add-on will be killed and restarted.

Does this sound familiar, or am I doing something wrong?

Thanks in advance...

View Entire Topic
Former Member
0 Likes

Hi

I got the same problem. I build an application (not add-on) interacting with the DI-API. When installed in the client, big crashes, nothing worked. It took some time to realize the problem with DI-Api versioning.

The biggest problem is not always the biggest patch version supports an older version. So, you should have all the machines with the same patch. And with any new patch, test your add-on.

sorry

Harold

Former Member
0 Likes

Yes, it occurs when using the DI-API, but the add-on can be restarted, and it can get data from the database... But most of the time it chrashes...

But are we doing anything wrong, or is it a (big) bug in SBO?

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Likes

R.,

With most, if not all, SAP Business One Patch Levels, there is an upgrade to the DI API. If you look at the PL zip file that you downloaded, you will see there is a DI API install. You always need to uninstall the existing DI API and reinstall from the new patch. You will get errors if the version of the DI API is not in synch with the upgrade that you applied to Business One.

Hope this helps,

Eddy

Former Member
0 Likes

hey Eddie,

If always uninstall the previous DI-API version, and installl the correct one, that's not the problem. The problem is, that if I compile an add-on on a machine running PL21, the add-on does not work on machine's using PL24, or PL29, or PL31 for example... (Not backwards compatible?)

So a add-on compiled on a certain patchlevel will not run on another patchlevel. That's the problem I'm having.

I could understand that a add-on compiled on PL31 not works under PL24, (both ways won't work) but it would be very sloppy when the DI-API is not backwards compatible...

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Likes

R.,

As a standard course of action, you should always compile your code at the same DI API patch level that you will run it on. I will speak with development here at SAP about the issue as it has come up from time to time, but in the meantime, make sure the DI API's are equal.

Eddy