unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Posted on 2013-06-06
I have a very funky problem. I have a gridview populated with 14 <asp:CheckBoxField> controls. I have 2 data engines supplying the data via an ObjectDataSource component. The grid also contains a <asp:CommandField> object to edit rows in the grid. The checkboxes are populate using a select to a datafile. I can either select the data from MSSQL or Oracle11g
Here's the rub. If I use the MSSQL database to populate the grid, all works perfectly. If I switch to Oralce to retrieve the checkbox data, I get the dreaded unknown error: The status code returned from the server was: 500 popup.
There are two things that correct the error. First, I can remove the enveloping UpdatePanel. Now both data sources work, but the page flashes. I can live with this if I have to. Second, I can remove 4 of the checkboxes from the grid (leavinging the UpdatePanel in place), and the error disappears!
I have tried all suggested scripts and page validation found online to no avail. I am really baffled by this one. Is there anyone out there that has any ideas? I have exausted my options at this point. If I only knew why the error is occurring, I could fix it.