When the add-on starts, the system generates an error message immediately which is similar to the following:
Error in RunClass.Main: Internal error (-131) occurred [131-183] -
OR the add-on just fails to start completely with an SAP Business One message to continue working without the add-on.
This error is generally only related to certain machines in the environment rather than to each user and is generally related to one of four issues:
1. SQL Connection to the Database
Generally this should be picked up and a specific error message provided outlining that there is an issue with the credentials. However, it is worthwhile resetting the SQL credentials which can be done by running the Eralis_Setpassword.exec utility which is located in the add-on directory normally found in:
C:\Program Files (x86)\SAP\SAP Business One\AddOns\Enprise Solutions\Enprise Job Costing
Note: If setting the password in a Windows 7 / Vista / Server 2008 and above environment - use the right click option to Run as Administrator.
2. An Issue with the SM_OBS_DLL Folder
This is a folder created by SAP Business One when an add-on starts, which creates connection information used by add-ons. The folder is generally created in the user's temp folder.
Locate the temp folder by going to Start > Run and type %temp% (the directory will be something like this: C:\Users\Administrator\AppData\Local\Temp).
Locate the SM_OBS_DLL folder and rename / remove it.
Try restarting the add-on.
3. An Issue with the DI-API
An issue with the DI-API is the most common reason for this issue and should probably be your first step in trying to resolve the issue.
Go to the Windows Control Panel to the option allowing you to Add / Remove Programs. This is Program Features within Windows 7 and Add / Remove Programs in other Windows versions.
Within the list of installed programs there should be a program called SAP Business One DI API - select this program and do a complete uninstall.
Once this has been removed restart the machine.
Inside the Packages directory of the SAP Business One version and patch level that is being run on the client machine, there will be a folder for DI API which contains the installation files for re-installing the DI API.
Please ensure that you are running this as administrator (use the right click Run as Administrator option) and, if you are installing on a terminal server, you need to do the installation onto the console session and not as a normal user session.
After the install, it is recommended to restart the machine again and then try starting the add-on.
4. An Issue with the .Net Framework That is Installed
During the installation of the add-on we check the .Net version - but if something happens after the installation, this can create issues for the add-on. Please check the documentation for the add-on to establish the .Net framework version required and then carry out an uninstall and re-install of the .Net Framework version.
Comments
0 comments
Please sign in to leave a comment.