Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

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

    Hi Alexey,

    I will try your suggestion also.

    Thanks,

    Satish.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

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

    Hi Ad,

    Yes, DIAPI is installed on the client workstation.

    Regards,

    Satish.

    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.