abp icon indicating copy to clipboard operation
abp copied to clipboard

Not Suport Controller for inherit from DevExpress.DashboardAspNetCore.DashboardController

Open mahdihp opened this issue 8 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

My Controller

namespace RsoDashborad.Web.Controllers
{
    public class DefaultDashboardController : DashboardController
    {
        public DefaultDashboardController(DashboardConfigurator configurator, IDataProtectionProvider dataProtectionProvider = null)
            : base(configurator, dataProtectionProvider)
        {
        }
    }
}

Not Support Controller for inherit from DevExpress.DashboardAspNetCore.DashboardController in abp system.

 Executing controller action with signature Microsoft.AspNetCore.Http.IResult Test() on controller RsoDashborad.Web.Controllers.DefaultDashboardController (RsoDashborad.Web.Mvc).
ERROR 2025-04-30 15:12:47,401 [5    ] Mvc.ExceptionHandling.AbpExceptionFilter - No component for supporting the service RsoDashborad.Web.Controllers.DefaultDashboardController was found
Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service RsoDashborad.Web.Controllers.DefaultDashboardController was found

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

v13.4.1

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

mahdihp avatar Apr 30 '25 11:04 mahdihp

hi

Try to add your DevExpress controller to DI system

context.Services.AddTransient< DefaultDashboardController>();

maliming avatar May 01 '25 05:05 maliming

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 18 '25 23:07 stale[bot]