Home  >  Article  >  Backend Development  >  关于IIS php调用com组件的权限问题_PHP

关于IIS php调用com组件的权限问题_PHP

WBOY
WBOYOriginal
2016-06-01 12:13:33736browse

1.运行Dcomcnfg.exe
2.组件服务――计算机――我的电脑 ――DCOM配置――找到microsoft word 文档
3.点击属性
4.选择“安全性”
5.选定“使用自定义访问权限 ” 和“使用自定义启动权限 ”
6.分别编辑权限 ,添加Everyone(ASPNET,VS Developers,Debugger User )(注:其实准确的应该是"ISUR_机器名"这个用户才对)
7.选择“身份标识”,在选定“交互式用户” 即可
8.在Web.config里加 (这句插在段里就可以了)

  我做了上面的事情还是不能运行,后来在IIS 里做了下面的设置: 在IIS 下右键点本地计算机/应用程序池,选择属性,点击标识,将预定义帐户改成本地系统。就可以运行了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn