Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `WPS.Application': 拒绝访问。 ' in D:/www/9enjoy.com/hx.php:12 Stack trace: #0 D:/www/9enjoy.com/hx.php(12): com->com('WPS.Application') #1 {main} thrown in D:/www/9enjoy.com/hx.php on line 12
是运行这句就$wps = new COM("WPS.Application");报错。经过一翻查找,在DCOM配置里做了配置,解决了这个提示。
Fatal error: Uncaught exception 'com_exception' with message 'Error [0x800706be] 远程过程调用失败。 ' in D:/www/9enjoy.com/hx.php:15 Stack trace: #0 D:/www/9enjoy.com/hx.php(15): variant->Open('d:/www/9enjoy.com...') #1 {main} thrown in D:/www/9enjoy.com/hx.php on line 15
在“标识”标签,将启动用户改为交互式用户,又出现了另一个错误提示:
Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `WPS.Application': 因为配置类型不正确,系统无法开始服务器进程。请检查用户名和密码。 ' in D:/www/9enjoy.com/hx.php:15 Stack trace: #0 D:/www/9enjoy.com/hx.php(15): com->com('WPS.Application') #1 {main} thrown in D:/www/9enjoy.com/hx.php on line 15
后测试中有时出现长时间运行,一直不报错...还有出现过如下错误: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `WPS.Application': 服务器运行失败 ' in D:/www/9enjoy.com/hx.php:30 Stack trace: #0 D:/www/9enjoy.com/hx.php(30): com->com('WPS.Application') #1 {main} thrown in D:/www/9enjoy.com/hx.php on line 30