none
Error While Accessing Claim Aware WCf Service RRS feed

  • Question

  • I have a Claim Aware WCF Service Hosted in _vtin_bin under SharePoint 2010. But When I try to access I get below error,

    Any help?

    WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/26520486
     Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/GMWebPartService/WebartService.svc' cannot be activated due to an exception during compilation.  The exception message is: ID7012: No <service> element with the name 'GM.WebPartServices.WebPartServices' was found in the <microsoft.identityModel> configuration section.. ---> System.InvalidOperationException: ID7012: No <service> element with the name 'GM.WebPartServices.WebPartServices' was found in the <microsoft.identityModel> configuration section.
       at Microsoft.IdentityModel.Configuration.ServiceElementCollection.GetElement(String name)
       at Microsoft.IdentityModel.Configuration.ServiceConfiguration..ctor(String serviceConfigurationName)
       at Microsoft.IdentityModel.Tokens.FederatedServiceCredentials.ConfigureServiceHost(ServiceHostBase serviceHost, String serviceName)
       at System.ServiceModel.Description.DispatcherBuilder.ValidateDescription(ServiceDescription description, ServiceHostBase serviceHost)
       at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
       at System.ServiceModel.ServiceHostBase.InitializeRuntime()
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
     Process Name: w3wp
     Process ID: 8208


    Pathik
    • Moved by Hengzhe Li Tuesday, June 21, 2011 12:07 PM Forum Consolidate (From:Microsoft Security Development Lifecycle (SDL) - Threat Modeling)
    Thursday, June 3, 2010 6:51 PM

Answers