简体   繁体   English

IIS7和ASP:拒绝Dll访问

[英]IIS7 & ASP: Dll Access denied

I have a ASP Classic script which is served via IIS7. 我有一个通过IIS7提供的ASP经典脚本。 I am using it in conjunction with Python Script, which in turn uses ctypes to access a C DLL. 我将其与Python脚本结合使用,Python脚本又使用ctypes访问C DLL。 However, python is throwing an exception when I try accessing the DLL via IIS7. 但是,当我尝试通过IIS7访问DLL时,python引发了异常。 How do I setup the permissions for the DLL? 如何设置DLL的权限? Do I do something in IIS7's configuration or do I add specific user privileges to the file itself via Windows explorer? 我是在IIS7的配置中执行某些操作还是通过Windows资源管理器向文件本身添加特定的用户特权?

Did you regester your dll ? 您是否让dll过期了?

At the command prompt, type: 在命令提示符下,键入:

regsvr32 dllpath 

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

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