SAP RFC 库不能与 IIS 服务器一起工作

问题描述 投票:0回答:0

我正在使用 SAP 连接器核心 库使用 RFC 获取 SAP 数据,尽管我的更改与 Kestrel 服务器完美配合,但它不适用于 IIS。

我正在使用我从 SAP 网站下载的以下库。

我已经安装了ASP.NET Core Module/Hosting Bundle

并在位置检查日志

C:\Windows\System32\LogFiles\HTTPERR\httperr1.log
我越来越

2023-03-10 02:36:26 ::1%0 53017 ::1%0 4430 HTTP/2 GET /home/GetSapData 25 - 4 
Connection_Abandoned_By_ReqQueue PublishCode
2023-03-10 02:38:33 ::1%0 53017 ::1%0 4430 - - - - - - Timer_ConnectionIdle -
2023-03-10 02:41:26 ::1%0 53064 ::1%0 4430 HTTP/2 GET /home/GetSapData 1 503 4 AppOffline 
PublishCode
2023-03-10 02:43:34 ::1%0 53064 ::1%0 4430 - - - - - - Timer_ConnectionIdle -

我已经检查了 IIS 中的多项内容,但没有任何效果:

  1. 我尝试在应用程序池中将
    Enable 32-Bit Apllications
    更改为 true。
  2. 我尝试在应用程序池的回收部分增加回收私有内存限制
  3. 我尝试增加缓存输出大小

过去 1 周我一直在努力让它在 IIS 中工作,而在 Kestrel 服务器中,相同的位置代码它工作得很好。

任何帮助将不胜感激。

c# iis sap saprfc sapnwrfc
© www.soinside.com 2019 - 2024. All rights reserved.