0

I am working on a legacy Web Forms project written in VB.net. When an authorized client makes a bad request, my application response returns a full stack trace that I want to hide.

I have a redirect error page configured but this is specifically to handle a bad request that a client initiates on the browser.

This is similar to another question: Hide / Remove Stack Trace information

The stack trace warnings show up in the API request like in the above question: image of stack trace

So far I have tried modifying web.config to set compilation debug = False, check to make sure redirect is enabled for bad requests, ensure that the default trace enabled="false" is not overridden anywhere.

Any suggestions would be appreciated.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.