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
728 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
  • 3
  • 3
6 Comments
 
LVL 48

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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 48

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 48

Accepted Solution

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 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