Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

i have a wcf service which is running in http protocol, now i want to add security to my service i.e i want this service to work on both http and https,
for this i was done the configuration modifications in iis server, Now i need published web config file( Need to know the changes in web config file).

i was googled and searched a lot for this and done so many modifications in my published webconfig file , but i get always this following type of error

C#
Metadata publishing for this service is currently disabled.

please help me for this and if you get any doubt reg my narration ask me i will try to give more clarification

Thanks in advance
Posted

1 solution

Hi,

Do you have a tag such as below in the config? It should match the existing tag httpGetEnabled.

XML
<servicemetadata httpsgetenabled="true" />


Regards
 
Share this answer
 
Comments
sateesh kumar nemalikanti 21-Jan-16 23:14pm    
ya i already put that tag. and checked but same issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900