Trong một số trường hợp, quá trình cài đặt gặp vấn đề và muốn giảm thiểu thời gian dò tìm và xử lý các lỗi gặp phải, cách gỡ bỏ (uninstall) và cài lại (reinstall) sẽ là cách phù hợp trong tình huống này.
Symptom
You are installing/uninstalling SAP Business One, version for MSSQL Server Tools and you encounter an error.
Reproducing the issue
Scenario:
Run the installation/uninstallation of SAP Business One Server Tools.
Actual behavior:
SAP Business One Server Tools installation/uninstallation fails with errors.
Cause
System behavior/ Functionality description/ Business process
Solution
Workaround:
To reduce downtime for the customer, we recommend performing a forced uninstallation and then a clean installation. Follow the steps below:
- Clean up the old installation:
- Uninstall SAP Business One ServerTools via Add/Remove programs (Control Panel → search for SAP Business One ServerTools → Uninstall).
- In case it does not exist, manually force the uninstallation of the component by running cmd.exe as Administrator:
- msiexec.exe /x {“ProductCode”}
- You can find the correct product code of the component in the setup.ini file in the upgrade package (Packages → ServerTools → setup.ini file).
- Take a backup of the SLDModel.SLDDatadatabase via MSSQL Server Management Studio and then delete it.
- Rename the folder C:\Program Files (x86)\SAP\SAP Business One ServerTools.
- Back up the registry before executing the next step.
- Clean the registry by going into regedit.exe and searching for “ProductCode” (Packages → Server Tools → setup.ini file).
- Reboot the machine.
- New installation:
- Pause or stop any active Antivirus software.
- Start the SAP Business One Server Tools installation from SAP Business One Setup files → Packages → Server Tools → setup.exe. Run setup.exe as Administrator.
Keep in mind the following before starting a new installation:
- When defining the B1SiteUser password, do not use any special characters, as listed in SAP Note 2330114 – B1SiteUser password with special characters leads to component installation failure.
- Refer to SAP Note 2760843 – Install and Upgrade of Server Tools Fails When Site User Password Contains Special Character ‘ ‘ (space).
- Refer to SAP Note 2716301 – Upgrade of SAP Business One Fails with Error.
- Note the system behavior after SAP Business One 10.0 FP 2111. Refer to SAP Note 3063691 – Installation of the 64-bit Server Tools Components: System Landscape Directory, License Service, Job Service, Work Flow, DI Server.
The applications are 64 bits. The installation folder Packages.x64\Server Tools\ does not exist. The server tools components are installed from Packages.x64\ComponentsWizard.
For SAP Business One version 10 FP2111 and later:
Clean up the old installation:
- Uninstall SAP Business One Components Wizard via Add/Remove programs (Control Panel → search for SAP Business One Components Wizard → Uninstall).
- Rename the folder SAP Business One Servertools from “C:\Program Files\SAP”.
- To unregister or performing a clean uninstall the SAP Business One Servertools setup, select each component under \\..\\B1100_PL2111\Packages.x64\ComponentsWizard\MSI, right click and select Uninstall.
- Reboot the machine.
New installation:
- Temporarily disable any antivirus, firewall or proxy enabled on the server machine.
- Navigate to the installation folder \\..\\B1100_PL2111\Packages.x64\ComponentsWizard.
- Right click on Install and run the setup with Run as administrator.