Hi there,
I have a form that consist of gridview which enable Select and Formview initially in Insert mode. When the user select a row clicking the Select on the gridview I change the Formview mode to Edit showing the correct record, most of the time it works like
a charm but sometimes when I click the Formview Update I get 500 Server Internal Error,
I built a test page with only Formview in Edit mode showing one of the records and I Update it constantly and it works great, no error at all.
Any idea why I get this 500 Internal server error ?
there can be lots of reason for this.To view actual error you need to change config file as explained by Aristos
First you need to enable and see detailed errors of your web messages because this is a general message with out giving information's on whats really happening for security reasons.
With the detailed error you can locate the real issue here.
Also if you can run the browser on the server you get detail on the error because server recognize that you are local and show to you, or if you can read the log of the server using the Event Viewer you also see the detailes of your error.
on iis6
on iis7
Note: You can avoid the Debug=true, you only need to close the custom errors for while, and get the detailed error page.
reference: enabling windows custom error messaging on godaddy help articles.
Also can help how to enable the detailed error messages from iis.
reference:
enabling windows custom error messaging on godaddy help articles.
Also can help
how to enable the detailed error messages from iis.
沒有留言:
張貼留言