Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IIS: module 'pyrfc' has no attribute 'Connection' #359

@thejayparekh

Description

@thejayparekh
  • OS: Windows Server 2019
  • Hosted on IIS
  • python: 3.12
  • django: 5.0.1
  • IIS: 10.0.17763.1
  • PyRFC version: 3.3.1
  • Visual C++ redistributable: 2013, 2015-2022

module 'pyrfc' has no attribute 'Connection':

When executed directly on command prompt and django wsgi server - it is running as expected
but when hosted with IIS it is throwing AttributeError.

  • environment variables are set as instructed (PATH to */nwrfcsdk/lib and SAPNWRFC_HOME to */nwrfcsdk)
  • IIS AppPool permission is provided to nwrfcsdk dir
  • User running IIS also has permissions to nwrfcsdk dir

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions