.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Jean Paul
Subhransu Sekhar Jena
satyapriyanayak
SP
abhays
Post New Web Links

Metadata publishing for this service is currently disabled.

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :WCF
 

I have tried to do what some have suggested to have the metadata publishing enabled but cant figure this out. Could anyone assist in what i could be doing wrong here? Ive read a few blogs and nothing seems to work. Im running as an admin, Win 7, VS2010 + all updates. My Web.Config file under my ASP .net site is:

<?xml version="1.0"?>
<configuration>
   <system.web>
  <compilation debug="false" strict="false" 

View Complete Post


More Related Resource Links

Metadata publishing for this service is currently disabled Problem under IIS7

  

Hi,

I am struggling with an issue that I haven't seen before, at least not without a simple resolution. I have seen numerous articles about this issue but I haven't found one that actually gives a solution that works and its really becoming a royal pain.

I am getting the message, "Metadata publishing for this service is currently disabled" when attempting to host my service in IIS7 on windows 7. I have only seen this problem since I migrated to VS2010 using the .NET 4 Framework.

I have adjusted my web.config file in effort of resolving the problem but to no avail. Anyone here able to help me out on this one? I am totally exhausted on going in circles for this issue.

Here is my code:

<?xml version="1.0"?>
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
     <behaviors>
      <serviceBehaviors>
        <behavior name ="MapServiceBehavior">
          <serviceMetadata httpGetEnabled="true"/>

"Metadata publishing for this service is currently disabled" yet again!

  

I've followed all of the suggestions described in the other Q&As on this subject but so far nothing has worked - I still get the "Metadata publishing for this service is currently disabled" page.  Here is my web.config file:

 <system.serviceModel>
  <services>
   <service name="StationCasinos.Workflow.RuntimeService.WorkflowRuntimeService" behaviorConfiguration="StandardBehavior">
    <host>
     <baseAddresses>
      <add baseAddress="http://localhost:6555/EnterpriseWorkflow/MessagingServic

'Metadata publishing for this service is currently disabled' message with WCF service

  

Whenever I try to add a web reference to the WCF service in my project, I get an error:

'The HTML document does not contain Web service discovery information.
There was an error downloading 'http://localhost/OFTestSite/Service.svc/$metadata'.
The request failed with HTTP status 400: Bad Request.'

When I browse Service.svc directly from the IIS, the page opens with the statement 'Metadata publishing for this service is currently disabled.'

I followed all the steps correctly to make metadata publishing enabled, but still I get the same message and I'm not able to add the web refernce.

Could anyone please help me? 

(I am using VS 2010 Professional on Windows XP machine with IIS 5.1)


Metadata publishing for this service is currently disabled.

  

I have created a WCF service from VS 2010 and started debugging only after makin changes in web.config file, and is looking like this.

<?xml version="1.0"?>
<configuration>

  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
    <services>
      <service name="WCFGettingStarted.Servie1" behaviorConfiguration="MyServiceBehavior">
        <endpoint address="" binding="basicHttpBinding" contract="WCFGettingStarted.IServie1"></endpoint>
        <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="MyServiceBehavior">
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
    &nbs

Metadata publishing is disabled

  

Hello there,

Im going crazy with my first WCF development. I have been working fine couple of minutes back before service died again. Meta data publishing is disabled. Here is my service config

 

 

system.serviceModel>

Publishing the Managed Metadata Service, through a firewall to another AD Forrest - fun and games...

  

Hi People,

we've got two SP2010 Farms in two separate AD Domains/Forrests, which are connected via a firewall and there is no trust at the AD level.

Both farms consist of an App Server (Central Admin and all Service Applications) and a WFE (Content plus Query/Index role).

The Managed Metadata Service on Farm A is published through to Farm B and so we've had to open up ports through the firewall so the App Server in Farm B can talk to the SharePoint Web Services on Farm A (32843, 32844 and 32845) and that all appears to be working properly, even to the extent that the Content Deployment from Farm A to Farm B is also working and the managed properties in the content are all being mapped/managed correctly.

However I'm now seeing requests by the the WFE in Farm B to access the topology service running on WFE in Farm A! Hold on!
As it was, I already had to allow both the App Server and the WFE in Farm B to be able to access the SharePoint Web Service ports on the App Server in Farm A, and now I have to do the same for the WFE in Farm A?!?!? That can't be right.

