Skip to Content
author's profile photo
Former Member

Error when addon runs on client workstation

Hi,

I have a problem with my addon running on a client wokstation. The addon is created using UIAPI and DIAPI.

It works fine on the server, but gives the following error on a client workstation.

"Activex cannot create object"

What is suspect is that this error is comming when i try to do the following

Set oDIComp = New SAPbobsCOM.Company

although i am not sure at this point of time.

Anyone ever got a similar problem.

Thanks.

Satish.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    Sep 30, 2005 at 10:17 AM

    Hi Satish

    This problem comes when there is some version diff in server and client

    so pls check that both the server and client have the same patch of DI API

    Thanks

    Ankush

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 28, 2005 at 09:19 AM

    Hi Ad,

    No i do not create any activex control.

    There is only one object i try to create inside the function which is SAPbobsCOM.Company.

    Set oDIComp = New SAPbobsCOM.Company

    Apart from that no other object.

    Regards,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 28, 2005 at 09:51 AM

    Hi Adele and Ad,

    Thanks for your suggestion. I will try them and let you know.

    Regards,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 28, 2005 at 09:59 AM

    Hi Alexey,

    I will try your suggestion also.

    Thanks,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 28, 2005 at 07:09 AM

    Hi Satish,

    My first thought is, do you have the DI installed at your client workstation.

    Ad

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 28, 2005 at 07:45 AM

    Hi Ad,

    Yes, DIAPI is installed on the client workstation.

    Regards,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded