Search found 17 matches

by pari
Mon 03 Jul 2017 07:28
Forum: dotConnect for Oracle
Topic: Can no longer connect in Direct Mode (ORA-03113)
Replies: 18
Views: 9112

Re: Can no longer connect in Direct Mode (ORA-03113)

I absolutely agree.

2. "Data Source=jeseter;Service Name=jeseter;Direct=true;User Id=scott;Password=asd"

3. Oracle 12c Enterprise Edition release 12.1.0.1.0 64 bit edition
by pari
Mon 03 Jul 2017 07:22
Forum: dotConnect for Oracle
Topic: ORA-03113 (dcoracle 9.04.299 pro)
Replies: 5
Views: 1319

Re: ORA-03113 (dcoracle 9.04.299 pro)

Hi,
there are next information:

Code: Select all

using System;
using Devart.Data.Oracle;

namespace TestOra299
{
    class Program
    {
        static void Main()
        {
            //Oracle 12c Enterprise Edition release 12.1.0.1.0 64 bit edition
            using (var connection = new OracleConnection("Data Source=jeseter;Service Name=jeseter;Direct=true")
            { UserId = "scott", Password = "asd" }
                )
            {
                try
                {
                    connection.Open();
                    connection.Close();
                }
                catch (Exception ex)
                {
                    //ORA-03113: end-of-file on communication channel
                    Console.WriteLine(ex.Message);
                }
            }
        }
    }
}
When I remove an uid and a password, the result is same:

Code: Select all

//Oracle 12c Enterprise Edition release 12.1.0.1.0 64 bit edition
using (var connection = new OracleConnection("Data Source=jeseter;Service Name=jeseter;Direct=true"))
{
...
}
PaRi
by pari
Thu 29 Jun 2017 10:11
Forum: dotConnect for Oracle
Topic: ORA-03113 (dcoracle 9.04.299 pro)
Replies: 5
Views: 1319

ORA-03113 (dcoracle 9.04.299 pro)

Hi,
after instalation ver. 9.4.299 I got a error message: ORA-03113: end-of-file on communication channel.
I try it in app using Entity Developer and next I try it in Entity Developer: Update From Database Wizzard.
I have a VS2017 pro.

Can you help me?

PaRi

PS: now I back to ver. 9.3.230
by pari
Fri 07 Apr 2017 12:05
Forum: dotConnect for Oracle
Topic: Invalid username/password
Replies: 2
Views: 1417

Re: Invalid username/password

Hello,
I have the same problem.
After downgrading to 9.01.121 I can't set licences in VS 2017. :(

Pavel Riedl
by pari
Wed 07 Dec 2011 09:54
Forum: dotConnect for Oracle
Topic: 6.50.250.0 Select with multiple params DOES NOT WORK
Replies: 2
Views: 1029

We have the same problem

Hello,

We have this same issue. With 6.30.196 we have working application,
after upgrade to 6.50.244 we get 'ORA-01008: not all variables bound'
for many queries.

We going back to 6.30.196 to solve it.
by pari
Tue 02 Aug 2011 10:06
Forum: dotConnect for Oracle
Topic: ORA-01461: can bind a LONG value only for insert into a LONG
Replies: 7
Views: 3464

Problem resolved.

Hi,
after installing the new version (6.30.196.0) this issue is resolved.

Have a nice day, PaRi
by pari
Tue 02 Aug 2011 08:23
Forum: dotConnect for Oracle
Topic: ORA-01461: can bind a LONG value only for insert into a LONG
Replies: 7
Views: 3464

We have the same problem.

DataOracle.Version = 6.10.103.0
by pari
Thu 08 Oct 2009 10:08
Forum: Entity Developer
Topic: The specified metadata path is not valid
Replies: 41
Views: 35558

I have the same problem in WinForms/VS2008/Win7

Hi,
I have the same problem ('Unable to load the specified metadata resource').
2 days ago I migrated from Vista to Win7 and now I can build my projects, but after runing I get error 'Unable to load the specified metadata resource'.

...and I discovered an mystery (the same project):

In Vista:
..\bin\Debug\EMIS2DatabaseM2.dll (size 423 424)
..\bin\Debug\EMIS2DatabaseM2.pdb (size 499 200)

In W7:
..\bin\Debug\EMIS2DatabaseM2.dll (size 170 496)
..\bin\Debug\EMIS2DatabaseM2.pdb (size 495 104)

I think, under W7 in library something missing...

PaRi
by pari
Wed 29 Jul 2009 05:10
Forum: Entity Framework support
Topic: Oracle Entity FW & ORA-12704: character set mismatch
Replies: 4
Views: 7457

Oracle Entity FW & ORA-12704: character set mismatch

Hi,
I have problem with automaticaly SELECT construction with three tables.

VS2008+Oracle 10g+Entity Developer 2.20.30+Devart Data Oracle 5.25.37.0

