Fail to connect DB via DI-API on SAP Business One 9.0 for HANA

Hi,experts.
I am coding a sample program using VB.net on SAP Business One 9.0 for HANA.
But this problem fail to connect DB.
The code relevant to connect DB is below.
============================================-
SAPbobsCOM.Company.DbServerType = 6
SAPbobsCOM.Company.Server = ServerName:30015
SAPbobsCOM.Company.UseTrusted = False
SAPbobsCOM.Company.DbUserName = SYSTEM
SAPbobsCOM.Company.DbPassword = ********
SAPbobsCOM.Company.CompanyDB = CompanyDBName
SAPbobsCOM.Company.UserName = manager
SAPbobsCOM.Company.Password = ********
' Connecting to a company DB
RetCode = SAPbobsCOM.Company.Connect
============================================
(Result)  RetCode = False
(Expected result) RetCode = True
I think this is a commonly difinition on SAP Business One for HANA.,
but I can not find any useful information...
Could you give me advice about this problem?
Best regards,
Yuka Masuda

Thank you for your reply, Maik.
I changed DbServerType from 6 to 9,
and the program works!!
I appreciate your useful information.
Thank you.
Best regards,
Yuka Masuda

Similar Messages

  • Cannot connect SAP Business One with iPad

    Hey all,
    I am new to SAP Business One. And i am exploring SAP Business One Mobile Applicaiton for iPad.
    I've tried to follow the step to set up my both SAP Business One and iPad but failed.
    The message "Connecting to server" keep loading and after few minutes show me "Tje request timed out (-1001)"
    So am I did something wrong? Or miss out something?
    Please advice with this problem.
    Thank you.
    Regards,
    Wai Leng

    Hey Lisa,
    Yes, I've tried what I found in this forum and the Support Portal.
    But it's is failed again.
    As iPad doesn't really need a mobile phone number, so i just simple key in a number for both SAP B1 and my iPad. Is it any problem?
    Another question, I've tested my connection for B1D1, but failed, following is the error message.
    com.sap.b1i.adapter.dia.exception.ConnectionFailedException: Connect to Business One failed.
    (-107) Unable to connect with the specified username and or password
    Anything i miss out?
    Thank you.
    Regards,
    Wai Leng

  • Addon has failed to connect to the DI API. Service Not found

    Hi
    I've upgraded database B1 8.8 SP0 PL11 to B1 8.8 SP0 PL15.
    Addon was complied on B1 8.8. SP0 PL11 envrionment.
    I've error message when I started addon.
    Addon_Name addon has failed to connect to the DI API.
    Error Details:
    Service not found.
    DI API was uninstalled and re installed.
    And I deleted SM_OBS_DLL directory.
    But I can not resolve this issue.
    Please help me,
    Joanne

    Hi Joanne,
    I had exactly the same problem with patch 15 after an upgrade from 8.8 patch 13. The SBO client didn't automatically update so I had to use Add/Remove programs to remove the old client and DI API and then the new client install failed from the B1_SHR folder with a 1158 error (no description).
    What I did to correct it was install the DI API from the <servername>\B1_SHR\B1DIAPI folder and then run the client install afterwards. This time the client install worked fine and I can run addons that use the DI API. I think there was some registry entry issues, maybe with the upgrader or the client installer.
    Kind Regards,
    Owen

  • XL Reporter error Unable to Connect to SAP Business One DI API

    Hi Experts,
    Im getting this error on one of our clients' workstations.
    They have SAPB1 2005A PL 31.
    We've tried uninstalling and reinstalling the DIAPI and the whole client application as well.  Same error.
    It als gives an error after the initial error that says:
    "Security Settings in Microsoft Excel prohibit XL Reporter from running."
    Any suggestions?
    Thanks!

    hi jairus,
    To fix this XLR error 'unable to connect to SAP Business One DI API', do the following:
    1. Go to control panel and uninstall SAP DI API
    2. Run %temp%
    3. Rename the folder SM_OBS_DLL
    4. Go to the patch level package of the patch level you are using and install DI API. If you get a message that the installation already exists, ignore the message and proceed to install DI API.
    XLR should work properly.
    Best Regards,
    David

  • Error Starting XL Reporter - Unable to connect to SAP Business One DI API

    Hi Experts,
    I am getting the error message...
    Unable to connect to SAP Business One DI API
    [SAP Business One DI API]
    Internal error (-8006) occurred [131-183]
    ...when trying to start XL Reporter on one client PC.  Until today, it has been working OK.
    What needs to be done?
    Thanks
    Greig

    Hi Gordon,
    I thought that might be the answer.  Are there any set instructions for a 'clean' client uninstall?
    Thanks
    Greig

  • DI-API Error Company Connect with SAP BUSINESS ONE 2004 - B 7.30.215

    Hi,
    I am using SAP BUSINESS ONE 2004 - B 7.30.215. But in the COM window of the Visual Studio.net is having only
    SAPbobsCOM 6.2 and 6.5.
    While executing the DI connecting program It is showing an error
    the error is -2028 (without description)
    I need to add any patches to connect to company?
    help me..
    Regards,
    Jay

    Hi Jay,
    Here's a post that also refers to the same question you asked.
    Need Help in DIAPI
    Is your problem with the connection? Have you tried to connect using the Data Transfer Workbench? Where do you get this error -2028? Please post your code so we can see what the problem is.
    Adele

  • SAP Business One Integration Services Authentication Failed

    Dear ,
    ALL SAP forum members,
    Iam Using SAP Business One 8.81 PL 06, Micorsoft SQL 2008 R2
    In SLD B1DI and  JDBC, the connections were tested successfully.
    Whenever I log into SBO, I am getting "SAP Business One Integration Services Authentication Failed" error message. I did extensive research on all possible SBO documents dating 1 year back especially in B1ic Troubleshooting Document (New and Old) and searched the length of the SBO forums, but I could not a solution.
    I uninstalled and reinstalled the B1f package many a time. The integration services we re also restarted many times and the connections were all tested successfully. Firewall, AntiVirus also checked.
    In the B1f, in the Monitoring Window, the login is "Ok" but the AuthCheck is "Failed". I checked Authent.Monitor->Authentic Info  and I found the following message under Action message "Wrong Usrname and Password".
    I debugged and i found again "/com.sap.b1i.vplatform.scenarios.authen/sap.Xcelsius/Authenticate_Check.bfd
    But could not understand much of it.
    But i could go no further. The experts are requested to suggest their solutions, If any, to me as Iam stuck in this phase for the last 3 week
    I hope some experts will guide me over this issue
    Thanks and regards
    Ashish Gupte

    Hi Konstantin Ryahovsky
    Thanks for your reply. My problem is solved.
    And frankly speaking i dont know how it was solved. I have not uninstall, install ,not even i had restarted the server also.
    only change i did in SLD >> Maintainance >>> cfg Runtime >>>> Put server IP address instead of server Name and restarted the services.
    Thanks & regards
    Ashish Gupte

  • SAP Business One 9 on HANA - AddOn "AddOnName" Installation Failed

    Hi,
    I'm trying to install an add-on in a SAP Business One 9 on HANA (64 bits) but i'm facing a problem:
    - The add-on installation (from the add-on Manager Form) on windows finish correctly, but after a few seconds the system shows a Message box with "Please wait for add-on installation to finish .....Select Yes if installation finished succesfully, otherwise select No" . After that (YES option selection) the system shows "AddOn [AddOnName]: Installation Failed"
    The making of the .ard file (AddOn registration file) was the same that the generation of .ard file for the SAP Business One 9 for SQL Server (here the addon works correctly). The only difference was the replacement of the DI API dll, UI API dll, AddOnRegGenerator and the AddOnInstalAPI.
    Please Help!..
    Thanks...

    Hi,
    When generating the ard file for the installer, there is a property that defines whether the addon is a 64bit addon.
    https://websmp202.sap-ag.de/~sapidb/011000358700000247582013E/SDK_CompGuide_90.pdf
    Create Add On for 32 bit and 64 bit computer SAP Business One 9.0
    The above link may helpful to you.
    Regards,
    Silambu

  • Unable to create new connection using SAP Business One

    Hi all,
    I am unable to make a connection using the new SAP Business One connetion provided with the 8.8 release of SAP Business One Crystal Report Integration Package.
    There are no Companies available to select from.  When I try to manually type in the company name, the logon fails.  If I then press "Cancel", I get a message that Crystal reports encountered a problem and needs to close.  The details of the error refers to the following DLL: crdb_b1.dll.
    The connection is successful from another PC that only has the Client installed (and uses the License server on our server, which also contains the databases.)
    I have a local installation with my own license server.  I am not even able to connect to the database on my local PC.
    Please can anyone explain why this isn't working?
    Regards,
    Rikard

    Hi Rikard,
    You may get better help if you post your question to the Business One forum. I can' t move your post.
    Thank you
    Don

  • How to connect crystal report 2013 using sap business one data source

    hello Professionals .
    when i try to use data source sap b1 in crystal report 2011 or 2013 i got no list in company database,
    when i try to write it manual i got error "Connection failed".
    I tried to connect OLE DB and ODBC all work fine with me.
    i attached some snapshots .
    Any Advice Please ?

    Hi Mohamed,
    Please check below link.
    SAP Crystal Reports 2011/2013 doesn't show Company Data Base
    SAP Business One Data Source in Crystal
    Crystal Reports - How To - Connecting to your SAP Database - YouTube
    Migrating Crystal Reports of SAP Business One from SQL Server to SAP HANA
    Hope this helps
    Regards::::
    Atul Chakraborty

  • ALD Failed to conect to Sap Business One

    Hi, i install a client in my PC, so when i log in in SBO,so SBO tells me that i need install ALD "its ok, i need it", the install runs rigth, and now i have ALD in my client, i close SBO and openin again.
    Therefore in the init, before i can´t make anything, send me a system message error "Resource error", i click ok, inmediatly another system message "initialization failed" click ok, then another error out of SBO, header "SAP Business One Outlook Advanced Layout Designer", body "Failed to conect to SAP Business One"
    After click Ok, in the last message, i can work with SBO but i can not open ALD, no even print preferences " the 5° check box".
    i did everything i think, reinstall, reg scan, a new DB in sap, nothing works.
    so i someone can help me, thaks to everyone.

    hi Sergio Guillerm... ,
    Check this link with subject Resource error,solution given by Rakesh pati.
    Resource error

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • Error Connecting SAP Business One and Crystal Report

    Hi All,
    I installed Crystal Report 2008 on my system for creating a report in Crystals.
    I clicked on "New Report" and it opened a window called "Database Exert." However, when I look in the Database Expert, I cannot see "SAP Business One" in it. How can I connect SAP Business One 8.8 with Crystal Report?
    Regards,
    Bharath S

    Hi
    On your computer, locate the Crystal folder according to the following directory path: C:\Program Files\SAP\SAP Business One\Crystal. Then double-click the file: SAP Business One Crystal Report Integration Package.exe. and follow the step of the setup status screen.
    Regards
    Christian Carrasco

  • There is a problem with the server's security certificate. The security certificate is not from a trusted certifying authority. SAP Business One is unable to connect to the server

    Hello,
    I have an issue with connecting client SB1H on Windows, the scenario is as follows:
    1.- Server:
         Suse Linux Enterprise Server 11.3 kernel version: 3.0.76-0.11 IBM
         NDB and Server are review 69 SP06
    2.- Client:
         Windows 8 Pro Virtual Machine on Microsoft Hyper-V
         SB1H PL 11 version 32bits    
         SAP HANA Studio version 1.0.60
    When I run SB1H the following message appears:
    There is a problem with the server's security certificate. The security certificate is not from a trusted certifying authority. SAP Business One is unable to connect to the server.
    Any idea what could be the solution?

    Hi,
    Please check SAP notes:
       1993392 - Server components setup wizard: New default values for certificates and single sign-on option
    1929288 - Do not configure SSL for XApp during installation or upgrade if XApp is installed on a different machine than the SAP HANA server
    Thanks & Regards,
    Nagarajan

  • Get SAP Business One connection

    Hi all.
    I'm creating a report using Crystal Reports Basic 2008 for SAP Business One and I have a question.
    Our client has three databases under one server, so, I'm creating three reports and i'm conecting them under a UDL file.
    My question is if it's possible to get the actual SAP Business One connection when the report is call? Because this way, I can only make a report instead of three.
    I hope I was able to express myself best. I'm thank you and i'm waiting. Thanks.
    The system have:
    Windows Server 2008 SP2
    SQL Server 2008
    SAP Business One 8.8 PL 11
    Crystal Reports Basic 2008 for SAP Business One 12.1.0.892

    Hi,
    I don't think that is possible since the sequence to run CR is after connecting to a specific database.
    Thanks,
    Gordon

