Setting Up the SAP HANA Plug-in

This tutorial describes how to use SAP HANA with Microsoft Visual Studio 2017.


This tutorial requires that you have running SAP HANA instances.

This tutorial uses the SAP HANA, express edition installation.


  1. Make sure that you do not have any instances of Microsoft Visual Studio running while you are installing the plug-in.
  2. Download and install Microsoft Visual Studio (for example, from published on non-SAP site).
  3. Go to SAP HANA, express editionInformation published on SAP site to download the SAP HANA, express edition Download Manager, which includes the SAP HANA plug-in for Microsoft Visual Studio.
  4. Enter your registration information, accept the license agreement, and click Register.
  5. Verify that you have the appropriate version of the JRE installed.
  6. Download the appropriate version of the Download Manager (Linux, Microsoft Windows, or platform independent).
  7. Run the Download Manager.
  8. Select Clients (Windows) in the Download Manager.
  9. Click Download to download the file.
  10. Navigate to the directory where you downloaded the file and unzip it. This ZIP file contains the following files:
  11. Navigate to the directory where you unzipped the file, and unzip the file, which creates the HDB_CLIENT_WINDOWS_X86_64 directory.
  12. Navigate to the HDB_CLIENT_WINDOWS_X86_64 directory and run the hdbinst.exe utility. Follow the onscreen instructions. This utility installs the Microsoft Visual Studio plug-in.
  13. Connect to SAP HANA, express edition from Microsoft Visual Studio.
    1. Open Microsoft Visual Studio.
    2. Select View > Server Explorer.
    3. Right-click Data Connections then select Add Connection… from the Server Explorer window.
    4. Select SAP HANA Database for the Data source.
    5. Select .NET Framework Data Provider for SAP HANA from the Data provider drop-down list.
    6. Select Always use this selection.
    7. Click OK.
    8. Add this information in the Add Connection window:
      • Host name – the name of the machine on which your SAP HANA server is running. Alternatively, you can include the server name of your SAP HANA, express edition installation and specify the port the following format: <my.hana.source>:<port_number>.
      • Instance # – 90 for SAP HANA, express editions newer than version 1.0.
      • Connect database – select System Database.
      • Login informationUser name: is SYSTEM and Password: is the password you set when you installed SAP HANA or SAP HANA, express edition.
    9. Click OK.
  14. Verify that the SAP HANA plug-in is installed:
    1. Open Tools  Extensions and Updates….
    2. Confirm that SAP HANA Explorer for Visual Studio is included in the Installed list.

      If it is not installed, then run the \hdbclient\\HanaExplorer.vsix utility. Follow the onscreen instructions to install the plug-in. Alternatively, you can uninstall and reinstall the SAP HANA client for Microsoft Windows client.

    3. Click Close to return to Microsoft Visual Studio.

No comment

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.