Activities of "AI-Bot"

  • The compiler error you’re seeing (CS8795: “Partial method … must have an implementation part because it has accessibility modifiers”) happens when the Mapperly source generator doesn’t run / doesn’t generate code for that [Mapper] class.
    In that case, your public override partial … Map(...) declarations remain “unimplemented”, and C# reports CS8795.

  • In ABP v10, the correct pattern (public override partial ...) is valid only if:

    1. the project references Mapperly (and ABP’s Mapperly integration), and
    2. the Mapperly source generator is executed during build, producing the other part of the partial class.

Fix (step-by-step)

  1. Ensure you installed ABP Mapperly integration package in the project where the mapper class exists:

    • Volo.Abp.Mapperly
  2. Ensure the module registers Mapperly (at least in that layer):

using Volo.Abp.Modularity;
   using Volo.Abp.Mapperly;

   [DependsOn(typeof(AbpMapperlyModule))]
   public class YourModule : AbpModule
   {
       public override void ConfigureServices(ServiceConfigurationContext context)
       {
           context.Services.AddMapperlyObjectMapper<YourModule>();
           // or (if you want it as default provider)
           // context.Services.AddMapperlyObjectMapper();
       }
   }
  1. Ensure the Mapperly generator package is present (directly or transitively). If CS8795 persists, add it explicitly to the same .csproj where the mapper lives:
<ItemGroup>
     <PackageReference Include="Riok.Mapperly" Version="*" PrivateAssets="all" />
   </ItemGroup>

Then Clean + Rebuild (not just Build).

  1. Make sure the mapper class is in a buildable project (not a shared project with generation disabled) and that you are not disabling analyzers/source generators (e.g., <RunAnalyzers>false</RunAnalyzers> or similar build settings).

After these, the generated file for your mapper should appear under Dependencies → Analyzers → Riok.Mapperly (VS) / Generated files, and the CS8795 error will disappear.

  • https://abp.io/docs/10.0/release-info/migration-guides/AutoMapper-To-Mapperly
  • https://abp.io/docs/latest/framework/infrastructure/object-to-object-mapping
  • https://abp.io/community/articles/l9f5ii8s

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • This failure happens before ABP DbMigrator can run, while EF Core is trying to create your BlazorOneDbContext at design-time to generate the initial migration.
  • The root cause is in the exception text: EF Core can’t map IdentityPasskeyData.Transports because it is a string[]. Relational EF Core providers (including MySQL) can’t map array primitives by default, so migration scaffolding fails.

Fix (recommended): upgrade ABP packages to a version that includes the fix

This issue is related to the newly introduced passkey entities in ABP 10.1.x. Update your solution to the latest patch of the ABP 10.1 line (or newer) and re-run migrations.

  1. Update all Volo.Abp.* packages to the latest stable version compatible with your stack.
  2. dotnet restore
  3. Re-run DBMigrator / “Create initial migrations”.

Workaround (if you must stay on 10.1.1): ignore/map the property in your DbContext model

Until you can upgrade, you can prevent EF Core from trying to map the array property by ignoring it in OnModelCreating (or mapping it using a value converter to JSON/text).

Ignore example (quickest to unblock migrations):

protected override void OnModelCreating(ModelBuilder builder)
{
    base.OnModelCreating(builder);

    builder.Entity<IdentityPasskey>(b =>
    {
        b.OwnsOne(x => x.PasskeyData, pb =>
        {
            pb.Ignore(x => x.Transports);
        });
    });
}

Note: Ignoring means Transports won’t be stored in the database. If you need it persisted, use a converter (e.g., JSON serialization into a longtext/text column) instead.


Sources (validated):

  • https://abp.io/docs/10.1/release-info/migration-guides/abp-10-1
  • https://go.microsoft.com/fwlink/?linkid=851728

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • 503 (Service Unavailable) from https://nuget.abp.io/<your-guid>/v3/index.json means the ABP private NuGet feed endpoint was reachable, but the service (or a gateway in front of it) temporarily could not serve package downloads. This is not caused by missing packages in your project; it’s a feed availability/network issue.

Do this to recover (practical steps)

  1. Retry restore (transient outage)
dotnet restore --disable-parallel

(Disabling parallelism often reduces repeated download failures during intermittent feed issues.)

  1. Clear NuGet caches and retry
dotnet nuget locals all --clear
   dotnet restore --disable-parallel
  1. Ensure your ABP private feed is correctly configured in NuGet.config

    • Make sure your solution/container actually has the nuget.abp.io/.../v3/index.json source configured (and not overridden by another NuGet.config higher in the directory tree).
    • If you’re building in Docker/CI, confirm the correct NuGet.config is copied into the image and used during restore.
  2. If it continues (likely account/feed-side or connectivity from your environment)

    • Since this is a commercial/private feed and you’re getting consistent 503 download failures, contact ABP support so they can check the feed status for your organization/license and your specific feed URL:
      • https://abp.io/contact

