Overview
When you upgrade Windows Server OS to Windows Server 2025, the installation may disable Anonymous Authentication if IIS is running on the server. This will break the RPC over HTTPS connection used by M-Files Desktop with an Access denied (0x80070005) error.
Solution
To fix the Access denied error:
- Open IIS Manager on the IIS server.
- In IIS Manager, select the M-Files web site and go to Authentication.
- Make sure that Anonymous Authentication is enabled:
- Expand the M-Files web site.
- Select the Rpc application under the web site and go to Authentication.
- Make sure that Anonymous Authentication and Basic Authentication are enabled:
- Restart IIS.
NOTE: In general, we recommend switching from the legacy RPC over HTTPS configuration to use the future-proof gRPC protocol for Desktop connections. Please refer to this document for configuration instructions: https://empower.m-files.com/article/mfiles-ka-453644
