Activities of "dipak.z"

Thanks

Please you can take Anydesk or Zoom meeting for this . According to Company Policy I Can't Share Nuget packages.

ok i will mail you nuget pacakge url. and create project from abp suite with tired and webpublic. thank you.

hi

You can try to reproduce this problem in a new template project and module.

-> I have module in non tired solution its working in that solution -> after publish nuget packages of module install in other non tired solution and its work in this solution -> create another tired soltuion in this install that module its not working in this

hi

Please share your test project with liming.ma@volosoft.com include the steps.

Thanks

But Nuget packages of my module is on internal url.

Steps:- Create New Project from abp suite ->Install Nuget Pacakge of Custom module in each project & Add Depends On. ->Migrate Db -> Run Project and when open CRUD Page of Module or Invoke ViewComponenet of module then throw this error

hi

Can you share a simple tiered project to show the problem?

liming.ma@volosoft.com

i created sample project from abp suite. this is structure

hi

You should create a IMapComponentSettingRepository interface and implement it on EF Core module.

then inject the IMapComponentSettingRepository from MapComponentAppService

See

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreModule.cs#L14-L23

but module is working fine in non tired solution and all code is in module.this is not worked in tired solution

also in module there is not any repository named IMapComponentSettingRepository

public class MapComponentAppService : CrudAppService< MapComponentSetting, MapComponentSettingDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateMapComponentSettingDto>, IMapComponentAppService {

    public MapComponentAppService(IRepository&lt;MapComponentSetting, Guid&gt; repository) :base(repository) { 
    }
    ........//Other Methods

}

i already do that and its throw error when i run ViewComponent from Module @await Component.InvokeAsync(typeof(SGLMapComponent.Web.Components.Map.MapViewComponent), new {pageName="Portal"})

An unhandled exception occurred while processing the request. DependencyResolutionException: None of the constructors found on type 'SGLMapComponent.MapComponent.MapComponentAppService' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository2[SGLMapComponent.MapComponentSettings.MapComponentSetting,System.Guid] repository' of constructor 'Void .ctor(Volo.Abp.Domain.Repositories.IRepository2[SGLMapComponent.MapComponentSettings.MapComponentSetting,System.Guid])'.

See https://autofac.rtfd.io/help/no-constructors-bindable for more info.

Autofac.Core.Activators.Reflection.ReflectionActivator+<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action<ResolveRequestContext> next) DependencyResolutionException: An exception was thrown while activating SGLMapComponent.Web.Components.Map.MapViewComponent -> SGLMapComponent.MapComponent.MapComponentAppService.

ModuleName -> SGLMapComponent

this module run perfectly in NonTired Solution

Any Update?

I apologise for your inconvenience; I will check and get back to you.

Ok Thanks

You can install that customized module in your application with the help of CLI.

npm install < YourModuleName >

Note - You can install it desired project by opening its command prompt form file explorer.

i have nuget packages not npm packages ok. i want to install that packages in tired solution also i give both project structure(Module and actual project) please suggest.

Zobrazeno od 11 do 20 z celkem 50 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11