PC Review


Reply
Thread Tools Rate Thread

ADO.NET Oracle Varchar2 BUG?

 
 
=?Utf-8?B?cGx1bWVwcm9n?=
Guest
Posts: n/a
 
      24th Jan 2005
Hi,
I have an Oracle 8.1.7 server and I'm extracting a Varchar2(length 300)
using an aspx page and the field is always Null, even if it's not in the DB.
I tried the EXACT same code in a windows form and it works perfect.

Is there a bug in asp.net/ado.net with Varchar2 bigger than 256 char ? (I
have no problems with Varchar2 of length < 256).

Also, I tried creating a copy of my table with a Varchar1 instead of the
Varchar2 and it worked too (>256).
 
Reply With Quote
 
 
 
 
=?Utf-8?B?cGx1bWVwcm9n?=
Guest
Posts: n/a
 
      24th Jan 2005
Found my problem to be related to oracle tablespace being corrupted...

"plumeprog" wrote:

> Hi,
> I have an Oracle 8.1.7 server and I'm extracting a Varchar2(length 300)
> using an aspx page and the field is always Null, even if it's not in the DB.
> I tried the EXACT same code in a windows form and it works perfect.
>
> Is there a bug in asp.net/ado.net with Varchar2 bigger than 256 char ? (I
> have no problems with Varchar2 of length < 256).
>
> Also, I tried creating a copy of my table with a Varchar1 instead of the
> Varchar2 and it worked too (>256).

 
Reply With Quote
 
Angel Saenz-Badillos[MS]
Guest
Posts: n/a
 
      25th Jan 2005
Auch, can you elaborate?

I have not seen this problem before and it would be interesting to know how
the tablespace was corrupted and how you found out.
Thank you,

--
Angel Saenz-Badillos [MS] Managed Providers
This posting is provided "AS IS", with no warranties, and confers no
rights.Please do not send email directly to this alias.
This alias is for newsgroup purposes only.
I am now blogging about ADO.NET: http://weblogs.asp.net/angelsb/




"plumeprog" <(E-Mail Removed)> wrote in message
news:3F26C113-61B1-46E4-9FBC-(E-Mail Removed)...
> Found my problem to be related to oracle tablespace being corrupted...
>
> "plumeprog" wrote:
>
> > Hi,
> > I have an Oracle 8.1.7 server and I'm extracting a Varchar2(length 300)
> > using an aspx page and the field is always Null, even if it's not in the

DB.
> > I tried the EXACT same code in a windows form and it works perfect.
> >
> > Is there a bug in asp.net/ado.net with Varchar2 bigger than 256 char ?

(I
> > have no problems with Varchar2 of length < 256).
> >
> > Also, I tried creating a copy of my table with a Varchar1 instead of the
> > Varchar2 and it worked too (>256).



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet Max Length Compared to Oracle Varchar2 maloney1 Microsoft C# .NET 1 24th Nov 2008 04:42 PM
Problem With Varchar2 Parameter in ASP.NET Robert E. Flaherty Microsoft ASP .NET 2 6th Jun 2005 02:03 PM
Problem when accessing Oracle Procedure with varchar2 Mullin Yu Microsoft C# .NET 1 18th Jan 2005 09:04 AM
Oracle's OLEDB: VARCHAR2 encoding bug / problem Rob Microsoft ADO .NET 0 28th Jul 2003 05:33 PM
OraOLEDB.Oracle: Corrupt varchar2 column data in result rows Rob Microsoft ADO .NET 0 24th Jul 2003 10:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:34 AM.