12 Replies Latest reply: Aug 28, 2013 2:42 AM by Lif3styl3 RSS

    Error opening Connection using Managed Odp. Net

    Lif3styl3

      I've experienced an error in opening a connection using manged odp.net. The process which trys to open the connection is NT-AUTHORITY/SYSTEM, cause the code is running within an installation process.

       

      I've got the following StackTrace:

      Project         :    bei OracleInternal

      Method          : Install

      Error           : Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

      ErrorStackTrace : bei OracleInternal.I18N.Conv.GetMaxBytesPerChar(Int32 charsetId)

         bei OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession)

         bei OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd)

         bei OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd)

         bei OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword)

         bei OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)

         bei Oracle.ManagedDataAccess.Client.OracleConnection.Open()

         bei Installation.ServiceInstaller.GetInitialDatabaseConnection(String errorFileDirectory)

       

      Any ideas how to fix that issue? The connection could be opened, if i run the code as a normal user, but during installation process this is not possible, because of missing rights.

       

      SIncerly

      Chris