Bye, PaRi

SQL script:

Code: Select all

create table A_P  
( 
	id NUMBER(8) NOT NULL,
	name NVARCHAR2(126) NOT NULL
);

create table A_S
( 
	id NUMBER(8) NOT NULL,
	id_p NUMBER(8) NOT NULL,
	name NVARCHAR2(126) NOT NULL
);

create table A_E
( 
	id NUMBER(8) NOT NULL,
	id_p NUMBER(8) NOT NULL,
	zip NUMBER(5) NOT NULL
);


ALTER TABLE A_P ADD CONSTRAINT PK_A_P
	PRIMARY KEY (id);

ALTER TABLE A_S ADD CONSTRAINT PK_A_S
	PRIMARY KEY (id);

ALTER TABLE A_E ADD CONSTRAINT PK_A_E
	PRIMARY KEY (id);


ALTER TABLE A_S ADD CONSTRAINT FK_A_S_A_P
	FOREIGN KEY (id_p) REFERENCES A_P (id)
;

ALTER TABLE A_E ADD CONSTRAINT FK_A_E_A_P
	FOREIGN KEY (id_p) REFERENCES A_P (id)
;
Program code:

Code: Select all

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DataSourceModel1;

namespace DevartErrorReport1
{
    class Program
    {
        static void Main(string[] args)
        {
            //--- monitor
            Devart.Data.Oracle.OracleMonitor monitor = new Devart.Data.Oracle.OracleMonitor();
            monitor.IsActive = true;
            //---

            DataSourceModel1.DataSourceModel1Entities entities = new DataSourceModel1.DataSourceModel1Entities();

            //Next line is generating error {"ORA-12704: character set mismatch"}
            foreach (var item in entities.APs.Include("AS").Include("AE"))
            {
                Console.WriteLine(String.Format("{0} > {1}", item.Id, item.Name));
            }
        }
    }
}
There code gained via OracleMonitor

Problem is in code "TO_CHAR(NULL) AS C5", correct is (for example) "TO_NCHAR(NULL) AS C5"

Code: Select all

 
    SELECT
    "UnionAll1".ID AS C1,
    "UnionAll1".NAME AS C2,
    "UnionAll1".C2 AS C3,
    "UnionAll1".C1 AS C4,
    "UnionAll1".C3 AS C5,
    "UnionAll1".ID1 AS C6,
    "UnionAll1".NAME1 AS C7,
    "UnionAll1".ID_P AS C8,
    "UnionAll1".C4 AS C9,
    "UnionAll1".C5 AS C10,
    "UnionAll1".C6 AS C11,
    "UnionAll1".C7 AS C12
    FROM  (SELECT
            CASE WHEN ("Extent2".ID IS NULL) THEN  FLOOR(CAST(NULL AS NUMBER)) ELSE 1 END AS C1,
            "Extent1".ID AS ID,
            "Extent1".NAME AS NAME,
            1 AS C2,
            CASE WHEN ("Extent2".ID IS NULL) THEN  FLOOR(CAST(NULL AS NUMBER)) ELSE 1 END AS C3,
            "Extent2".ID AS ID1,
            "Extent2".NAME AS NAME1,
            "Extent2".ID_P AS ID_P,
             FLOOR(CAST(NULL AS NUMBER)) AS C4,
             FLOOR(CAST(NULL AS NUMBER)) AS C5,
             FLOOR(CAST(NULL AS NUMBER)) AS C6,
             FLOOR(CAST(NULL AS NUMBER)) AS C7
            FROM  EMISSION.A_P "Extent1"
            LEFT OUTER JOIN EMISSION.A_S "Extent2" ON "Extent1".ID = "Extent2".ID_P
    UNION ALL
            SELECT
            2 AS C1,
            "Extent3".ID AS ID,
            "Extent3".NAME AS NAME,
            1 AS C2,
             FLOOR(CAST(NULL AS NUMBER)) AS C3,
             FLOOR(CAST(NULL AS NUMBER)) AS C4,
             TO_CHAR(NULL) AS C5,
             FLOOR(CAST(NULL AS NUMBER)) AS C6,
            1 AS C7,
            "Extent4".ID AS ID1,
            "Extent4".ZIP AS ZIP,
            "Extent4".ID_P AS ID_P
            FROM  EMISSION.A_P "Extent3"
            INNER JOIN EMISSION.A_E "Extent4" ON "Extent3".ID = "Extent4".ID_P) "UnionAll1"
    ORDER BY "UnionAll1".ID ASC, "UnionAll1".C1 ASC

by pari
Tue 21 Jul 2009 11:04
Forum: dotConnect for Oracle
Topic: Missing Devart.Data.Oracle.Entity in Ref dialog (5.25.37.0)
Replies: 1
Views: 1454

Missing Devart.Data.Oracle.Entity in Ref dialog (5.25.37.0)

