Windows Server 2019 IIS 10
My website is using medium trust level. I overwrite the web_mediumtrust.config by including the securityclass for DirectoryServicePermission. However, when i go to IIS manager and click the Trust Level, an error appeared with message "The selected trust level medium does not exist on the server. The dropdown list of trust level is empty.
I tried to reinstall IIS and overwrite the config with records from the given default config file but problem persists.