Skip to Content
author's profile photo Former Member
Former Member

Blanket Agreement add-on error

Hi Experts,

Still new on add-on development. Have gone through the Blanket agreement sample in SDK though have created the ard and install using BIDE as the tutorial was not very clear towards the end. After registering the add-on in SAP b1 8.8 PL10 and run it I get the error message" Object reference not set to an instance of an object" then "the add-on connection timed out"

Attached is the screen shot and error message, I am suspecting something wrong with the code but I am not sure please help.

Is there a step by step tutorial for creating a simple add-on using BIDE, coz I am suspecting SDK's blanket agreement has errors.


Blanket err.JPG (136.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 10, 2013 at 06:29 PM

    Hi Patrick.

    I'm not sure why the sample does not work for you but try my suggestions:

    1. Check if you are running the addon in a 64bits processor. If so rigth click on your project, select Properties and in the build tab change "Platform target" from "Any cpu" to "X86". Until SBO 9 SDK only works in 32 bits architecture.
    2. Remove the SAPBobsCOM and SAPBouiCOM references from your project and add them again manually.
    3. Check under programs and features if you have installed "SAP Business One DI API". If not install it from the server shared folders.
    4. Reinstall DI API.
    5. If problem persists change the connection method via cookie for the new method. Check the "New UI DI Connection" sample project for more reference.

    Maybe one of this solutions may helps you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.