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
735 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 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
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

733 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