Hi
I am getting error - Error connecting to SAP Business One: B1 License Error Unknown error #100000060
InitializeComponent();
SAPbobsCOM.Company oCompany = new SAPbobsCOM.Company();
oCompany.Server = "10.0.1.128:30015";
oCompany.DbServerType = BoDataServerTypes.dst_HANADB;
oCompany.CompanyDB = "NEW_LIVE";
oCompany.UserName = "manager";
oCompany.Password = "SAP";
oCompany.language = BoSuppLangs.ln_English;
oCompany.UseTrusted = true;
Thanks
Jayraj ChhayaPosted Feb 5, 2025, 7:21 AM
Hi @Ramco Ramco,
The "B1 License Error Unknown error #100000060" typically indicates an issue with the license configuration or the connection parameters in your SAP Business One setup. Here are a few steps to troubleshoot and resolve this error:
Check License Validity: Ensure that the SAP Business One license is valid and not expired. You can verify this in the SAP Business One client under the License Administration.
Connection Parameters: Double-check the connection parameters in your code. Ensure that the server address, database name, username, and password are correct. For example:
Use Trusted Connection: If you are using a trusted connection, ensure that the user has the necessary permissions in the database. If not, consider setting
UseTrustedtofalseand providing valid credentials.Firewall and Network Issues: Ensure that there are no firewall or network issues preventing the connection to the SAP Business One server.
SAP Business One Service: Verify that the SAP Business One service is running on the server.
If the issue persists after these checks, consider consulting the SAP Business One support documentation or reaching out to SAP support for further assistance.