Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 950041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:30:05+00:00 2026-05-15T23:30:05+00:00

This is a fairly obscure question, but I’m having a devil of a time

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:30:06+00:00Added an answer on May 15, 2026 at 11:30 pm

    Sounds like, the web server account (IIS application pool identity) does not have access permissions to the resource file you are trying to open in your code.

    Also, there is a problem in your code – the DOTNET function requires two arguments – an assembly name and a class name. You are providing “System.Speech” as the second parameter – this is only a namespace, not the class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is fairly simple but I cant work it out. I'm building a wordpress
This seems fairly trivial but I can't seem to work it out I have
I trying to figure out how to solve this (fairly) simple problem but I
This is fairly simple in Windows, but a little tricky in Linux. I am
I know this is fairly subjective, but I'm diving into testing and learning about
I guess this is fairly simple for you but i cant wrap my head
this might be fairly simple but I cant find my way around... I have
I've come across a fairly obscure problem having to do with measuring a document's
This looks fairly simple, but 30 minutes of googling took me nowhere. :-( How
I think this fairly basic but I can't seem to find one on-line. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.