简体   繁体   English

使用 sap .net 连接器将逻辑应用程序连接到 sap hana 服务器时出错

[英]Error connecting logic app to sap hana server using sap .net connector

I want to connect sap to azure logic app ...我想将 sap 连接到 azure logic app ...

I have a sap server and via on-premise gateway and .NET connector 3.0 i am trying to create a SAP connection in Logic Apps using "SAP Application Server - Send to SAP" action but in vain !!我有一个 sap 服务器,并且通过内部部署网关和 .NET 连接器 3.0 我试图使用“SAP 应用程序服务器 - 发送到 SAP”操作在逻辑应用程序中创建 SAP 连接,但徒劳!!

The error is like :-- Please check your account info and/or permissions and try again.错误类似于:--请检查您的帐户信息和/或权限,然后重试。 Details: Unable to connect to SAP server.详细信息:无法连接到 SAP 服务器。 Failed to process request.无法处理请求。 Error details: 'Could not load file or assembly 'sapnco, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its dependencies.错误详细信息:“无法加载文件或程序集 sapnco,版本=3.0.0.42,文化=中性,PublicKeyToken=50436dca5c7f7d23”或其依赖项之一。 The system cannot find the file specified.'.该系统找不到指定的文件。'。

Please help me to sort this out.请帮我解决这个问题。

Here are some rules you need to compliance:以下是您需要遵守的一些规则:

  1. You need to install the 64 bit version and only the 64 bit of SAP Nco.您需要安装 64 位版本的 SAP Nco 仅安装 64 位版本。
  2. You need to install the latest version of SAP Nco as well.您还需要安装最新版本的 SAP Nco。
  3. You need to install the .Net 4.0 version of SAP Nco as the data gateway host service and Microsoft SAP Adapter are build with .Net 4.5.您需要安装 SAP Nco 的 .Net 4.0 版本,因为数据网关主机服务和 Microsoft SAP 适配器是使用 .Net 4.5 构建的。

For more details about with SAP Nco version to pick for Azure Logic App, you could refer to this article .有关为 Azure Logic App 选择 SAP Nco 版本的更多详细信息,您可以参考这篇文章

Also, someone gets the same error like you, he download Nco connnector from SAP website and install in server then everything goes well.另外,有人和你一样遇到同样的错误,他从 SAP 网站下载 Nco 连接器安装在服务器中,然后一切顺利。 You could go to see the similar issue .你可以去看看类似的问题

I been have the same error.我一直有同样的错误。 In my case have SAP in a private network and I use another machine with Data Gatewat to acces to SAP throught Logciapp.就我而言,在专用网络中有 SAP,我使用另一台带有 Data Gatewat 的机器通过 Logciapp 访问 SAP。

This steps are not in SAP machine are in Midelware machine that will have Data Gateway to communicate with SAP.此步骤不在 SAP 机器中,而是在具有数据网关以与 SAP 通信的 Midelware 机器中。

  1. Install Data Gateway安装数据网关
  2. Install the SAP NCo library and .NET安装 SAP NCo 库和 .NET
  3. Then for Data Gateway can recognize the SAP NCo library you will need to copy .dll located on SAP NCo folder installations to Gateway folder installation.然后,为了让数据网关能够识别 SAP NCo 库,您需要将位于 SAP NCo 文件夹安装中的 .dll 复制到网关文件夹安装中。

Here are some rules you need to compliance:以下是您需要遵守的一些规则:

  1. You need to install the 64 bit version and only the 64 bit of SAP Nco.您需要安装 64 位版本的 SAP Nco 仅安装 64 位版本。
  2. You need to install the latest version of SAP Nco as well.您还需要安装最新版本的 SAP Nco。
  3. You need to install the .Net 4.0 version of SAP Nco as the data gateway host service and Microsoft SAP Adapter are build with .Net 4.5.您需要安装 SAP Nco 的 .Net 4.0 版本,因为数据网关主机服务和 Microsoft SAP 适配器是使用 .Net 4.5 构建的。 For more details about with SAP Nco version to pick for Azure Logic App, you could refer to this article.有关为 Azure 逻辑应用选择 SAP Nco 版本的更多详细信息,您可以参考这篇文章。

Also, someone gets the same error like you, he download Nco connnector from SAP website and install in server then everything goes well.另外,有人和你一样遇到同样的错误,他从 SAP 网站下载 Nco 连接器并安装在服务器中,然后一切顺利。 You could go to see the similar issue .你可以去看看类似的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM