Link to home
Start Free TrialLog in
Avatar of mdunlap99
mdunlap99

asked on

unknown error occurred while processing the request on the server. The status code returned from the server was: 500

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.
Avatar of PortletPaul
PortletPaul
Flag of Australia image

>>I can remove 4 of the checkboxes ... and the error disappears
maybe a dumb question, but does this indicate some of the fields being requested from the oracle db don't exist? (or maybe the field aliases don't align)

(but I'm assuming I guess that it is a certain 4 that you remove, if it's any 4, then maybe I'm not even close)
Avatar of mdunlap99
mdunlap99

ASKER

You know, at this point any ideas can help lead to solution.  Thanks for your comments.  The There are some date fields involved that might be null.  I want to try converting all dates to string values and see if that changes anything.  For now, I have removed the update panel container and all works well.  There is something for sure coming from Oracle that the UpdatePanel can't handle.  I will report outcome on Monday.  Again, thanks!
No joy.  I changed the datetime fields to string types, but there was no change.  It seems to be an UpdatePanel component error.  I'm just going to leave the update panel off the page for now.
:( not much I can offer - sorry
I know.  There does seem to be any way to determine what the error is.  Thanks anyway for your effort!
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial