2788059 – How to Perform a Clean Reinstall of SAP Business One, version for MSSQL Server Tools

SAP Business One reinstall MS SQL

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:

  1. 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.
  1. New installation:
    1. Pause or stop any active Antivirus software.
    2. 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:

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.
Picture of Trần Văn Sơn

Trần Văn Sơn

Với 18+ năm kinh nghiệm và 50+ dự án thành công, tôi chuyên giải quyết bài toán quản trị từ gốc rễ quy trình và con người. Phương châm của tôi là hướng doanh nghiệp vận hành theo chuẩn SAP B1 toàn cầu, đảm bảo hệ thống vận hành đơn giản, hiệu quả ở hiện tại và dễ dàng nâng cấp, mở rộng trong tương lai.
Thảo luận và chia sẻ kinh nghiệm
Bạn có gặp tình huống tương tự khi sử dụng hệ thống SAP Business One?

Bài có liên quan theo chủ đề đang xem

Scroll to Top