I am having problems using 2.1 Castle.Core.Interceptor.IInterceptor with IIS7 and unsigned assemblies (no strong-name).
When the service is called, I get the exception below. If I comment out line #7, everything 'works'...except my interceptor is obviously not included. Are DP interceptors supported in IIS7 with non-signed components? global.asax.cs --------------------- 1 container.Register( 2 AllTypes.Of<IService>() 3 .FromAssembly(System.Reflection.Assembly.GetExecutingAssembly()) 4 .WithService.FirstInterface() 5 .Configure(configurer => configurer.LifeStyle.Transient) 6 .Configure(configurer => configurer.Named(configurer.Implementation.FullName)) 7 .Configure(configurer => configurer.Interceptors<Performance.Interceptors.StopwatchInterceptor>()) 8 .Configure(configurer => configurer.ActAs( 9 new DefaultServiceModel() 10 .AddEndpoints(WcfEndpoint.BoundTo(customBinding)) 11 .Hosted() 12 ) 13 ) 14 ); ----------- runtime exception --------- Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Could not load file or assembly 'Blaz.House.DomainModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.IO.FileLoadException: Could not load file or assembly 'Blaz.House.DomainModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) at Castle.Proxies.Invocations.IStudyService_FindStudies.InvokeMethodOnTarget() at Castle.DynamicProxy.AbstractInvocation.Proceed() at Performance.Interceptors.StopwatchInterceptor.Intercept(IInvocation invocation) in E:\dev\_Mainline\Blaz.House.Services.Admin\Interceptors \StopWatchInterceptor.cs:line 77 at Castle.DynamicProxy.AbstractInvocation.Proceed() at Castle.Proxies.IStudyServiceProxy.FindStudies(RequestContext context, FindStudiesRequest request) at SyncInvokeFindStudies(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[...) -- 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.
