Hi,
I am using AspNetZero MVC JQuery .NET CORE framework, version 9.0.1.
In Roles, there is a new filter for Roles based on Permission. Clicking in the button, it will popup a modal form with all permission in a tree (PermissionTreeModal).
If the user select too many permissions (44 in my case), the request url is too big and an exception is thrown:
HTTP Error 404.15 - Not Found The request filtering module is configured to deny a request where the query string is too long.
Is there some fix for that?
6 Answer(s)
-
0
Hi Leonardo.Willrich, I'm not sure if this is a bug, can you provide the routing address that caused the error?
IIS solution: https://stackoverflow.com/questions/11636386/how-to-configure-the-web-config-to-allow-requests-of-any-length https://blog.elmah.io/fix-max-url-and-query-string-length-with-web-config-and-iis/
-
0
Hi. He is the url:
/api/services/app/Role/GetRoles?permissions[0]=Pages.Administration.TaskVistsGroup&permissions[1]=Pages.Administration.iAPIS.Settings&permissions[2]=Pages&permissions[3]=Pages.Administration.Hazards&permissions[4]=Pages.Administration.Hazards.Create&permissions[5]=Pages.Administration.Hazards.Delete&permissions[6]=Pages.Administration.Hazards.Edit&permissions[7]=Pages.Administration.Materials&permissions[8]=Pages.Administration.Materials.Create&permissions[9]=Pages.Administration.Materials.Delete&permissions[10]=Pages.Administration.Materials.Edit&permissions[11]=Pages.Administration.VisitObservationQuestionTemplates&permissions[12]=Pages.Administration.VisitObservationQuestionTemplates.Create&permissions[13]=Pages.Administration.VisitObservationQuestionTemplates.Delete&permissions[14]=Pages.Administration.VisitObservationQuestionTemplates.Edit&permissions[15]=Pages.TaskGroups&permissions[16]=Pages.TaskGroups.Create&permissions[17]=Pages.TaskGroups.Delete&permissions[18]=Pages.TaskGroups.Edit&permissions[19]=Pages.TaskStatus&permissions[20]=Pages.TaskStatus.Create&permissions[21]=Pages.TaskStatus.Delete&permissions[22]=Pages.TaskStatus.Edit&permissions[23]=Pages.Tasks&permissions[24]=Pages.Tasks.Create&permissions[25]=Pages.Tasks.Delete&permissions[26]=Pages.Tasks.Edit&permissions[27]=Pages.Administration.VisitStatus&permissions[28]=Pages.Administration.VisitStatus.Create&permissions[29]=Pages.Administration.VisitStatus.Delete&permissions[30]=Pages.Administration.VisitStatus.Edit&permissions[31]=Pages.Administration.VisitTemplates&permissions[32]=Pages.Administration.VisitTemplates.Create&permissions[33]=Pages.Administration.VisitTemplates.Delete&permissions[34]=Pages.Administration.VisitTemplates.Edit&permissions[35]=Pages.Administration.WorkerCrews&permissions[36]=Pages.Administration.WorkerCrews.Create&permissions[37]=Pages.Administration.WorkerCrews.Delete&permissions[38]=Pages.Administration.WorkerCrews.Edit&permissions[39]=Pages.Administration.WorkerMPE&permissions[40]=Pages.Administration.WorkerVehicles&permissions[41]=Pages.Administration.WorkerVehicles.Create&permissions[42]=Pages.Administration.WorkerVehicles.Delete&permissions[43]=Pages.Administration.WorkerVehicles.Edit
-
0
-
0
@ismcagdas,
New issue created as requested:
https://github.com/aspnetzero/aspnet-zero-core/issues/3633
-
0
Thanks a lot