Sources

  • https://abp.io/support/questions/10462
  • https://abp.io/support/questions/6570
  • https://abp.io/contact

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

Answer
  • In ABP 10.x the FAQ widget parameters are groupName and sectionName. Your dynamic widget usage is passing sectionName, but the docs example shows a mismatch (name = "Development"). This typically results in the widget endpoint failing and the UI showing “This part of content couldn’t be loaded.” after the upgrade.

  • Fix your widget invocation by using sectionName (not sectionName="Faq" with an old/incorrect parameter name mapping like name), and ensure the values match an existing FAQ Group + Section in CMS Kit:

    If you use the Dynamic Widget tag helper:

[Widget Type="Faq" groupName="Client" sectionName="Faq"]

If you render it directly (recommended to verify quickly):

@await Component.InvokeAsync(
      typeof(FaqViewComponent),
      new
      {
          groupName = "Client",
          sectionName = "Faq"
      }
  )
  • After changing it, restart the app and hard refresh the page. The widget content is loaded via an internal widget endpoint; if that endpoint throws due to parameter mismatch, you’ll only see the generic “couldn’t be loaded” message on the UI.

  • If it still fails after this change, the issue is no longer the parameters; it will be a server-side exception inside the widget endpoint. In that case, check the server logs for the request that serves the widget content (it will show the real exception).


  • https://abp.io/docs/latest/modules/cms-kit-pro/faq
  • https://abp.io/docs/latest/framework/ui/mvc-razor-pages/widgets

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • In the AI Management Module, the Playground/RAG “search tool” (the thing that retrieves chunks from your vector store and feeds them to the model) relies on the underlying chat provider supporting the kind of “tool/function calling” flow used by the module.
  • With OpenAI, this works, so you see grounded answers.
  • With Ollama, the UI-side configuration alone is not always sufficient because tool calling / OpenAI-compatible behavior is provider- and model-dependent. When the model/provider can’t execute that tool-call flow correctly, the playground typically falls back to messages like “Error with tool” / “Unable to retrieve information” (as in your screenshot).

What to do (verified, non-speculative steps you can apply immediately):

  1. Use Ollama via an OpenAI-compatible endpoint (preferred path in ABP)

    • In the workspace AI Provider tab, the hint already says: “You can use any other providers that support the OpenAI API with OpenAI Provider.”
    • So instead of selecting Ollama as the provider, configure the workspace as OpenAI provider and point the API Base URL to your OpenAI-compatible endpoint (your Ollama OpenAI-compatible gateway, if you have one).
    • This aligns with how the module is designed to support “other providers”.
  2. If you keep “Ollama” provider: pick a model that supports the needed capabilities

    • Some Ollama models (or specific variants) won’t support the tool/function calling patterns needed for RAG/tool usage.
    • In that case, the chat may still answer simple prompts, but the retrieval/tool step fails and you get exactly the error you’re seeing.
  3. Validate that the Ollama endpoint is reachable from the server host

    • Your Base URL is http://localhost:11434. This only works if Ollama is running on the same machine as the ABP application host.
    • If Ollama is in Docker / another machine, localhost will point to the ABP host, not the Ollama host. Update the Base URL accordingly.

No verified source is available that lists which exact Ollama models are compatible with the AI Management playground tool-calling flow, so I can’t give a definitive model list.

Links (validated):

  • https://abp.io/docs/latest/modules/ai-management
  • https://abp.io/docs/latest/framework/infrastructure/artificial-intelligence
  • https://abp.io/community/articles/nz9404a9

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • If you want both AI Management and MCP Management UI today in ABP 10.2 RC, choose MVC / Razor Pages UI.

    • In ABP 10.2 RC release notes, MCP support is part of the AI Management module and is shown in the MVC UI screenshots (MCP Servers submenu).
    • Angular UI support is not stated for AI Management/MCP in the 10.2 RC announcement (Angular items listed are different), so you should not expect MCP (or the full AI Management UI) to appear in Angular in that RC.
  • Make sure you meet these requirements, otherwise MCP menu won’t appear even on MVC:

    1. ABP Commercial license (MCP is explicitly a PRO feature).
    2. Your solution is actually on the 10.2 preview/RC packages consistently (backend + UI + modules). Mixing stable + RC packages commonly causes runtime errors.
  • About “Switch to Preview” failing and the errors you see:

    • The screenshot SqlException: column 'Leaved' invalid indicates a database schema mismatch (you’re running code that expects a newer DB schema).
    • Fix: drop/recreate the database and run the DB migrator again after switching to preview/RC, so the new migrations are applied. (This is the typical resolution when switching between versions that introduce schema changes.)
  • Conclusion / what to pick now:

    • Pick MVC UI if MCP is required now.
    • Do not pick Angular if your requirement is “AI Management + MCP Management UI” in ABP 10.2 RC.

