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

UI: Failed connecting to the company's database


I'm a beginner with SAPb1 development and I'm trying to practice a little bit before starting real development. I try to use the sample "HelloWorld" which uses the UI API. When I start it, I always have this message : "Failed connecting to the company's database". I've got no idea why ?

Does anyone can help me ?

By the way, if someone can tell me how to use a form made by Screen Painter in Visual Basic 6 that would be nice as I don't find a lot of information about that.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Apr 07, 2004 at 08:23 AM

    Hi Vincent,

    first of all I would like to recommend you very strongly to get trained for SAP Business One SDK, if you want to do "real development"!!!

    In addition to that, please use a prefix for the topics like "UI: " or "DI: " or "SBO: " to allow a faster monitoring of the posts.

    Did you follow the installation instructions?

    Do you use a named instance of MS SQL Server (some additional configuration has to be done in this case)?

    Did you modify the sample?


    Please use the documentation shipped. Check the UI help file in addition to that. In this case ("use a form...") e.g. search for "XML". You will find several entries listed. One of them is about the "LoadBatchActions" method of the application object what is the starting point of what you are looking for!

    The rest of it is plane UI API programming (events, loading, data bindung etc.) what you would learn in a SDK Training (see SAP Service Marketplace "Education" area for that).

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2004 at 01:18 AM

    OK. Thanks for the information. I retry this morning and everything work perfectly.

    For the training. That's a really good idea but as my company is based in Sydney, that's not really easy to come back in Europe just for a training. So I have to learn a little bit by myself and try to train as much as possible.


    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.