Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to load DLL 'OraOps10w.dll': Access is denied.

753921Mar 8 2010
Below is our error message. This happens around 5 - 7AM daily, and we are struggling with identifying the root cause. It's hard for me to believe it's code related, but anything's possible. Still, what's odd is the app runs fine for a day then an IIS reset is done and everything is fixed. Is there any way this could be related to code and has anyone dealt with this error before? Could a job or some permission being run behind the scenes be using this same dll and cause it to be overwritten?

Thanks, Bryan


Timestamp: 3/4/2010 12:11:23 PM

Message: HandlingInstanceID: 3d9a795c-1256-44c1-b018-f553d4023b12

An exception of type 'System.TypeInitializationException' occurred and was caught.

----------------------------------------------------------------------------------

03/04/2010 07:11:23

Type : System.TypeInitializationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Message : The type initializer for 'Oracle.DataAccess.Types.OracleDecimal' threw an exception.

Source : Oracle.DataAccess

Help link :

TypeName : Oracle.DataAccess.Types.OracleDecimal

Data : System.Collections.ListDictionaryInternal

TargetSite : Void PostBind_Int32()

Stack Trace : at Oracle.DataAccess.Client.OracleParameter.PostBind_Int32()

at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize)

at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()

at Oracle.DataAccess.Client.OracleCommandBuilder.DeriveParameters(OracleCommand command)

at Microsoft.Practices.EnterpriseLibrary.Data.Odp.OdpDatabase.DeriveParameters(DbCommand discoveryCommand)

at Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command)




Additional Info:



MachineName : MISTERC

TimeStamp : 3/4/2010 12:11:23 PM

FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3f0a163eed2abd49


ThreadIdentity :

WindowsIdentity : NT AUTHORITY\NETWORK SERVICE

Inner Exception

---------------

Type : System.DllNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Message : Unable to load DLL 'OraOps10w.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Source : Oracle.DataAccess

Help link :

TypeName :

Data : System.Collections.ListDictionaryInternal

TargetSite : Int32 AllocValCtxFromNoFmtStr(System.String, IntPtr ByRef)

Stack Trace : at Oracle.DataAccess.Types.OpsDec.AllocValCtxFromNoFmtStr(String numStr, IntPtr& numCtx)

at Oracle.DataAccess.Types.OracleDecimal.GetMaxValue()

at Oracle.DataAccess.Types.OracleDecimal..cctor()
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2010
Added on Mar 8 2010
0 comments
1,834 views