Activities of "maliming"

这是我的到的错误日志

[11:12:11 ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "An internal error occurred during your request!",
  "details": null,
  "data": {},
  "validationErrors": null
}

[11:12:11 ERR] The property 'BookAuthor.BookId' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principal.
System.InvalidOperationException: The property 'BookAuthor.BookId' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principal.
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.NavigationFixer.ConditionallyNullForeignKeyProperties(InternalEntityEntry dependentEntry, InternalEntityEntry principalEntry, IForeignKey foreignKey)
 

hi

Do you have appsettings.secrets.json and AbpLicenseCode inside your app?

Can your app run successfully without window service ?

hi

The operation was canceled.

The reason I can think of is that the caller cancels the http request, so the server will have this error.

HttpContext.RequestAborted

https://www.meziantou.net/handling-aborted-requests-in-asp-net-core.htm

hi

Can you share your project? So I can check your code.

liming.ma@volosoft.com

hi

Can you share a simple project that reproduces your problem?

liming.ma@volosoft.com

I will download and check it.

hi

Can you try to use cli to download?

abp get-source Volo.Abp.LeptonXTheme.Pro

specify version
abp get-source Volo.Abp.LeptonXTheme.Pro --version 3.0.1

hi

The language texts are multiple tenancy. Different translation texts can be used between each tenant and host.

You can use abp CLI to translate your culture.

abp translate -c sr -r en

This command creates a file in the same folder, named abp-translation.json. Open this file in your favorite editor and fill the missing text values.

Backup abp-translation.json file.

Once you done the translation, use abp translate -a command to apply changes to the related files.

hi

Wanted to deploy the app as a window service with kestrel server. But facing following error when starting the server,

Are there any error logs on logs.txt and Win Event Viewer?

Thanks. I will update the framework code.

hi

Do you have any example that I can follow to implement API bearer token?

There are some examples on Google. It's simple

https://medium.com/@vndpal/how-to-implement-jwt-token-authentication-in-net-core-6-ab7f48470f5c https://www.c-sharpcorner.com/article/jwt-json-web-token-authentication-in-asp-net-core/ https://www.youtube.com/watch?v=mgeuh8k3I4g

You can test this in a new template project, share your project with me if you have any problems.

Showing 5721 to 5730 of 11539 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.