Home  >  Article  >  Backend Development  >  'Failed to create COM object `wps.application': 无效的语法

'Failed to create COM object `wps.application': 无效的语法

WBOY
WBOYOriginal
2016-06-06 20:34:533805browse

本能安装的是win7 aparche +php +wps 环境,可以使用PHP 调用com 组件读取word,转移到服务器上 win2008 iis+PHP+wps出问题了,错题提示:PHP Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `wps.application': 无效的语法,是权限问题,但是设置的权限还是不行,这类问题做.net 开发的应该会经常遇到,我想问下,有谁遇到过这问题,是怎么解决的....

回复内容:

本能安装的是win7 aparche +php +wps 环境,可以使用PHP 调用com 组件读取word,转移到服务器上 win2008 iis+PHP+wps出问题了,错题提示:PHP Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `wps.application': 无效的语法,是权限问题,但是设置的权限还是不行,这类问题做.net 开发的应该会经常遇到,我想问下,有谁遇到过这问题,是怎么解决的....

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