System Speech Synthesis and Application Pool Identity

Open
#113,484 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp

Research direction

Start by comparing the System.Speech.Synthesis behavior under IIS ApplicationPoolIdentity and NetworkService on Windows 10/IIS and Windows Server 2019 Datacenter. Investigate the application pool identity, permissions, and configuration involved; the issue is resolved when the web application streams audio to the HTML Audio control while retaining ApplicationPoolIdentity.

Written by the indexing model from the issue text.

Description

area-System.Speech question

This issue has been moved from a ticket on Developer Community.


Hi,

I have developed an ASP.Net web application that streams audio content using System.Speech.Synthesis to a HTML Audio control in a browser, which works locally on Windows 10/IIS. The local website in IIS has its own Application Pool and run the identity runs as ApplicationPoolIdentity

When this web application is then deployed to a domain-controlled Windows Server 2019 Datacenter the functionality doesn’t work.

After some investigation if I change the IIS website application pool identity to NetworkService, the functionality works.

I would like to keep the identity as ApplicationPoolIdentity.

Are then specific configurations or permissions that I can update to enable this to work with ApplicationPoolIdentity for the Windows Server 2019 Datacenter?

Thanks in advance


Original Comments
Feedback Bot on 2/4/2025, 09:42 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Adam Derbyshire on 2/25/2025, 04:53 AM:

(private comment, text removed)

Eric St. John [MSFT] on 3/13/2025, 10:30 AM:

We have converted this feedback item to a suggestion. This change was done to better reflect the feedback’s nature. It will allow other developers to easily find it and engage on it.

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.