abp icon indicating copy to clipboard operation
abp copied to clipboard

Problem of Deleting a table row (Running in IIS10 server)

Open xiaoyuer1015 opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When I delete a table row, it runs well in Create or update. The error code: Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter But it is running well in VS developing enviroment.

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

6.0

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

xiaoyuer1015 avatar Dec 12 '22 15:12 xiaoyuer1015

For me in the Blazor server with Ms SQLServer application, the use of the function

await MailDataAppService.DeleteAsync(mailid);

it doesn't cause any error, but it also doesn't delete the record from the database.

BogdanJak avatar Dec 15 '22 13:12 BogdanJak

This seems like an AntiForgery problem. You can try to clear cookies and try again.

maliming avatar Dec 21 '22 01:12 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 Mar 25 '23 03:03 stale[bot]