Hi Everyone
I have issue with PyRFC connection to SAP by host on IIS 7
before I use PyRFC my application work fine and after I import PyRFC and Connect to Bapi Server IIS will show detail as below
HTTP Error 500.0 - Internal Server Error
c:\python27\python27.exe - The FastCGI process exited unexpectedly
Detailed Error Information:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler safetystock
Error Code 0xffffffff
Requested URL http://safety.svi.co.th:80/api_test/
Physical Path D:\safetystock\api_test\
Logon Method Anonymous
Logon User Anonymous
Request Tracing Directory C:\inetpub\logs\FailedReqLogFiles
and this is my code:
from pyrfc import Connection
conn = Connection(user='sapconnect', passwd='mypassword', ashost='myhost', sysnr='00', client='100')
When compiler run to line Connection() IIS will show error 500 but I try to run localhost on server application work fine.
I already added full permission to root project folder and root python folder but it not work.
I has been stuck in this problem for 3 days. Help me please
python 2.7 64 bit
django 1.11.16
pyrfc 1.9.96