Open Closed

Abp Update and Castle Windsor #62


0
hans abelshausen created

Hi, I tried to update Abp to the newest Version, but now, in Initialize method of the webmodule following error is shown: Can't create component 'Abp.Auditing.AuditingInterceptor' as it has dependencies to be satisfied.

'Abp.Auditing.AuditingInterceptor' is waiting for the following dependencies:

  • Service 'Abp.Auditing.IAuditingStore' which was not registered.

Which dependency is missing?

Update: I put Configuration.Localization.Sources.Add(IocManager.Resolve

public abstract class TestWebViewPageBase : TestWebViewPageBase<dynamic>
    {

    }

    public abstract class TestWebViewPageBase<TModel> : AbpWebViewPage<TModel>
    {
        protected TestWebViewPageBase()
        {
           LocalizationSourceName = TestConsts.LocalizationSourceName;
        }
    }

I use a dblocalizationsource and now, if I put the code:

Configuration.Localization.Sources.Add(
                  IocManager.Resolve<DbLocalizationSource>()
                  );

in the PreInitialize or in the Initialize function the first error occurs, if I put it in the PostInitialize function the second error is shown. I have updated abp to Version 0.5.13.0, in the other Version everything works fine Thank you


1 Answer(s)