SAP DI-API Error "-10 - The specified resource name cannot be found in the image file." [SBO 9.2 and lower]

  • Updated

New to B1 Usability Package? Check this 5-minute overview for easy SAP Business One Automation, Reporting, Screen Customization, and more!


Warning: Error Code -10 is a very generic error code from DI-API and can mean almost everything :-( ... This article however only cover when you get it during a DI-API Connection

What is the reason for this error and how to fix it?

There can be multiple reasons for this Error as this is SAP's general Di-API error in SAP 9.2 (In SAP 9.3 This error is instead reported back as error code "-132", "-304" or "-315"]

Possible Reason How to Solve

Wrong username/password
You entered a wrong SAP username and/or Password (or the user do not exist anymore)

Re-run server-component and double-check that user exists and username/password is entered in the right casing (if in doubt try and log into the SAP B1 Client with the same credentials)

IP-Adress Instead of given name or vice versa
As server name, you have entered an IP Address but in the SAP System Landscape Directory (SLD) it is entered with a given name (or vice versa)

Log into the SLD and note down the method used (IP or given name). Then re-run the server-component and entered the server name in exactly the same manner as SLD
The Server name is wrong
Server name of where the SAP Server Tools are installed is incorrect (most often cause of this is rename of the server)
Re-run the server component so it can know the new Servername
Server name without a port [HANA Only]
When you enter the server name for a HANA System you need to include the port (normally 30015)
Re-enter the server name with the port in the server-component
Incorrect Server name casing [HANA Only]
HANA Only: When you enter the server name for a HANA System the server name is case-sensitive
Double-check that you have the right server name casing
Incorrect Database casing
SAP Database names are case-sensitive so if your database is called 'SboDemoUS' you change the name of it to example 'SboDEMOus' (different casing) you can get this error from the DI-API
Re-run the server component so it can know the new database name
Windows Service "SAP Business One Server Tools Service" is not running
This service runs the SLD, and if not running you can't connect to the SLD
Check Windows Services that the service is running on the machine running the server-component
Wrong configuration of Tomcat Server
This is due to a mis-configuration of the Apache Tomcat Server. 
Please see SAP note: https://launchpad.support.sap.com/#/notes/2526992 on how to fix it

 

Video on how to fix:

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.