Maybe you are looking for

  • With my current setup how much ram do you think I would be using up?

    Hey Apple Community!!!!! Recently bought my first Apple Product, a couple months back bought a 13in Macbook Pro and so far I love it but recently have been having some wierd issues. I am a Green Horn with a capital "G" when it comes to apple software

  • Dynamic procedure to output csv file

    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production PL/SQL Release 11.1.0.6.0 - Production CORE     11.1.0.6.0     Production TNS for Linux: Version 11.1.0.6.0 - Production NLSRTL Version 11.1.0.6.0 - Production I am trying t

  • About A/R Cr.Memo and A/P Cr memo .

    Dear Friends, There are A/R Cr.Memo in AR side and A/P Cr memo in AP side. Can explain me its purpose in respective side,please. And how it relate to Db. Note and Cr.Note. Regards, mahesh

  • Ipod Touch 3G won't Rotate / Won't Restore OS5

    Hi - For some months now I have had a problem with my Ipod Touch not rotating. At first it was annoying but I have learned to live with it. And yes, before you ask I did check the setting on the Ipod to make sure the rotate wasn't locked. Today I dec

  • Process getting killed automatically

    Hi I am using jdk 1.5 and java processes are getting killed automatically on server. Processes were working on test servers. Is anybody facing the same issue or knowledge about the same. Regards, Niraj