I have a WCF 4 service with 2 endpoints configured to use wsHttpBinding and netTcpBinding. I am hosting the service within IIS 7.5 and using the DINIT WCF Extension in my service. My service works fine when I use the wsHttpBinding endpoint to call my service, but when I use Net TCPbunding when I look in my application event log, I get the error below.
I have tried to debug the problem in VS2010, but this is not getting anywhere with the speed. I do not want to remove Ninegig from my WCF service, if possible, I think that I can only use wsHttpBinding but this is an internal service and I want to get performance benefits which provide netTcpBindings.
WebHost failed to process a request. Sender information: System.ServiceModel.ServiceHostingEnvironment + HostingManager / 30,180,123 Exception: System.ServiceModel.ServiceActivationException: Service '/ProfileService.svc' can not be activated due to an exception during the compilation. The exception message is: The null parameter name can not be: root. --- & gt; System.ArgumentNullException: line Ninject 20: root c Ninject.Infrastructure.Ensure.ArgumentNotNull (object logic, string name): null parameter can not be named \ projects \ Ninject \ Ninject \ src \ Ninject \ Infrastructure \ Ensure.cs .ResolutionExtensions.Get [T] (IResolutionRoot root, IParameter [] parameters) C: \ projects \ Ninject \ Ninject \ src \ Ninject \ syntax \ ResolutionExtensions.cs: line System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost 37 (string System System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService (String Normalized VirtualPath) on .ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService Su System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable (string creator generalized VirtualPath) string, Uri [] Besadresses) - - Internal exception end of the stack trace --- System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable (string System on normalized VirtualPath) .ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast (name string relativeVirtualPath) process: w3wp process ID: 8656 there may be able to help with that problem? Any help on this will be greatly appreciated.
If I'm right, then I think you might be using an older version that You use KernelContainer to set the kernel on the kernelcontainer . See:
Comments
Post a Comment