I have installed SCSM 2012 on 2012 server. On this machine i installed web content server role as well, while Sharepoint Web part is installed at Sharepoint 2010 machine which is on Windows 2008 R2. After installing Web Content server role when i tried to access following URL
I got following error:
This is a Windows© Communication Foundation service.
Metadata publishing for this service is currently disabled.
If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:
1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:
<behaviors> <serviceBehaviors> <behavior name="MyServiceTypeBehaviors" > <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors>
2. Add the behavior configuration to the service:
<service name="MyNamespace.MyServiceType" behaviorConfiguration="MyServiceTypeBehaviors" >
Note: the service name must match the configuration name for the service implementation.
3. Add the following endpoint to your service configuration:
How to resolve this issue?
Are you trying to get around the error without enabling metadata publishing, or are you unsure how to enable metadata publishing?
you should only have to look in the web.config in the ServiceHost folder and change:
<serviceMetadata httpGetEnabled="false" />
<serviceMetadata httpGetEnabled="true" />
- Get on the floor, do that dinosaur
I think there is an issue of context here. why are you attempting to browse to a web service with a browser? This "error" is simply the default response of the web service to a HTTP GET request, that is, "I don't publish metadata. send a real service request".
if you are unable to see the Silverlight parts, it's probably due to certificate issues, but you might want to go through the whole troubleshooting article.
I have been struggling long time on this issues of smportal silver light not loading and so far nothing has worked for me, google has exhausted with all my searches I have tried wild card, self signed all available link followed, re-install / fresh install however no success, on above solution to add <behavior name=>, can some one tell me what should be behavior type name?? i have added as its is in web.confi but without success.