I had that same suspicion actually since it is the only thing that I
can tell is different. While I do want to update this project to 4
right now I can't justify spending the time on it (juggling way too
many projects right now).

On Sep 15, 4:32 pm, Craig Neuwirt <[email protected]> wrote:
> I have a suspicion.  Is there any way you could try in using .net 4.0?
>
> -craig
>
> On Sep 15, 2010, at 6:16 PM, João Bragança wrote:
>
>
>
>
>
>
>
> > I am trying to use WcfFacility build #74 (.net 3.5, Castle 2.5) with
> > the 'look no config' option. This used to work just fine but now it
> > doesn't. However I *can* run the Demo and get the WSDL from
> > UsingWindsorWithoutConfig.svc on my machine. Any help would be
> > appreciated!
>
> > Stack trace:
> > [InvalidOperationException: Service
> > 'AWC.Services.AuthenticationService' has zero application (non-
> > infrastructure) endpoints. This might be because no configuration file
> > was found for your application, or because no service element matching
> > the service name could be found in the configuration file, or because
> > no endpoints were defined in the service element.]
>
> > System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreNonMexEndpo 
> > ints(ServiceDescription
> > description) +279
>
> > System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(Ser 
> > viceDescription
> > description, ServiceHostBase serviceHost) +64
> >   System.ServiceModel.ServiceHostBase.InitializeRuntime() +37
> >   System.ServiceModel.ServiceHostBase.OnBeginOpen() +27
> >   System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +49
> >   System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
> > timeout) +261
> >   System.ServiceModel.HostingManager.ActivateService(String
> > normalizedVirtualPath) +121
> >   System.ServiceModel.HostingManager.EnsureServiceAvailable(String
> > normalizedVirtualPath) +479
>
> > [ServiceActivationException: The service '/services/
> > authentication.svc' cannot be activated due to an exception during
> > compilation.  The exception message is: Service
> > 'AWC.Services.AuthenticationService' has zero application (non-
> > infrastructure) endpoints. This might be because no configuration file
> > was found for your application, or because no service element matching
> > the service name could be found in the configuration file, or because
> > no endpoints were defined in the service element..]
> >   System.ServiceModel.AsyncResult.End(IAsyncResult result) +11599786
>
> > System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResul 
> > t
> > result) +194
>
> > System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchron 
> > ous(HttpApplication
> > context, Boolean flowContext) +176
> >   System.ServiceModel.Activation.HttpModule.ProcessRequest(Object
> > sender, EventArgs e) +278
>
> > System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep 
> > .Execute()
> > +68
> >   System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> > Boolean& completedSynchronously) +75
>
> > /services/authentication.svc
>
> > <%@ ServiceHost Service="authentication.svc"
> > Factory="Castle.Facilities.WcfIntegration.DefaultServiceHostFactory,
> > Castle.Facilities.WcfIntegration" %>
>
> > public class Global : HttpApplication
> > {
> >    private IWindsorContainer container;
>
> >    protected void Application_Start(object sender, EventArgs e)
> >    {
> >            container = new WindsorContainer()
> >                    .AddFacility<WcfFacility>();
>
> >            container.Install(FromAssembly.This());
> >    }
> > }
>
> > public class WcfServicesInstaller : IWindsorInstaller
> > {
> >    private static string GetServiceName(Type implementation)
> >    {
> >            return implementation.Name.Substring(0, 
> > implementation.Name.Length -
> > "Service".Length)
> >                    .ToLowerInvariant() + ".svc";
> >    }
> >    #region IWindsorInstaller Members
>
> >    public void Install(IWindsorContainer container, IConfigurationStore
> > store)
> >    {
>
> > container.Register(AllTypes.FromAssemblyContaining<IAuthenticationService>( 
> > )
> >                                    .Where(type => 
> > type.Name.EndsWith("Service"))
> >                                    .WithService.FirstInterface()
> >                                    .Configure(c =>
> > c.Named(GetServiceName(c.Implementation))),
> >                               Component.For<IServiceBehavior>()
> >                                            
> > .ImplementedBy<ServiceDebugBehavior>()
> >                                            .DependsOn(new
> >                                                            {
> >                                                                    
> > IncludeExceptionDetailInFaults =
> > true,
> >                                                                    
> > HttpHelpPageEnabled = true,
> >                                                            }),
> >                                       Component.For<IServiceBehavior>()
> >                                            
> > .ImplementedBy<ServiceMetadataBehavior>()
> >                                            .DependsOn(new
> >                                                            {
> >                                                                    
> > HttpGetEnabled = true
> >                                                            }));
> >    }
> >    #endregion
>
> > }
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Castle Project Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/castle-project-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to