?
Solved

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

Posted on 2013-06-06
6
Medium Priority
?
772 Views
Last Modified: 2013-06-17
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.
0
Comment
Question by:mdunlap99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 49

Expert Comment

by:PortletPaul
ID: 39228313
>>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)
0
 

Author Comment

by:mdunlap99
ID: 39231815
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!
0
 

Author Comment

by:mdunlap99
ID: 39234812
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 49

Expert Comment

by:PortletPaul
ID: 39236247
:( not much I can offer - sorry
0
 

Author Comment

by:mdunlap99
ID: 39240817
I know.  There does seem to be any way to determine what the error is.  Thanks anyway for your effort!
0
 
LVL 49

Accepted Solution

by:
PortletPaul earned 1500 total points
ID: 39240948
a pleasure! cheers, Paul
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question