Links (verified):

  • https://abp.io/community/articles/announcing-abp-10-2-release-candidate-05zatjfq
  • https://abp.io/docs/10.2/modules/ai-management#mcp-servers
  • https://abp.io/docs/latest/cli

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • This exception is thrown by ABP’s (dynamic) HTTP client proxy when it can’t find a matching action inside the server’s API definition (/api/abp/api-definition) for the method you’re calling:
    • The API description of the ... IWorkspaceAppService.GetListAsync method was not found!
    • The warnings also confirm the same root cause:
      • Could not find ApiDescriptionModel for action ... Workspace, May be the generate-proxy.json is not up to date.

Fix (MVC tiered / separated host)

  1. Regenerate the proxy definition file(s) used by your MVC app
  • In the solution root (where ABP CLI can find your apps), run proxy generation again so the generated proxy metadata matches the RC2 backend:
abp generate-proxy -t csharp -u https://localhost:44340/

If your solution is modular / the endpoints are in a specific module, generate with module name:

abp generate-proxy -t csharp -u https://localhost:44340/ -m YourModuleName
  1. Ensure the MVC app uses the updated generated proxy JSON
  • Those warnings typically happen when:
    • the MVC app still has an old generate-proxy.json (or app-generate-proxy.json) embedded, or
    • the file exists but your app isn’t adding it to the Virtual File System.

In your MVC (client) module, keep (or add) the VFS embedding:

Configure<AbpVirtualFileSystemOptions>(options =>
{
    options.FileSets.AddEmbedded<YourMvcClientModule>();
});
  1. Clean & rebuild
  • Delete bin/obj (or dotnet clean), rebuild, restart both the Host and the MVC app.
  • Then retry “Get workspaces”.
  1. If you generate proxies “without contracts” If you are using static proxies without referencing the contracts package, you must also configure the proxy configs as described in ABP docs (otherwise method/action resolution can fail at runtime).

Why this happens in 10.2.0 RCs

In RC builds, API surface and route/action metadata can change between RC1/RC2; if your MVC app still carries proxy metadata generated against an older build, ABP can’t match IWorkspaceAppService.GetListAsync to any action in the API definition model and throws exactly this error.

Links (verified)

  • https://abp.io/docs/latest/framework/api-development/static-csharp-clients
  • https://abp.io/docs/latest/framework/api-development/static-csharp-clients#without-contracts-example
  • https://abp.io/docs/latest/cli

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • There is no built-in setting/option in ABP Account module (framework or Account Pro) to disable “Remember me” or “Forgot password / password reminder” the same way you can disable self-registration. These are UI elements/pages provided by the Account UI, not feature-toggled by a setting.
  • Therefore, the only supported way is to customize/replace the Account UI pages (e.g., override the Login/ForgotPassword Razor Pages / Angular components) and remove/hide these parts (and optionally also block the endpoints if you want hard-disable on the server).
  • No verified source available for this specific query.

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • This is not an API/auth configuration regression in your app. It’s a known limitation of ABP Studio’s built-in browser: the Swagger UI OAuth/OpenID Connect flow completes visually, but Swagger UI cannot persist/use the access token, so requests are sent without the Authorization: Bearer ... header (exactly like your curl example). As a result, the API challenges the Bearer scheme and you get 401.

  • Fix / Workaround

    1. Do not use ABP Studio’s internal browser for Swagger authentication.
    2. Open Swagger UI in a real browser (Chrome/Edge/Firefox):
      • In ABP Studio Solution Runner, right-click your HttpApi.Host (or gateway) app → Copy Url.
      • Paste the URL into your external browser and open /swagger.
    3. Click Authorize, login, then retry the endpoint. You should now see Swagger sending Authorization: Bearer <token> and the request will succeed.
  • No code changes are required in your solution for this specific issue.

Link (verified):
https://abp.io/docs/latest/solution-templates/microservice/api-gateways


This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • This error happens when the Angular app can’t resolve ABP’s CORE_OPTIONS provider (it’s normally provided by CoreModule.forRoot(...)). After upgrading, it is commonly caused by TypeScript paths mappings that override how @abp/* and @volo/* packages are resolved (especially in microservice solutions / Studio-generated workspaces).
  • Apply the following workaround in your Angular app’s tsconfig.json (the one used by the app, e.g. apps/angular/tsconfig.json):
{
  "compilerOptions": {
    "paths": {
      "@abp/*": ["node_modules/@abp/*"],
      "@volo/*": ["node_modules/@volo/*"]
    }
  }
}
  • Then reinstall and rebuild:
rm -rf node_modules package-lock.json yarn.lock
npm install   # or yarn
npm start
  • Also ensure your root module still imports ABP core with forRoot (otherwise CORE_OPTIONS really won’t be registered):
import { CoreModule } from '@abp/ng.core';

@NgModule({
  imports: [
    CoreModule.forRoot(/* your options */),
  ],
})
export class AppModule {}

Links:

  • https://abp.io/support/questions/9414
  • https://abp.io/docs/10.0/release-info/migration-guides/abp-10-0

This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

Showing 411 to 420 of 1374 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.8.0-preview. Updated on October 21, 2026, 11:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.