PHP新的DOTNET()错误

This is a fairly obscure question, but I'm having a devil of a time figuring it out:

I'm running PHP on IIS and am using PHP's DOTNET function to load Microsoft's System.Speech class.

<?php

$recognizer= new DOTNET('System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', 'System.Speech');

?>

I'm getting a 500 error when I load the above file into my browser.

The error message says:

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `SAPI.SpSharedRecognizer': Access is denied. '

Ideas?

查看全部
douou5933
douou5933
2010/07/27 07:57
  • iis
  • php
  • wamp
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复