oracleParameter.Value error

oracleParameter.Value error

Postby tsv » Mon 10 Aug 2009 13:49


I have the same problem as described here

I've found that when I do some changes into my project (usually it's form design) Visual Studio add the next code (marked with bold font) into Designer.cs file:

oracleParameter1.ArrayLength = 0;
oracleParameter1.ObjectTypeName = null;
oracleParameter1.OracleDbType = Devart.Data.Oracle.OracleDbType.Clob;
oracleParameter1.ParameterName = "P_WARES_DATA";
oracleParameter1.Precision = ((byte)(0));
oracleParameter1.Scale = ((byte)(0));
oracleParameter1.Size = 0;
oracleParameter1.Value = ((object)(resources.GetObject("oracleParameter1.Value"))); <-- this string thrown an exception

Microsoft Visual Studio
Code generation for property 'OracleValue' failed. Error was: 'Property accessor 'OracleValue' on object 'Devart.Data.Oracle.OracleParameter' threw the following exception:'Specified method is not supported.''

Ususally it add's randomized to three parameters.

To run program correctly I must delete them and then build. If I don't do it it thrown me "DBNull.Value" exception and application don't run correctly.

I'm using .NET CF 2.0, Visual Studio 2005, dotConnect Mobile for Oracle (in VS2008 it happens rarely)
Posts: 13
Joined: Fri 16 Jan 2009 06:11
Location: Kiev, Ukraine

Postby Shalex » Wed 12 Aug 2009 13:45

We cannot reproduce the mentioned issue with the latest version of dotConnect Mobile for Oracle. Please upgrade to the version. If the problem persists there too, please specify the exact steps which result in adding the wrong code to the *.Designer.cs file.
Devart Team
Posts: 7881
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle