Metadata publishing for this service is currently disabled.
2014-09-12 17:41
609 查看
Reason 1:
In your web.config
but your class is:
Those names need to match! The
Reason 2:
Make sure Web.config have httpGetEnabled or httpsGenEnabled parameter in <serviceMetadata> tag.
In your web.config
<service name="A.B.C">
but your class is:
namespace A.B { ..... public class D : E {
Those names need to match! The
name=attribute on the
<service>tag in config must be exactly what your service class is called - fully qualified, including namespace - so in your case here, it should be:
<service name="A.B.D">
Reason 2:
Make sure Web.config have httpGetEnabled or httpsGenEnabled parameter in <serviceMetadata> tag.
<behaviors> <serviceBehaviors> <behavior> <!-- To avoid disclosing metadata information, set the values below to false before deployment --> <serviceMetadata httpGetEnabled="true"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> </behaviors>
相关文章推荐
- Metadata publishing for this service is currently disabled 的解决偏方
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- shrink disk is disabled for this virtual machine(vmware)
- The Managed Metadata Service or Connection is currently not available
- The maximum number of processes for the user account running is currently , which can cause performance issues. We recommend increasing this to at least 4096.
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_sig" for more de
- 解决 web service is not a valid method for this service
- longmode is disabled for this virtual machine
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- Uncaught SoapFault exception: [Client] Function ("") is not a valid method for this service.
- The Managed Metadata Service or Connection is currently not available
- the information provided for this listener is currently in use by other softw
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- BEA-290074 <Deployment service servlet received file download request for file "security/SerializedSystemIni.dat". The file may exist, but download of this file is not allowed.>
- WCF : 修复 Security settings for this service require Windows Authentication but it is not enabled for the IIS application that hosts this service 问题
- How to: Publish Metadata for a WCF Service.(What is the Metadata Exchange Endpoint purpose.)
- Manage Metadata Service Error: There are no addresses available for this application
- netca 配置监听遇 use another port number:the information provided for this listener is currently in use 提
- 错误处理:The viewstate is invalid for this page