Publishing problem RRS feed

  • Question

  • hi,

    When i'm publishing my project i.e wpf along with wcf i'm getting the following error,can anyone help me out.

    Metadata publishing for this service is currently disabled Problem under IIS7

    Thanks in advance

    • Moved by Rowan Miller Friday, March 25, 2011 9:00 PM (From:ADO.NET Entity Framework and LINQ to Entities (Pre-Release))
    Friday, March 25, 2011 10:01 AM


  • Do you have the ServiceMetaDataBehavior and Mex endpoint configured for your service 

    Below is an example 

    <?xml version="1.0" encoding="utf-8"?>
    <service name="myService" behaviorConfiguration="MetadataBehavior">
    <endpoint address="" binding="wsHttpBinding" contract="MyServiceContract.IMyService" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
    <behavior name="MetadataBehavior">
    <serviceDebug includeExceptionDetailInFaults="True" httpHelpPageEnabled="True" />
    <serviceMetadata httpGetEnabled="True"/>

    Tanvir Huda
    • Marked as answer by Yi-Lun Luo Thursday, March 31, 2011 9:15 AM
    Sunday, March 27, 2011 11:39 PM