Base solution for your next web application
Open Closed

Abp Update and Castle Windsor #62


User avatar
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<DbLocalizationSource>()); in the PostInitialize function and now following error occured in the WebViewPageBase.cs class:
Can not find a source with name: "Test"

public abstract class TestWebViewPageBase : TestWebViewPageBase
    {

    }

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

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

Configuration.Localization.Sources.Add(
                  IocManager.Resolve()
                  );

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)