Hi,
Please take a look in this link https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F6465...
3. Error: “Permission Denied”
This error type shows that the server is accessed properly and returns an answer to the mobile. Usually, one of the root causes listed below is responsible. The error message on mobile contains relevant information which helps troubleshooting, such as: company DB, user ID, phone number, and Device ID:
- Root cause 1: The user name or password is incorrect.
- Solution 1: Ensure the user name and password is exactly the same as defined in SAP Business One. Verify by logging into SAP Business One with this user. Note that the user name is currently case-sensitive for mobile. See SAP Note 1553639 for more details
- Root cause 2: The phone number entry in device settings for the app does not match the definition in user master data.
- Solution 2: Always ensure identical entries for the phone number. In case of an iPad, put a matching dummy phone number in the user master data and Business One configuration on iPad. This number verification is just another security check.
- Root cause 3: The device identifier is incorrect.
- Solution 3:
- For app 1.6.0 or higher, ensure the MAC address of device (find MAC address in Settings->General->About->Wi-Fi Address) is correctly entered in user master data.
- For 1.5.0 and older, ensure the value of the Device UDID (find the identifier UDID via iTunes) is correctly entered in user master data.
- Root cause 4: The user is not configured to be a mobile user in user master data.
- Solution 4: Ensure the mobile user checkbox is selected for the user connecting via the mobile app.
- Root cause 5: The correct licenses are not assigned.
- Solution 5: Firstly, make sure the license server works properly. Ensure the correct license is assigned to the user. B1i technical user shall have B1i license and all the mobile users shall also have B1i license together with one of the following licenses: Professional, Limited Financial, Limited Logistics, Limited CRM, Starter Package, CRM Sales User (legacy) and CRM Service user (legacy). Please check the documentation "SAP Business One for iPhone and iPad" for details.
- Root cause 6: A different server is specified in the SLD.
- Solution 6: For SAP Business One 8.81PL05 and below, the format is “servername/databasename” or “servername\InstanceName/databasename” (when there is SQL Instance).
For SAP Business One 8.81PL06 and above, “/databasename” can be removed in the above strings.
After changing, deactivate and activate the scenario again (Integration framework -> Scenarios -> Setup -> Mobile Scenario). - Root cause 7: A different database is specified in the SLD.
- Solution 7: Ensure SLD->JDBC->url: databasename is exactly the same as defined in SLD->Connectivity List->B1DI->Company.
- Root cause 8: Integration Framework->SLD->B1i Server->WSforMobile->WSAR->associatedSrvIP, it is inconsistent with the other server settings. (some are server name, some are IP address)
- Solution 8: It should be consistent with the other server setting: all using server name, or all using IP address. Especially in the following fields:(after change them, please restart B1i DI Proxy related services and SAP Business One Integration Service)
Integration Framework > SLD > B1i Server > [company database] > B1DI > b1Server
Integration Framework > SLD > B1i Server > [company database] > JDBC > url
EventSender Setup > Step 1 > DB Server Name
License Manager > Configure Security > DB Server - Root cause 9:B1i DI Proxy not work properly.
- Solution 9: Restart B1i DI Proxy service.
- Root cause 10: The license is newly assigned to the mobile user.
- Solution 10: Restart the license service.
- Root Cause 11: There is an SQL server instance name. (Database Server name format is like “BTSV60188233L\SQLEXPRESS”)
- Solution 11: Please refer to SAP Notes 1621563 and 1619422.
- Root Cause 12: There are old or inconsistent entries in SBO-COMMON->SLSP or SLSPP tables.
- Solution 12:
- De-activate and re-activate the sap.B1System scenario (B1i Framework UI, click Scenarios in upper menu, then select Control in left menu).
- Delete all entries of table SLSP and SLSPP in SBOCOMMON. Restart integration service.
- In SAP Business One-> Administration->Choose Company, in this form, click “Refresh” button.
If none of the listed root causes can be identified, go to Integration Framework -> Monitoring -> Process Control ->Framework Processes-> B1AuthCheck ->IPO log, and check its relevant IPO logs and ExecDetails. For example, whether the correct DB is called, or reasons for failed authentication check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.