I have a typed dataset which contains data I want to send to the database.
I created an OracleDataAdapter and have set the correspond OracleCommands.
In oracle there are the required procedures.
When I call 'Update', I always get the error 'String buffer too small' . I
already set the size of all parameters that correspond to a VARCHAR2
variable, to eg.50. But that was not the solution.

Can anybody give me some more help or tips that could solve the problem?

Some more info;
Oracle 9.2.0.6 on the server
Oracle 9.2.0.4.1 on the client.
Using ODP.NET

Thanks,
Kris

Re: URGENT: Oracle: String buffer too small by Sahil

Sahil
Tue Aug 02 22:53:30 CDT 2005

You you do an exception.tostring and paste the full error message?


--

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
----------------------------------------------------------------------------

"Krism" <Krism@discussions.microsoft.com> wrote in message
news:468F59B9-0C27-4503-9E82-71ECB8C4531F@microsoft.com...
>I have a typed dataset which contains data I want to send to the database.
> I created an OracleDataAdapter and have set the correspond OracleCommands.
> In oracle there are the required procedures.
> When I call 'Update', I always get the error 'String buffer too small' . I
> already set the size of all parameters that correspond to a VARCHAR2
> variable, to eg.50. But that was not the solution.
>
> Can anybody give me some more help or tips that could solve the problem?
>
> Some more info;
> Oracle 9.2.0.6 on the server
> Oracle 9.2.0.4.1 on the client.
> Using ODP.NET
>
> Thanks,
> Kris



Re: URGENT: Oracle: String buffer too small by Krism

Krism
Wed Aug 03 00:09:01 CDT 2005

Oracle.DataAccess.Client.OracleException : ORA-06502: PL/SQL: numeric or
value error: character string buffer too small
ORA-06512: at line 1

"Sahil Malik [MVP]" wrote:

> You you do an exception.tostring and paste the full error message?
>
>
> --
>
> - Sahil Malik [MVP]
> ADO.NET 2.0 book -
> http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
> ----------------------------------------------------------------------------
>
> "Krism" <Krism@discussions.microsoft.com> wrote in message
> news:468F59B9-0C27-4503-9E82-71ECB8C4531F@microsoft.com...
> >I have a typed dataset which contains data I want to send to the database.
> > I created an OracleDataAdapter and have set the correspond OracleCommands.
> > In oracle there are the required procedures.
> > When I call 'Update', I always get the error 'String buffer too small' . I
> > already set the size of all parameters that correspond to a VARCHAR2
> > variable, to eg.50. But that was not the solution.
> >
> > Can anybody give me some more help or tips that could solve the problem?
> >
> > Some more info;
> > Oracle 9.2.0.6 on the server
> > Oracle 9.2.0.4.1 on the client.
> > Using ODP.NET
> >
> > Thanks,
> > Kris
>
>
>