System.UnauthorizedAccessException: Access to the path 'OraDirectToOracleConnection' is denie

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
irfan
Posts: 15
Joined: Wed 13 Apr 2005 00:56

System.UnauthorizedAccessException: Access to the path 'OraDirectToOracleConnection' is denie

Post by irfan » Tue 19 Dec 2006 02:58

Anyone know why I would get the following exception. The connection was working. My ASP .NET session timed out so I logged back in and got this exception.

00039464 4:49:24 PM [3860] System.UnauthorizedAccessException: Access to the path 'OraDirectToOracleConnection' is denied.
00039465 4:49:24 PM [3860] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
00039466 4:49:24 PM [3860] at System.Threading.Mutex.c__DisplayClass3.b__0(Object userData)
00039467 4:49:24 PM [3860] at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
00039468 4:49:24 PM [3860] at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
00039469 4:49:24 PM [3860] at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
00039470 4:49:24 PM [3860] at CoreLab.Oracle.g.a(String A_0, Int32 A_1, String A_2)
00039471 4:49:24 PM [3860] at CoreLab.Oracle.u.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, OracleConnectMode A_5)
00039472 4:49:24 PM [3860] at CoreLab.Oracle.OracleInternalConnection..ctor(ba connectionOptions)
00039473 4:49:24 PM [3860] at CoreLab.Oracle.ah.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
00039474 4:49:24 PM [3860] at CoreLab.Common.DbConnectionFactory.a(DbConnectionPool A_0, DbConnectionOptions A_1)
00039475 4:49:24 PM [3860] at CoreLab.Common.DbConnectionPool.a()
00039476 4:49:24 PM [3860] at CoreLab.Common.DbConnectionPool.GetObject()
00039477 4:49:24 PM [3860] at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0)
00039478 4:49:24 PM [3860] at CoreLab.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
00039479 4:49:24 PM [3860] at CoreLab.Oracle.OracleConnection.Open()

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 19 Dec 2006 09:08

This problem should be absent in the latest version of OraDirect .NET.
Please download one and try it.

Post Reply