Note that there are multiple versions of this error:
304 - The specified resource name cannot be found in the image file
226 - The specified resource name cannot be found in the image file
313 - The specified resource name cannot be found in the image file
If you get this during startup of Add-on
Please see SAP Note 2029714 - Entry 24 (Issue is caused by SAP changing the License port in SAP 9.2 PL05 and you need to change it in the B1LocalMachine.xml of the DI-API) - You can see this video on how to fix it: https://youtu.be/EQoqX6hJUBQ
(NB: Remember that if the port indeed needs to be changed then you might also need to reflect this change in Firewall etc.)
SAP note on the issue 2029714:
22. Error: Connect to Business One failed. (-10) The specified resource name cannot be found in the image file
- Root Cause
The license server cannot be reached. - Solution
Start the license server or verify the license server address and TCP IP port.
24. Error: Connect to Business One failed. (-10) - The specified resource name cannot be found in the image file.
- Root Cause 1
Code change in SAP Business One 9.2 PL05 (per SAP Note 2375647) and above versions require that server names be specified exactly the same in the below places:
a. System Landscape Directory → Servers and Companies → Server Name
b. Integration Framework → SLD → B1i Server → Find the company DB → b1Server field and sldServer field. - Solution 1
Ensure the values are maintained exactly the same in the above places. - Root Cause 2
The SLDAddress value is not correctly set in the DI API's configuration file (..\SAP\SAP Business One DI API\Conf\b1-local-machine.xml). - Solution 2
For more details please refer to the SAP Note 2352940. - Root Cause 3
The license server cannot be reached. - Solution 3
Start the license server or verify the license server address and TCP IP port. - Root Cause 4
The B1DI connection points to the SBO-COMMON database. - Solution 4
Testing the connection to the SBO-COMMON database is not required since it is not a company database. - Root Cause 5
Unkown root cause. - Solution 5
-
- Disable IPv6.
- Make sure the SLD Address is correct as per Root Cause 3 above.
- Flush the DNS with the command ipconfig / flushdns
- Restart SAP Business One Integration Service.
If you get this during the setup of the Server component
When setting up the server component you may encounter the error "(-10) The specified resource name cannot be found in the image file".
The root cause of the issue is currently unknown but in most cases, the issue is that you wrote the server name incorrectly compared to what is setup in the SLD.
Please make sure that the connection information is correct and that you wrote the exact same thing in the database server as what is registered in the SLD.
Restarting the server also helps sometimes as it seems the DI-API can get in a state where this error always happens until the server is restarted (SAP bug).
If the issue still persist after verifying the connection information please try to use the DTW tool from SAP and see if you can connect with the same data on the same machine.
If you cannot connect using DTW you need to contact SAP support. (here is more information why this is an important test: https://www.youtube.com/watch?v=mlhaqitA26I&t=1s)
Comments
0 comments
Please sign in to leave a comment.