4 Replies Latest reply: Mar 6, 2012 4:34 PM by Christian.Shay -Oracle RSS

    Attempted to read or write protected memory

    920817
      Applied microsoft security patch ms11-100 on windows 2003 server.
      While opening the connection getting the "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." error
      using oracle 11.2.0.2.0

      stack trace:
      ception Type: System.AccessViolationException
      Message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
      Data: System.Collections.ListDictionaryInternal
      TargetSite: Int32 OraMTSEnlCtxGet(Byte[], Byte[], Byte[], System.Data.OracleClient.OciHandle, System.Data.OracleClient.OciHandle, UInt32,

      IntPtr ByRef)
      HelpLink: NULL
      Source: System.Data.OracleClient

      StackTrace Information
      *********************************************
      at System.Data.Common.UnsafeNativeMethods.OraMTSEnlCtxGet(Byte[] lpUname, Byte[] lpPsswd, Byte[] lpDbnam, OciHandle pOCISvc, OciHandle

      pOCIErr, UInt32 dwFlags, IntPtr& pCtxt)
      at System.Data.OracleClient.TracedNativeMethods.OraMTSEnlCtxGet(Byte[] userName, Byte[] password, Byte[] serverName, OciHandle pOCISvc,

      OciHandle pOCIErr, IntPtr& pCtxt)
      at System.Data.OracleClient.OciEnlistContext..ctor(Byte[] userName, Byte[] password, Byte[] serverName, OciServiceContextHandle

      serviceContextHandle, OciErrorHandle errorHandle)
      at System.Data.OracleClient.OracleInternalConnection.Enlist(String userName, String password, String serverName, Transaction transaction,

      Boolean manualEnlistment)
      at System.Data.OracleClient.OracleInternalConnection.Activate(Transaction transaction)
      at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
      at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
      at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
      at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
      at System.Data.OracleClient.OracleConnection.Open()
      at ADP.EZLM.DA.Common.DataManager.RunSqlReturnDS(DbConnectionInfo objConnectInfo, String strSqlText, IDbDataParameter[]

      commandParameters)