Activities of "sinancondo"

Fixed ,thanks

the DB migrator now see the db and created the DB , but with only history table, I am trying to create migration script but says cannot fine this dbcontext :

dotnet ef migrations add Init_Audit_Logging
--context Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext No DbContext named 'AbpAuditLoggingDbContext' was found.

under which project should that script be run and is there another way to generate the migration script ?

Yes it is MSSQL , but based on previous comments, I am just using builtin AbpAuditLoggingDbContext do I really need to create a seperate module and DbContextFactory ?

followed all the above, yet when running DB Migrator no new DB is created, also when I run migration script from cmd I get this error :

dotnet ef migrations add "Init_Audit_Logging" --context AbpAuditLoggingDbContext Build started... Build succeeded. No DbContext named 'AbpAuditLoggingDbContext' was found.

But I see no relationship between connectionstring and auditing DB context, how to set the connection string name to auditing DB context or there is a default value for audit db context connectionstring

I get syntax error on this line : database.MappedConnections.Add(typeof(AbpAuditLoggingDbContext));

because Add method accept string , but we are passing type

Do I need to create another DBMigrator project for auditing DB or you recommended using one DB Migrator for both prod and auditing databases , any example ?

We have around 190 permission in the [dbo].[AbpPermissions] table with 5 roles, we dont use explicitly claims , it is more users/roles/permissions structure .

The dynamic proxy interface cannot be resolved I have sent you the project by email , please let me know if you need anything else

`fail: Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter[0] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": null, "validationErrors": null }

fail: Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter[0] An exception was thrown while activating Cao.CatOs.TestHarness.Api.Host.Features.CatFile.CatFileSummaryTestService. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Cao.CatOs.TestHarness.Api.Host.Features.CatFile.CatFileSummaryTestService. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'Cao.CatOs.TestHarness.Api.Host.Features.CatFile.CatFileSummaryTestService' can be invoked with the available services and parameters: Cannot resolve parameter 'Cao.CatOs.CatFiles.ICatFileSummaryAppService catFileAppService' of constructor 'Void .ctor(Cao.CatOs.CatFiles.ICatFileSummaryAppService)'.

See https://autofac.rtfd.io/help/no-constructors-bindable for more info. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.

trce: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[53] Exception Filter: After executing OnExceptionAsync on filter Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter. `

I fixed that issue , but still failing to run the application, now getting this one :

Showing 1 to 10 of 21 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.