Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
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<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)
  • User Avatar
    0
    hikalkan created
    Support Team

    Explanation for the problem: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/339#issuecomment-98678010">https://github.com/aspnetboilerplate/as ... t-98678010</a> I published v0.5.13.3 for a fix. Update to latest version please.