c# - Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http] -
again 1 of questions. i've searched in every other question, dont me solution.
i don't know if maybe dont understand concept of these "a-b-c"-story of iis.
<system.servicemodel> <diagnostics> <messagelogging logentiremessage="true" logknownpii="true" logmalformedmessages="true" logmessagesatservicelevel="true" logmessagesattransportlevel="true" /> <endtoendtracing propagateactivity="true" activitytracing="true" messageflowtracing="true" /> </diagnostics> <services> <service name="mearestservice" behaviorconfiguration="httpsbehavior"> <endpoint address="mearestservice.svc" binding="basichttpbinding" bindingconfiguration="serviceendpoint" behaviorconfiguration="web" contract="imearestservice" /> <endpoint address="mex" binding="mexhttpsbinding" contract="imetadataexchange" /> </service> </services> <bindings> <basichttpbinding> <binding name="serviceendpoint" closetimeout="00:10:00" opentimeout="00:10:00" receivetimeout="00:10:00" sendtimeout="00:10:00" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647"> <security mode="transportcredentialonly" > <transport clientcredentialtype="none" proxycredentialtype="none"/> </security> <readerquotas maxdepth="2147483647" maxstringcontentlength="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647" /> </binding> </basichttpbinding> </bindings> <behaviors> <servicebehaviors> <behavior name="httpsbehavior"> <servicemetadata httpsgetenabled="true" /> <servicedebug includeexceptiondetailinfaults="true" /> <servicecredentials> <windowsauthentication allowanonymouslogons="false" includewindowsgroups="true" /> </servicecredentials> </behavior> </servicebehaviors> <endpointbehaviors> <behavior name="web"> <webhttp /> </behavior> </endpointbehaviors> </behaviors> <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true" />
i error: could not find base address matches scheme https endpoint binding basichttpbinding. registered base address schemes [http] , absolutly don't know why. defined base-adress in service-section, doesn't me.
i guess simple tag that's needed, can't myself.
if has kind of helpful hints, great.
thanks :)
edit
i forgot describe target. want host restservices in iis , want make accessable via https basic authentication.
Comments
Post a Comment