The operation is not supported because the protocol {0} is enabled for application '{1}' and the application is running in ...

The operation is not supported because the protocol {0} is enabled for application '{1}' and the application is running in partial trust. Only the http and https protocols are supported in partial trust applications. Either remove the other protocols from the protocol list in the Windows Process Activation Service configuration or configure the application to run in full trust.