When setting up your service, you may figure out, that service has not been properly started. To make sure, that this statement is true open the AppFabric event log and enable Operational logging. Clear all log entries and start the service.
If the service is autstartable stop the pool before clearing of the event log. Now start the service and look for the error shown below:
System.ServiceModel.ServiceActivationException: The service '/Services/RoutingService/ServiceManagement.svc' cannot be activated due to an exception during compilation. The exception message is: A base address with the uri scheme 'net.pipe' needs to be specified if using service management endpoint 'ServiceManagementNetPipeEndpoint'. Verify a base address exists on the site and the protocol is enabled on the application.. ---> System.Configuration.ConfigurationErrorsException: A base address with the uri scheme 'net.pipe' needs to be specified if using service management endpoint 'ServiceManagementNetPipeEndpoint'. Verify a base address exists on the site and the protocol is enabled on the application. at Microsoft.ApplicationServer.Hosting.Configuration.ServiceManagementConfiguration.LoadAndVerifyEndpoints(HashSet`1 enabledUriSchemes, HashSet`1 configuredEndpoints) at Microsoft.ApplicationServer.Hosting.Configuration.ServiceManagementConfiguration.GetEnabledEndpoints(Uri[] baseAddresses) at Microsoft.ApplicationServer.Hosting.Management.ServiceManagementFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) 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) at Microsoft.ApplicationServer.Hosting.AutoStart.ApplicationServerAutoStartProvider.ActivateService(String virtualPath)
The most important part of the messages is marked bold. To fix this you need to enable net.pipe protocol as shown at the next picture:
Note that http is scoped as default protocol, but it also has to be explicitly specified. If after this the error still appears, be sure that net.pipe protocol is enabled at the site binding in IIS manager. I figured out that this binding is sometimes not automatically enabled for site after installation of AppFabric.
Hope this helps
Damir
Posted
Mar 04 2010, 11:38 PM
by
Damir Dobric