Sto tentando di distribuire un servizio Silverlight con WCF a un hosting. Fondamentalmente, ho lo stesso problema di questo ragazzo: How to configure WCF services to work through HTTPS without HTTP binding? Tranne che le soluzioni non funzionano per me.Configurazione di un servizio WCF (Web.config) - HttpsGetEnabled, HttpsGetUrl
// modifica: l'ho incollato male, ma ancora non funziona.
ho cercato la risposta di Ladislav Mrnka - cambiato questa nel file web.config:
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />
L'errore temuto appare ancora quando ci si dirige verso il file .svc sul server:
The HttpsGetEnabled property of ServiceMetadataBehavior is set to true and the
HttpsGetUrl property is a relative address, but there is no https base address.
Either supply an https base address or set HttpsGetUrl to an absolute address.
Se il servizio è .NET 4, allora hai controllato se il pool di app è impostato per utilizzare .NET 4? –
L'hosting dovrebbe supportare fino a .NET 4. Originariamente, avevo il framework di destinazione impostato su 4.5, ma questo dovrebbe funzionare. – lukfi
Il tag è chiuso? Dal tuo esempio di configurazione sembra che non lo sia. –