Isn't the whole point of having proxy services, Central Admin and an App Server (hosting all the services) that you only have to open up a single server? Why does every machine in one farm have to know about every machine in another farm?

Talk about a firewall mana

With Anonymous access disabled, is there any way to use an AJAX-enabled WCF Service?

  
I have a website where anonymous access is disabled but I want to user an ajax-enabled WCF service. Configuring the service's binding security to use "TransportCredentialOnly" with clientCredentialType="Windows" seems like the obvious thing to do; indeed, many posts in various places suggest this approach. Unfortunately, however, it doesn't work. I always get the error "Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service." How can I configure the service to function correctly. I'm running IIS 7.5 with .Net framework 4.0. Thanks.

Publishing a WCF service in VS2010 and IIS7

  
OK, there is probably a really simple answer to this, but I have the flu and can't think straight.I am taking advantage of being out sick by downloading VS2010RC and playing around with it.I created a simple WCF service (my first in this foundation, but not my first service).  Its a redo of an existing asmx service I created a while ago.  I commented out all the processes, and am simply trying to publish the service to my local IIS7 to see the discovery working.I have setup a new site to host the service ( I tried using Default as well, with the same results).  I right click the project in VS and select publish.  It is prompting me for a login even though the site is setup for anonymous access.  If I try to use WebDeploy, it can't find my site, and if I use FileSystem, it give me a simple "Publish failed" with no details.Can someone point me to a tutorial or something that describes the publish process in VS2010 or give me some leads as to what setup needs to happen either in VS or ISS to let me publish?  Thanks. 

SharePoint 2010 search service always been disabled

  
am working with SharePoint 2010 Enterprise edition with windows server 2008 R2, and I installed SQL Server 2008 R2 in the same machine.... my problem is that the OS always disable both services of Sharepoint Server Search 14 and Sharepoint Foundation Search V4, I tried all the ways to make them automatic and always started but i will works for 10-15 minutes them disabled again... I run sharepoint configuration wizard many times if it could to solve this issue but it sucessed with no errors but the search service issue still there... whats going wrong??

Update Managed Metadata Field with using Lists.asmx service

  
Hello! I am trying to update Managed Metadata Field with using Lists.asmx. I know that I must use this format WSSID;#VALUE|GUID. But I don't Know how I can get WSSID and VALUE Guid! Can I get them with using lists.asmx! Thanks!!

Is it possible to implement your own version of the Managed Metadata Service?

  
Hi, It would be nice to provision a new instance of the Managed Metadata Service where the service is not implemented by Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication, but a custom provider. Is it possible to expose your own service as a Managed Metadata Service?

Sharepoint 2010 - The Managed Metadata Service or Connection is currently not available. The Applica

  
So I've already installed hot fix http://support.microsoft.com/kb/976394.  Rebooted server and I still get this message.  The account being used is part of local adminstrators group and has full connection permissions for managed metadata service.  Is there anything else I'm missing or needs to be done?

Managed Metadata Service or Connection is currently not available

  
In service applications this is listed as stopped. Under services on this server it is listed as started. I get the folowing message when I open properties from the service application then click 'ok' Object reference not set to an instance of an object.   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 10df60d7-a00e-4bb2-9d5c-156a5a15c5f1 Date and Time: 9/13/2010 4:52:25 PM   I have all required KB' hotfixes, the account being used to connect to SQL is working for all other services, the account has local admin rights. THis is a fresh install. I get the error  'The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator' When I go into Term Store Management   Any help on this?

Proxy Managed Metadata Service Error

  
Hi I've deleted my web apps installed a language pack and then I've created new web apps and site collections on them with the new language (not reinstalling all again). On my portal I've made a Content type based on Document Set with a few Custom columns based on some taxonomy created before. My problem is that the new Content type was created like one which was created before deleting my web apps (the custom columns are the same), and now when I publish it the other web app is importing the old content type first (FROM WHERE I DON"T KNOW) and when tries to import the new one (which has a column with the same name) the Proxy Managed Metadata Service gives an error 'Filed internal name conflict.....' If I click on managed Metadata Service url http://portal/_layouts/mngctype.aspx  the old Content type of course that it's not present. Where should I search for it to delete it ? Thank's  Sorin Sandu
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend