Activities of "puchner_it42"

I got the same error. For now i will disable it.

Configure<AbpAntiForgeryOptions>(options => { options.AutoValidate = false; });

I know that is not the solution but i will enable it later.

I always got the exception "antiforgery the key was not found in the key ring". How can i handle the antiforgery key in abp?

It is a problem with the antiforgery token.

[17:08:47 INF] Notification is sent on same window time. [17:08:54 INF] Request starting HTTP/1.1 POST http://localhost/InternationaleKennzeichen/CreateModal - application/x-www-form-urlencoded; charset=UTF-8 260 [17:08:54 INF] Executing endpoint '/InternationaleKennzeichen/CreateModal' [17:08:54 INF] Route matched with {page = "/InternationaleKennzeichen/CreateModal", action = "", controller = "", area = ""}. Executing page /InternationaleKennzeichen/CreateModal [17:08:54 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy [17:08:54 INF] Antiforgery token validation failed. The antiforgery token could not be decrypted. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. ---> System.Security.Cryptography.CryptographicException: The key {9b83a679-a168-452b-8719-d75cefa55147} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken) --- End of inner exception stack trace --- at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.DeserializeTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet, AntiforgeryToken& cookieToken, AntiforgeryToken& requestToken) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext) at Microsoft.AspNetCo

By the way, have you tried disabling the WebDAV feature on Windows Server or Desktop machines?

https://dev.to/devvsamjuel/webdav-put-and-delete-http-verbs-remove-webdav-module-on-iis-3l1g

Yes, i did

Any chance you can send me the logs? Let's examine in detail.

https://it42io-my.sharepoint.com/:u:/g/personal/puchner_it42_io/EZFW9oh9cudEvlVG922tCLgBLNHXouGjlTZ1EMq0VP6GOg?e=BBaeHf

e.g. Line 1699 i get this 400 error. The page is a normal from abp generated CRUD page.

Yes, i have tried all this. can you help me over remote desktop?

Unfortunately, we do not have such a service.

In the meantime, a colleague of our team said that this could also be caused by the hosting company. Some hosting companies do not open requests other than GET requests by default. Which hosting company do you use?

Note: Deployment is not a feature directly provided by ABP, but I still tried to help as much as we can.

The IIS is running on my local machine. The App is working if i will start it from Visual Studio, after deployment to IIS only the GET requests are working. The other one´s are not working.

Hello,

Have you checked our document about deployment to ISS?
If not, you can access it here.

You can also find tickets with the same problem as you below:

  • https://abp.io/support/questions/7937/POST-PUT-and-DELETE-requests-return-a-Bad-Request-400-error
  • https://stackoverflow.com/questions/56524740/i-get-a-400-bad-request-when-i-published-my-application-on-iis-but-before-p

Yes, i have tried all this. can you help me over remote desktop?

Showing 1 to 6 of 6 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20