Activities of "ArneV"

In my package.json all versions seem to be correct (see package.json in the original post)

Still the same error.

  • ABP Framework version: v8.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Exception message and full stack trace:
core.mjs:6531 ERROR NullInjectorError: NullInjectorError: No provider for InjectionToken OPEN_AUTHORITY_DELEGATION_MODAL!
    at NullInjector.get (core.mjs:1654:27)
    at R3Injector.get (core.mjs:3093:33)
    at R3Injector.get (core.mjs:3093:33)
    at injectInjectorOnly (core.mjs:1100:40)
    at ɵɵinject (core.mjs:1106:60)
    at inject (core.mjs:1192:12)
    at Object.configureUserMenu [as useFactory] (volo-abp.ng.theme.lepton.mjs:1203:48)
    at Object.factory (core.mjs:3322:38)
    at core.mjs:3219:47
    at runInInjectorProfilerContext (core.mjs:866:9)
  • Steps to reproduce the issue:

My package.json:

{
  "name": "PartnerPortal",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --open",
    "build": "ng build",
    "build:prod": "ng build --configuration production",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "lint": "ng lint"
  },
  "private": true,
  "dependencies": {
    "@abp/ng.components": "^8.2.2",
    "@abp/ng.core": "^8.2.2",
    "@abp/ng.oauth": "^8.2.2",
    "@abp/ng.setting-management": "~8.2.2",
    "@abp/ng.theme.shared": "~8.2.2",
    "@angular/animations": "^17.3.9",
    "@angular/cdk": "^17.3.9",
    "@angular/common": "^17.3.9",
    "@angular/compiler": "^17.3.9",
    "@angular/core": "^17.3.9",
    "@angular/forms": "^17.3.9",
    "@angular/localize": "^17.3.9",
    "@angular/platform-browser": "^17.3.9",
    "@angular/platform-browser-dynamic": "^17.3.9",
    "@angular/router": "^17.3.9",
    "@fortawesome/fontawesome-free": "^5.15.3",
    "@ng-bootstrap/ng-bootstrap": "^16.0.0",
    "@ngx-translate/core": "^15.0.0",
    "@ngx-translate/http-loader": "^6.0.0",
    "@popperjs/core": "~2.11.8",
    "@tinymce/tinymce-angular": "^8.0.1",
    "@types/bootstrap": "^5.1.0",
    "@types/object-path": "^0.11.1",
    "@types/prismjs": "^1.16.6",
    "@volo/abp.commercial.ng.ui": "~8.2.2",
    "@volo/abp.ng.account": "~8.2.2",
    "@volo/abp.ng.audit-logging": "~8.2.2",
    "@volo/abp.ng.file-management": "~8.2.2",
    "@volo/abp.ng.identity": "~8.2.2",
    "@volo/abp.ng.identity-server": "~8.2.2",
    "@volo/abp.ng.language-management": "~8.2.2",
    "@volo/abp.ng.saas": "~8.2.2",
    "@volo/abp.ng.text-template-management": "~8.2.2",
    "@volo/abp.ng.theme.lepton": "~8.2.2",
    "angular-in-memory-web-api": "^0.17.0",
    "angular-svg-icon": "^17.0.0",
    "animate.css": "^4.1.1",
    "apexcharts": "^3.27.2",
    "bootstrap": "^5.0.2",
    "bootstrap-icons": "^1.5.0",
    "clipboard": "^2.0.8",
    "dompurify": "^2.3.10",
    "flag-icons": "^7.2.3",
    "jquery": "^3.6.0",
    "line-awesome": "^1.3.0",
    "ng-apexcharts": "1.8.0",
    "ngx-quill": "^16.1.2",
    "nouislider": "^15.2.0",
    "object-path": "^0.11.5",
    "prism-themes": "^1.8.0",
    "prismjs": "^1.25.0",
    "quill": "^1.3.7",
    "rxjs": "^7.8.1",
    "socicon": "^3.0.5",
    "tslib": "^2.7.0",
    "typescript": "5.3.3",
    "zone.js": "~0.14.10"
  },
  "devDependencies": {
    "@abp/ng.schematics": "~8.2.2",
    "@angular-devkit/build-angular": "^17.3.9",
    "@angular/compiler-cli": "^17.3.9",
    "@angular/language-service": "^17.3.9",
    "@types/jasmine": "~3.6.0",
    "@types/node": "^12.11.1",
    "eslint": "^7.32.0",
    "jasmine-core": "~3.7.0",
    "ng-packagr": "^17.3.0"
  }
}

This after migrating from ABP 5

I've found out there is a MyServiceConvention : AbpServiceConvention class

In this class, there is an override for "ApplyForControllers" where the AbpApiDefinitionController was removed.

I don't know for what reason that would be. But commenting out that code, i get the definition.

Is it possible I am missing appsettings?

Installing the package and adding the dependency was not enough. Am I missing something else?

It was on an Abp support question: https://abp.io/support/questions/5182/Nuget-feed-broken#answer-3a0b9d8e-3810-0990-b41d-0c1ba9052a25

I have managed to get my migrated solution running. After some research I found a support question from some time ago which mentioned that the commercial nuget source search is no longer maintained, which made solving my issues quite a bit harder.

Anyways, I got it working. I am however missing the AbpApiDefinition endpoint, can you elaborate on how to get it (back)?

CS0433 The type 'AccountUrlNames' exists in both 'Volo.Abp.Account.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Account.Pro.Public.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Host

Please remove Volo.Abp.Account.Application package from your solution

Volo.Abp.Account is an open-source module, you don't need it, please remove those package

Volo.Abp.Account.Pro is a pro module for commercial.

**Error (active) CS0433 The type 'GetIdentityUsersInput' exists in both 'Volo.Abp.Identity.Application.Contracts, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Identity.Pro.Application.Contracts, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Client.ConsoleTestApp **

-> and I cannot find Volo.Abp.Identity.Application.Contracts in my NuGet Packages


Error (active) CS1061 'AuthenticationBuilder' does not contain a definition for 'WithDynamicOptions' and no accessible extension method 'WithDynamicOptions' accepting a first argument of type 'AuthenticationBuilder' could be found (are you missing a using directive or an assembly reference?) PartnerPortal.HttpApi.Host

Code: context.Services.AddAuthentication() .AddGoogle(GoogleDefaults.AuthenticationScheme, _ => { }) .WithDynamicOptions<GoogleOptions, GoogleHandler>( GoogleDefaults.AuthenticationScheme, options => { options.WithProperty(x => x.ClientId); options.WithProperty(x => x.ClientSecret, isSecret: true); } )

-> WithDynamicOptions does not seem to exist


Error (active) CS1061 'AbpAccountOptions' does not contain a definition for 'ImpersonationTenantPermission' and no accessible extension method 'ImpersonationTenantPermission' accepting a first argument of type 'AbpAccountOptions' could be found (are you missing a using directive or an assembly reference?) PartnerPortal.HttpApi.Host

-> None of the options here exist

private void ConfigureImpersonation(ServiceConfigurationContext context, IConfiguration configuration)
{
    context.Services.Configure&lt;AbpAccountOptions&gt;(options =>
    {
        options.TenantAdminUserName = "admin";
        options.ImpersonationTenantPermission = SaasHostPermissions.Tenants.Impersonation;
        options.ImpersonationUserPermission = IdentityPermissions.Users.Impersonation;
    });
}
Showing 21 to 30 of 31 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 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.