Error With Bound Control Causes redirection to 404 Error page instead of displaying error

B

Bishop

Any ideas on why this is happening or how I can fix it?

For instance if I forget to declare a SQL Variable and assign it a value
instead of telling me that it redirects to 404 page not found instead of
telling me the problem. I only get this with bound control errors and it
happens 100% of the time with bound control errors.
 
B

Bishop

For anyone who may have this problem, the solution I found was this:

I had to add the Custom Errors to my Web.Config. The weird thing is the
problem with not getting the errors was only with bound controls and it just
started happening, I don't remember having to do this in the past.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

</customErrors>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top