After reinstalation from 5.20.. to 5.25.37.0 (uninstall/install) missing Devart.Data.Oracle.Entity in Reference dialog, but the Library exists (C:\Windows\assembly\GAC_MSIL\Devart.Data.Oracle.Entity\5.25.37.0__09af7300eec23701\Devart.Data.Oracle.Entity.dll).

I think, the problem in an installation routine.

Bye, PaRi

Ps:

Microsoft Visual Studio 2008
Version 9.0.30729.4108 QFE
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual C# 2008
Core Lab OraDeveloper Tools 2.55
Devart dotConnect for Oracle 5.25.37.0
Devart Entity Developer 2.20.30.0
by pari
Fri 06 Feb 2009 10:59
Forum: dbForge for Oracle
Topic: SQLMonitor don't work in 64-bit systems
Replies: 2
Views: 4692

A little overtake...

Hi!
If you want use SQLMonitor, you have to switch your project into 32 bit (Project/Properties/Build/Platform target: x86). Just in Debug configuration...

Bye. PaRi
by pari
Thu 29 Jan 2009 06:16
Forum: dotConnect for Oracle
Topic: Problem since installing 5.00.20
Replies: 8
Views: 2745

We have this problem too

Hi,
we have this problem too. You can try overtake (until new version) the problem by "unicode=true" clause in connection string.

Kind regards, PaRi
by pari
Thu 15 Jan 2009 11:22
Forum: dbForge for Oracle
Topic: SQLMonitor don't work in 64-bit systems
Replies: 2
Views: 4692

SQLMonitor don't work in 64-bit systems

Hi!
SQLMonitor don't work in 64-bit Vista, exactly: it don't monitored 64-bit process. This isn't critical, but it's uncomfortable feature.

Can I look forward to new version?

Have a nice day, PaRi
by pari
Thu 15 Jan 2009 11:07
Forum: dotConnect for Oracle
Topic: Using int.MinValue generating OverflowException in SELECT
Replies: 2
Views: 1875

Using int.MinValue generating OverflowException in SELECT

Hi,
this code generated System.OverflowException {"Negace minimální hodnoty čísla ve formátu dvojkového doplňku je neplatná."}

Code: Select all

// Create table:  create table pari_test (id int);

OracleConnection connection = new OracleConnection(
"server=albert;sid=albert;direct=true;uid=pollution;pwd=...");

OracleDataReader myReader = null;

OracleCommand command = new OracleCommand("SELECT id FROM pari_test WHERE id=:id", connection);
command.Parameters.AddWithValue("id", int.MinValue); //+1 is OK

try
{
    connection.Open();
    
    myReader = command.ExecuteReader(); //this code generated exception

    if (myReader.Read())
    {
        int result = myReader.GetInt32(0);
        Console.WriteLine("result: {0}", result);
    }

}
catch (Exception ex)
{
    Console.WriteLine("Error: {0}", ex.Message);
}
finally
{
    if (myReader != null)
        myReader.Close();

    command.Dispose();
}

I have:

Oracle server: 10.2.0.1.0

Microsoft Visual Studio 2008, Version 9.0.30729.1 SP
Microsoft .NET Framework, Version 3.5 SP1
Installed Edition: Professional

Microsoft Visual C# 2008 91605-270-4865775-60302
Microsoft Visual C# 2008

Core Lab OraDeveloper Tools 2.55
Copyright 2004 - 2008 Core Lab. All rights reserved.

Devart dotConnect for Oracle 5.0.12.0

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282) KB945282
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040) KB946040
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308) KB946308
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344) KB946344
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581) KB946581
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173) KB947173
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540) KB947540
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789) KB947789
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127
For more information, visit http://support.microsoft.com/kb/948127.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140
For more information, visit http://support.microsoft.com/kb/945140.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888
For more information, visit http://support.microsoft.com/kb/947888.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB948484) KB948484
For more information, visit http://support.microsoft.com/kb/948484.
by pari
Mon 01 Dec 2008 09:38
Forum: dotConnect for Oracle
Topic: ORA-24813 cannot send or receive an unsupported LOB
Replies: 5
Views: 9814

I tested obsolete 'UseDirectLobs' and the problem continues

There I identified the problem:
(I suppose, that the byte array can be the problem...)

Hi, PaRi

public override void Save()
{
OracleCommand command;
command = new OracleCommand("UPDATE gag_application SET icon=:icon WHERE id=:id", GAGPersistor.Persistor.Connection);

try
{
command.Parameters.AddWithValue(":id", Id);
command.Parameters.AddWithValue(":icon", ImageToByteArray(Icon));
command.ExecuteScalar();
}
catch
{
command.Dispose();

throw;
}
}


private byte[] ImageToByteArray(Icon icon)
{
MemoryStream stream = new MemoryStream();
icon.Save(stream);
return stream.ToArray();
}