The exception message is: A base address with the uri scheme ‘net.pipe’ needs to be specified if using service management endpoint ‘ServiceManagementNetPipeEndpoint’
August 8, 2014 Leave a comment
This post was extremely useful today while troubleshooting an AppFabric error with Service Bus Relays (“System.ServiceModel.ServiceActivationException: The service ‘/MyServices/MyService.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’.”) There have been many other posts about this topic, but this is the first one I found that revealed the critical last step of checking the net.pipe binding on the website level (not just the application level)! Well done, Sajid!!
AppFabric uses this magically generated service endpoint when we configure the services to start automatically.
Problem
System.ServiceModel.ServiceActivationException: The service ” 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.
Solution.
Under the advanced settings of the service make sure net.pipe configured as one of the enabled protocols.
Still see the same error??
Check if the website has this binding enabled.
And verify this binding is enabled as protocol on website level.