On the NS under Security/Account Management/Roles we have a role named ‘SMP-Service Desk L1 Worker’ that is imported from Active Directory along with other groups. For some reason, this role does not update its members properly, while all the others do. When click on the ‘Add Member’ button to add someone manually, it gives the error: '404 file or directory not found' error message.
'HTTP 404 file or directory not found'
Found that the MaxQueryString is set at 2048 by default.
Use %windir%\system32\inetsrv\appcmd to change MaxQueryString values:.
"appcmd list config /section:requestFiltering -text:requestLimits.maxQueryString" -----------listed the current value at server level.
"appcmd set config /section:requestFiltering /requestLimits.maxQueryString:4096" -----------changes the value to 4096.
As well you can try these two approaches that should do the same thing as the one above:
1. Go to IIS=>Click on Default Website=>Double-click on Request Filtering=>Query Strings tab=>click on "Edit Feature Settings" (on the right pane)=>Maximum query string(Bytes)
Increase this value from 2048 to something bigger (try in small increments).
2. Other option is to open \Notification Server\Web\web.config and inside it add requestLimits