2024 Feb 23 2:09 PM
On SAP Connection using DI API I'm receiving error: "-147 Get CurrentUserInfo failed".
diCompany.DbServerType = (BoDataServerTypes)Glo.DbServerType;
diCompany.Server = Glo.Server;
diCompany.DbUserName = Glo.DbUserName;
diCompany.DbPassword = Glo.DbPassword;
diCompany.CompanyDB = Glo.CompanyDB;
diCompany.UserName = Glo.UserName;
diCompany.Password = Glo.Password;
Glo.retCode = diCompany.Connect();
Can't find any information regarding this error on connection. Please assist?
2024 Feb 24 12:55 PM
Hi NicoleL,
Can you include SLDServer property in the DI code and check the connection again after setting the correct value for this property?
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
2024 Feb 26 9:21 AM
Hi ANKIT_CHAUHAN,
Added the below code:
diCompany.SLDServer = Glo.SLDServer;
diCompany.LicenseServer = Glo.LicenseServer;
Still receiving the "-147 Get CurrentUserInfo failed" error on SAP10 connection.
Just to give more information, the client upgraded from SAP9 to SAP10. SAP9 the service ran 100%, but not on SAP10.
We also have created multiple SAP10 services where it connects to SAP10 perfectly. Do you think it can be SAP user of installation failure?
Kind regards,
Nicole Lombard.
2024 Feb 29 7:58 AM
Dear NicoleL,
Kindly confirm have you enabled SSO (any IAM related service in SLD) ?
Also, C:\Program Files\sap\SAP Business One DI API\Conf\b1-local-machine.xml does it point to the right SLD Address?
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
2024 Feb 29 1:56 PM
Good afternoon ANKIT_CHAUHAN,
Our support team just confirmed that everything is 100%, the DNS resolves the address perfectly.
Kind regards,
Nicole.
2024 Mar 13 12:28 PM
Hello Nicole,
I am struggling with a similar problem when running Boyum in SAP B1 PL 2305. several times a day we get an error: -147 Get CurrentUserInfo failed
Can I ask you to let me know what finally fixed the problem with this error in your case? Editing b1-local-machine.xml or maybe something else?
Best regards,
Luke
2024 Mar 13 12:46 PM
Hi @LuckyLuke ,
I will make a post as soon as we are also able to solve the issue explained. We are currently running SP2305.
Our support team validated all the configuration of SAP, still no issue found. Our next option is to perhaps upgrade client to latest version.
Kind regards,
Nicole.
2024 Mar 23 2:34 AM
Hello @NicoleL!
I'm experiencing the same issue that was mentioned. I developed an Add-On for SAP 10 SP 2311 and I'm facing these problem, because after 30 minutes using DI API, the attribute "Company.Connected" returns me the 147 error.
I didn't find any SAP Note that mentioned what I can do to solve.
If you have solved, please let us know!
Thank you!
2024 May 14 4:10 AM
Hello,
We got same issues on SP2402 HF1. Do you have the solutions?
2024 Jun 26 3:25 PM
Good afternoon @ANKIT_CHAUHAN,
Any feedback on the above?
Please note that we are having the same issue on another client (SP 2402).
Kind regards,
Nicole.
2024 Jun 26 3:29 PM
Dear NicoleL,
We have managed to reproduce this issue.
Kindly refer to SAP Note 3476649 for the same.
Hope it helps!
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
2024 Jul 01 11:01 AM - edited 2024 Jul 02 8:27 AM
Hello @ANKIT_CHAUHAN ,I tried the workaround fom the SAP Note 3476649 however the issue still persists on one SAP Client. On other SAP Clients the AddOn doesn't have the problem
SAP B1 Version: SP2402 HF1
SSO is not active and there are no active Identity Providers
Other steps were uninstalling DI API and re installing it and completly uninstall Client and other components and reinstall it.
EDIT: In my case where the error message occured 1 minute after application start the problem was a very strict antivirus which blocked the application. After making an exception, it worked.
Kind Regards
2024 Jul 22 7:56 AM
Hi @ANKIT_CHAUHAN ,
Any feedback please?
Kind regards,
Nicole.
2024 Jun 27 7:07 AM - edited 2024 Jun 27 7:09 AM
Hi @ANKIT_CHAUHAN
When will this issue be solved as it causes allot of issues when working with services that connect to SAP Business One version 10 every 10 minutes?
As of this moment we must create windows task schedules to restart the applications as we can't do this manually for each clients development.
Kind regards,
Nicole.
2024 Jun 27 7:14 AM
Hi @ANKIT_CHAUHAN
Another issue we are getting on SAP connection is: -146 - Tenant is not exist
This is when one service connects to multiple companies/DBs, only from a certain SAP version was this an issue, will this be fixed of is this new validation?
Kind regards,
Nicole.
2024 Aug 20 7:27 AM
When will this issue be solved as it causes allot of issues when working with services that connect to SAP Business One version 10 every 10 minutes?
As of this moment we must create windows task schedules to restart the applications as we can't do this manually for each clients development.
Another issue we are getting on SAP connection is: -146 - Tenant is not exist
This is when one service connects to multiple companies/DBs, only from a certain SAP version was this an issue, will this be fixed of is this new validation?
Kind regards,
Nicole.
2024 Oct 29 3:16 PM
Hi, im having this same issue in an instalation of SAP v10 FP 2405 with the Boyum B1UP addon.
Is there some update on how to solve it?
Thanks