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
752 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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 500 total points
ID: 39240948
a pleasure! cheers, Paul
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

717 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