Oracle Client Identifier, Web, JPA

I am working on a Web application that uses Struts along with EJB3. I want to user Oracle Virtual Private Database to restrict access to data based on the current user.
Is there any way to set the Client_Identifier based on the Principal currently using the connection? I am looking to see if there are perhaps any Interceptors I could use or some function of JPA that allows me access to the connection just before it is actually used. Any idea?

865496 wrote:
Hello,
in my java web app running on Weblogic which uses connection pooling, I am calling an Oracle Stored Proc that sets client identifier to userid using dbms_session.set_identifier
I then retrieve it in triggers attached to db tables to capture before-after image
I must have missed a step because this is what I find (testing locally):
1. I login to my app as USER1 and update some data
2. I check the audit tables and sure enough last_updated_by is set to USER1
3. Without logging out, I start a different browser (Firefox, in step 1 I used Chrome) and login as USER2
4. I now switch to USER1 session in Chrome browser (still logged in as USER1) and update some data
5. This time I see that the audit tables show last_updated_by as USER2 (instead of USER1)
What am I missing?
Many thanks!since Connection Pooling is being used, do you acknowledge that both USER1 & USER2 could actually use the same Oracle session to execute SQL?
At what point in time is the Stored Procedure that sets Client Identifier actually called?
How do I ask a question on the forums?
SQL and PL/SQL FAQ

Similar Messages

  • Not able to access the Oracle I/PM web client.

    I have started the Administration server and the Oracle I/PM Managed Server. Now I'm trying to access the Oracle I/PM web client at this URL: http://hostname:16000/imaging. But when I hit this URL, the following error comes up:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I'm also posting a part of the logs from the IPM_server log file:
    ####<May 20, 2013 10:32:52 AM IST> <Notice> <WebLogicServer> <01hw311161> <IPM_server1> <main> <<WLS Kernel>> <> <> <1369026172860> <BEA-000360> <Server started in RUNNING mode>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <J2EE> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1369026173516> <BEA-160151> <Registered library Extension-Name: bea_wls_async_response (JAR).>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173641> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceHttps for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173735> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceJms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173735> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseService for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173750> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Jms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173766> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12 for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173782> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Https for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<May 20, 2013 10:33:51 AM IST> <Info> <Health> <01hw311161> <IPM_server1> <weblogic.GCMonitor> <<anonymous>> <> <> <1369026231604> <BEA-310002> <85% of the total memory in the server is free>
    What configuration am I missing?
    Thanks in advance
    Pradeep

    Hi Srinath,
    I have checked that as well, it is showing the IPM_server in running mode.
    Also it doesn't show any deployment failure in the command line. Here is what it shows:
    <May 20, 2013 10:32:51 AM IST> <Notice> <WebLogicServer> <BEA-000332> <Started W
    ebLogic Managed Server "IPM_server1" for domain "base_domain123" running in Deve
    lopment Mode>
    <May 20, 2013 10:32:52 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RUNNING>
    <May 20, 2013 10:32:52 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server st
    arted in RUNNING mode>
    I feel there is some issue as this log is suggesting:
    ####<May 20, 2013 10:32:53 AM IST> <Info> <WebService> <01hw311161> <IPM_server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1369026173782> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Https for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    But I don't know how to resolve it.
    Thanks
    Pradeep

  • Container Managed Entity Beans and Client Identifier in Oracle

    Is it possible to use Container Managed Entity Beans (EJB with CMP)
    in a way that the Oracle database sessions still know the
    individual Client Identifiers of the actual users
    (not just the Identifier of the proxy user defined in the
    Connection Pool)?
    If Yes: How?
    If No: The consequence would be that the
    technologies EJB with CMP cannot be user together with
    Oracle Virtual Private Databases (VPN) because VPN requires
    some kind of Client Identifier.
    I am grateful for any hint.
    Regards,
    Martin Siepmann
    +49 (0)163 / 7765328

    Not quite an auto-incrementing PK, but it is managed by the container. the following is from the turorial
    Generating Primary Key Values
    For some entity beans, the value of a primary key has a meaning for the business entity. For example, in an entity bean that represents a phone call to a support center, the primary key might include a time stamp that indicates when the call was received. But for other beans, the key's value is arbitrary--provided that it's unique. With container-managed persistence, these key values can be generated automatically by the EJB container. To take advantage of this feature, an entity bean must meet these requirements:
    * In the deployment descriptor, the primary key class is defined as a java.lang.Object. The primary key field is not specified.
    * In the home interface, the argument of the findByPrimaryKey method must be a java.lang.Object.
    * In the entity bean class, the return type of the ejbCreate method must be a java.lang.Object.
    In these entity beans, the primary key values are in an internal field that only the EJB container can access. You cannot associate the primary key with a persistent field or any other instance variable. However, you can fetch the bean's primary key by invoking the getPrimaryKey method, and you can locate the bean by invoking its findByPrimaryKey method.
    Maybe that is good enough
    christina

  • Oracle Client 9.2.0.1 on Windows Server 2003 Web Edition???

    Hi,
    I will install the Oracle Client 9.2.0.1 on
    Windows Server 2003 Web Edition, but when I run the
    setup-program the following error is coming:
    'Windows cannot open this program since it has been disabled.'
    I think the program is suppressed by Microsoft.
    Can anybody help me???
    Thanks,
    Norman

    As Windows 2003 is officially released this week, I believe Oracle will shortly announce which versions of the database will be supported on Windows 2003. Stay tuned.
    Alison

  • How to identify the media type 32 or 64 bit from installed oracle client

    hi guys,
    I have oracle client 11g r2 installed in my machine which is a AIX. but not sure of the media type. 32 or 64 bit. this information is required further to proceed in my further application compatability.
    tilll the previous release there was many hints like.. lib and lib32 in various locations. but not in 11g r2 i guess.
    can someone please help me to find out this piece of information..
    thanks in advance.
    rgds
    Shravee

    908038 wrote:
    hi karthick,
    thanks for replying. first of all i would like to say that I was not able to find the path which you have mentioned below.
    but i understood your intentions.
    so directly looked for a executable file of sqlplus underr oraclehome/bin. and i got few error messages, saying sqlplus could not be loaded. this could be because my 10g is currently configured. and not 11g as we dont want to disturb the environment without confirmation.You said this was AIX. So when you log on to the server, your "environment" only exists for that session you have created to log on. Set ORACLE_HOME to point to your 11.2 installation, and set PATH to point to $ORACLE_HOME/bin. Those settings are only good for that session, so will not impact anything else.
    If sqlplus reports 64 bit, well, that's obviously 64 bit. If it's 32-bit, it won't say anything about it, so "not 64 bit" must be 32-bit.
    >
    however, i tried to execute the same file for 10 g to check if 10g gives any info, but only got the version not 32 or 64 bit.
    rgds.
    Shravee

  • Provider not compatible version of Oracle client after upgrade 4.112.1.2

    I had an ASP.NET 3.5 website running
    on intranet small business server as production with:
    OS Win2008 Standard 32-bit
    Oracle Database 11g107 32-bit
    Oracle DataAccess 2.111.60 32-bit
    On a development laptop,
    I upgraded the website to ASP.NET 4.0.
    The development laptop had
    OS Windows 7 32-bit
    VS 2010
    Oracle Database 11g201 32-bit
    Oracle DataAccess 4.112.12
    Application was running without errors.
    On the production server,
    I uninstalled Oracle Database 11g107,
    to include removing Oracle home and install folders,
    and in HKLM > Software > Oracle registry folder.
    I installed Oracle Database 11g201
    and installed the ODP.NET upgrade to 4.112.12.
    (except for VS components).
    In the website web.config,
    I changed the referenced assembly to:
    <assemblies>
         <add assembly="Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    I changed IIS70 Application pool advanced settings to ASP.NET 4.0,
    restarting application pool and website.
    Rebooted system.
    On starting the application when it accesses the Oracle connection,
    I get the dreaded: Provider not compatible.
    Exception Details: Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [OracleException (0x80004005): The provider is not compatible with the version of Oracle client]
    Oracle.DataAccess.Client.OracleInit.Initialize() +433
    Oracle.DataAccess.Client.OracleConnection..cctor() +844
    It is not the VB.NET Oracle connection code,
    as it runs fine on the development laptop.
    So I look into the GAC.
    GACUTIL /l shows 2.111.60 is still in the .NET
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=1.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    Oracle.DataAccess, Version=2.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=1.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    Oracle.Database.Extensions, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.102.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.111.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.111.Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.112.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.112.Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Is there a command I need to run to remove the old 111.6.0 Oracle client references from GAC?
    Eventhough Oracle ODP.NET installer put a policy to refer the older version to the new?

    In
    C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
    and in
    C:\Windows\Microsoft.NET\Framework\v4.0.30319
    There is only SYSTEM.DATA.ORACLECLIENT
    I suspect that we would not see Oracle.DataAccess.dll in these locations anyway.
    ++++++++
    In
    C:\Windows\assembly
    There is:
    Oracle.DataAccess 2.112.1.2
    Oracle.Database.Extensions 2.112.1.2
    Oracle.Web 2.112.1.2
    This is the GAC for ASP.NET 2.0-3.5,
    so this appears to be correct
    ++++++++
    In
    C:\Windows\Microsoft.NET\assembly\GAC_32
    There is:
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.1.2__89b483f429c47342
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.Database.Extensions\v4.0_4.112.1.2__89b483f429c47342
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.Web\v4.0_4.112.1.2__89b483f429c47342
    with the appropriate 4.112.1.2 dlls in these folders
    This is the GAC for ASP.NET 4.0,
    so this appears to be correct.
    +++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Machine.config
    Removed Oracle Providers references, I just need ODAC to update and insert data into schema data tables,
    and do not use the ASP.NET Oracle Providers schema.
    Should I need ASP.NET Oracle Providers schema, I can always add references in the application web.config.
    <system.data>
    <DbProviderFactories>
    <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/></DbProviderFactories>
    </system.data>
    <membership>
    <providers>
    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
    </providers>
    </membership>
    <profile>
    <providers>
    <add name="AspNetSqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </providers>
    </profile>
    <roleManager>
    <providers>
    <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </providers>
    </roleManager>
    <siteMap>
    <providers>
    </providers>
    </siteMap>
    <webParts>
    <personalization>
    <providers>
    </providers>
    </personalization>
    </webParts>
    <healthMonitoring>
    <providers>
    </providers>
    </healthMonitoring>
    +++++++++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config
    No Oracle references, and I would expect this as it is added in application level web.config
    +++++++++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles\web.config
    No Oracle references, and I would expect this as it is added in application level web.config
    +++++++++++++
    In
    D:\ORA\DB11G201\ODP.NET\bin\4
    Oracle.DataAccess.dll 4.112.1.2
    and in
    D:\ORA\DB11G201\ASP.NET\bin\4
    Oracle.Web.dll 4.112.1.2
    +++++++++++++
    So... why would I get provider not compatible version of Oracle Client...
    there are no other versions of ODAC hanging around,
    unless there are other locations I am not aware of.
    The application works fine in development laptop.
    The application works fine on production server when I use SYSTEM.DATA.ORACLECLIENT.
    But we need to migrate away from SYSTEM.DATA.ORACLECLIENT according to Microsoft,
    and I am sure Oracle would rather have me use Oracle.DataAccess client anyway.
    ++++++
    I even tried a trick from another post to move what appears to be Oracle Instant Client components,
    oci.dll, et al, from an installation into a new home of the Oracle 11g201 Cllent 32 along with Oracle.DataAccess.dll into the website BIN folder
    and set references for Oracle.DataAccess.dll to LOCAL TRUE.
    +++++++
    So I remain stuck.

  • Oracle client and networking components were not found.

    Hello, I've installed the oracle 9i Enterprise Edition, IIS, .NET framework 2.0 on a server, but when I want to open an aspx file i have this error:
    Server Error in '/kinepolis' Application.
    Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.OleDb.OleDbException: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [OleDbException (0x80004005): Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.]
    System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1054593
    System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
    System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
    System.Data.OleDb.OleDbConnection.Open() +37
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
    System.Web.UI.WebControls.GridView.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +41
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
    Do i really also need to install the client 6i on that server?
    Can somebody help me?
    thanks

    Hi Guys,
    I am wondering about this error as while I am using the same code to connect to the Oracle database server in my Windows program with Win Forms, the connection to the Oracle server is established and working fine.
    But when I have tried to use it with Web Forms for my ASP.NET Application, it throws me out with these exceptions :
    ?ex.Message
    "Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed."
    ?ex.StackTrace
    " at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
    at System.Data.OleDb.OleDbConnection.InitializeProvider()
    at System.Data.OleDb.OleDbConnection.Open()
    at PMlitDocs_NET.checkMe.Button1_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\PMlitDocs_NET\checkMe.aspx.vb:line 32"
    Can anyone help?
    Trush.

  • The provider is not compatible with the version of Oracle client

    We are running Server 2012 64 bit with multiple homes one is 32 bit and the other 64 bit. We installed the 64 bit first then the 32 bit next in order to get our Classic ASP WebSite that is using COM+ and OLEDB to see the provider.
    C:\oracle\product\12.1.0\x86
    C:\oracle\product\12.1.0\x64
    The other Websites are ASP.Net 4.0 and are running in 64 bit application pools. They are using a DAL .Net assembly built x64 with a reference to the 64 bit ODP.Net version 4.121.1.0 in C:\oracle\product\12.1.0\X64\client_1\odp.net\bin\4.
    I also see there is another folder C:\oracle\product\12.1.0\X64\odac_1\odp.net\bin\2.x with version 2.121.2.0. We are on running Framework 4.0 but when I switch to this version it works but with the version out of the bid\4 we are receiving the following error when the 64 bit Websites call the assembly:
    The provider is not compatible with the version of Oracle client
       Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Source Error:
    Line 87: mDataSource = dataSource
    Line 88: mConnectionString = GetDBConnectionString(dataSource)
    Line 89: mConnection = New OracleConnection(mConnectionString)
    Line 90: mParams = New List(Of IDbDataParameter)
    Line 91: End Sub
    I have not been successful in getting this to work after spending endless hours, so any help would be appreciated.

    Hi,
    Oracle Client/ODP build with certified Visual C++ Libraries so application using ODP.NET requires "runtime components of Visual C++ Libraries" to be installed.
    Oracle Database Client installation includes the Visual C++ Libraries but ODAC doesn't contain these libraries which may cause such issue.
    Please check the Note 43208.1 for the particular version of Visual C++ installs with Oracle Database Client installation(e.g. 11.2.0 Database Client installs  Visual C++ .NET 2005) and also you can refer the windows event log error massage to verify which version of Visual C++ is missing.
    thanks and regards
    Venkat

  • Installing Latest Oracle Client & ODT for Windows 7 64-bit

    I have a Windows 7 64-bit. I would think that using 32-bit Java, 32-bit Oracle Client and 32-bit ODAC would work just fine on this operating system. However, I had no luck getting it to run. Here is what I did and a few reasons why I prefer to never work with Oracle products:
    Installed 32-bit JDK/JRE (1.6 Update 25)
    Installed 32-bit Oracle Client (11g R2) Home 1
    Tested connectivity from SQL Developer successfully
    Installed 32-bit ODT (11g R3) to Home 1 (installer noted upgrades and new installs)
    Failed connectivity from all things windows (ODBC, ADO, ADO.Net)
    Uninstalled 32-bit ODT
    Failed to uninstall 32-bit Oracle Client Home 1 (oraparam.ini file missing among other issues)
    Installed 32-bit Oracle Client (11g R2) Home 2
    Failed to uninstall 32-bit Oracle Client Home 1 (told to use deinstall tool)
    Failed to uninstall 32-bit Oracle Client Home 2 (told to use deinstall tool)
    Failed to run uninstall tool in Home 1 (told to download standalone deinstall tool)
    Uninstalled 32-bit Oracle Client Home 2 (completed successfuly with errors - seriously?)
    Uninstalled 32-bit Oracle Client Home 1 (completed successfully, but couldn't delete folder)
    Oracle.DataAccess and Oracle.Web are still installed in GAC. Uninstall attempts fail (access denied)
    Installed 32-bit Oracle Client (11g R2) Home 1
    Tested connectivity from SQL Developer successfully
    Tested connectivity from .Net 3.5 successfully (using 32-bit 2.0 dll)
    Tested connectivity from .Net 4.0 successfully (using 32-bit 2.0 dll)
    Does anyone have any suggestions on getting Oracle Data Tools for Windows to work before I try that again?

    I realize ODT uses ODP, but installing release 3 upgraded the .Net 2.0 ODP DLLs (which were installed from the Oracle Client 11g Release 2 install) and added the .Net 4.0 DLLs. After that install everything stopped working from Windows land and then it took the better part of two hours to get it back to what it looked like prior to the install. The other thing weird thing I noticed is that although Oracle.DataAccess is registered in the 2.0 GAC I cannot add a reference that way using VS2010. I have to manually add a reference to the file path. Although it still appears I do not have to have the assembly copied locally to run, so the GAC registration seems to be working in that regard.

  • Problem with Oracle Client(64 bit) install on Windows 7

    Hi,
    I am trying to install Oracle Client 64 bit (win64_11gR2_client) on my laptop and its giving me all the pre requisite failed for "Physical Memory, Free Space, Architecture and Enviornment variable: Path". So i need to exit that setup.
    I have enough space almost 130 GB free on my laptop. Also, i cleared temp data. Then increased physical memory to 4096 MB but still facing the same error and not able to install the Oracle Client on my laptop.
    Please assist as soon as possible.
    -Parth

    Pl identify exact version of Win 7 - you will need Professional version or higher - Home versions are not supported. Pl verify you meet all of the pre-reqs for the install as identified in the Install Guide - http://download.oracle.com/docs/cd/E11882_01/install.112/e16774/pre_install.htm
    HTH
    Srini

  • Remove Oracle client path from windows 2008 64 bit

    Hi All,
    I had to unstall the epm Hyperion product  after i found that installation need to done on a different language, which has oracle client for both 32 and 64 bit. But when i reinstall it is complaining about the oracle home path.
    Below is the error i get from the log.
    [FATAL] [INS-32053] The original name of the Oracle Home directory specified already exists.
        CAUSE: The name of the Oracle home directory Home indicated on the command line corresponded to a name of origin existing Oracle Home directory in the central inventory.
        ACTION: Choose another name for Oracle Home directory. Abandon this installation session and try again.
    I have made sure that the filesystem is completely is removed after the unstallation except for these client files which i have removed manually.
    Looks like the unnstalation doesn't happen correctly for the clients and old path is somewhere still exists. I have removed the client path from environment variable path list and tried again but no luck.
    Can anyone help me to identify the places where i need to look to remove the earlier Oracle Home.
    Thanks

    The registry, perhaps, or the inventory (which is in c:\program files\oracle or c:\program files (x86)\oracle - cannot recall right now).
    However, if you search Oracle Support for "windows clean machine," you can find an article that shows you how to remove every trace of Oracle software from your Windows computer.

  • Provider is not compatible with this version of Oracle client

    I am trying to access Oracle(10.2) DB from a .NET 2.0 Console Application.(.exe) in a Win 2008.Web code is also on the same Win 2008 system
    The Web application works fine and connects to teh DB , but when I try to run any of the Console applications it gives the error as:
    Provider is not compatible with this version of Oracle client.
    The Oracle.Dataaccess.dll versions which are available in GAC are 1.102.2.20 and 2.102.2.20.
    and the Oracle client installed is 10.2.0.100
    The complete error message is:
    Unhandled Exception: Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client
    at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleParameter..ctor(String parameterName, OracleDbType type, ParameterDirection direction)
    Can any of you help me find a reason for this error.
    Thanks in advance!!

    Hi Greg,
    I found out another reason this error was appearing.I am compiling the Console application in a 32-bit machine on 32-bit Oracle client.
    The pre-compiled DLL and EXE is then exported to a 64-bit Win 2008 machine.
    Also,The code has been compiled with ‘Any CPU’ .
    The Web Application on the same system is working because the "Enable 32-bit Applications" is set to True.
    Are there any DLLs or EXEs created when compiling in the 32-bit machine which is not compatible with the 64-bit machine?
    Please help!!
    Thanks,
    Veena

  • Running in 64 bit mode with the 32 bit Oracle client installed

    I have seen many postings on this issue but none of the suggested solutions have helped me.
    I am running visual studio 2010 professional with SP1 on windows 7 64 bit machine. When I try to run a web service locally and call it with SoapUI, I get the following error message during OracleConnection.Open().
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    I have tried setting up the build configuration and the project settings to target 32 bit but that has not helped. I have also tried removing the reference to System.Data.OracleClient that shows being under Program Files (x86) and add a new reference to the dll under GAC_64. That too did not work.
    I only have the 64 bit client installed on my machine.
    Any help will be appreciated.
    Thank you

    1. Visual Studio any version is 32 bit ONLY irrespective of hardware or OS bits.  So to DEVELOP with Oracle Client you MUST install 32 bit Oracle ODAC components. Task manager will show devenv.exe *32 (to confirm 32 bit Visual Studio application).
    2. You can run your web application inside IIS/IIS Express in your PC which independently can be either 32bit or 64bit.  If it is 64 bit, you MUST also install 64 bit Oracle ODAC components which means you'll have to install both 32bit and 64bit in your 64 bit Win7 running on 64bit hardware.
    3. In Visual Studio if you compile with "AnyCPU" as target, the resultant binaries (Web/NonWeb) can be both 32bit or 64bit.  So if target PC is "AnyCPU" or "x64", you MUST install Oracle ODAC 64 bit in the target OS if that target OS is 64bit.  You don't have to install 32bit ODAC in the target PC.
    4. One more catch to above scenario is the target OS could be 64bit simulated OS on a 32bit hardware. In such case you MUST install both 32bit and 64bit ODAC components.
    So while you ask your network team to download ODP.NET/ODAC Components make sure you ask them to download both 32bit and 64bit. Total nearly 600MB.
    Hope this helps many people out there.

  • How do we determine the version of the Oracle CLIENT software??

    I am sure someone in a large organization has had to deal with this...
    We have hundreds of machines in our environment and over the years have loaded the Oracle client software on many... So now I am looking at implementing the July set of Oracle Security patches and there are patches for the Client machines in this release...
    Looking at our list, we have machines with oracle 8, 9 and 10 (and almost every subversion known to Oracle) Clients out there... and of course each of these versions and sub-version use a different patch for windows...
    so the question is, is there a quick way of identify exactly what version of the software is loaded... preferably programmatically... Running SQL*Plus on each machine manually is probably not an option.
    We already have software that can scan each machine identify if a specific program is loaded and it's size and maybe pull the contents... (I know there is a $ORACLE_HOME/inventory/ContentsXML/comps.xml file in 10g that might tell us what we need to know, but I don't know if it goes back to 8/8i or not...)
    This would also help me plan a migration plan for some of these older clients also...
    Thanks.
    Michael

    This is a little late, but may be it will help someone else in the future.
    There may be an easier way, but this is what works for me.
    Log into ADI. Go to the Request Center. Click the ‘tool’ icon.
    It looks like a hammer and screwdriver.
    On the next screen, look in the bottom left corner.
    It will show the version of ADI.
    HTH,
    Mark

  • Oracle Client 11g on Windows 2008 64 bit ASP Connection Problems

    Hi,
    I'm trying to set up my old ASP applications on a new web server. I've moved from a windows 2003 server to 2008 64 bit.
    I've installed the Oracle Client 11g 64 bit drives and if I create a new ODBC connection tat works fine. But IIS will not connect.
    Connection string i've been using is:
    Provider=OraOLEDB.Oracle.1; Password=******; User ID=*****; Data Source=*****
    All i get is no provider could be found.
    "3706 Provider cannot be found. It may not be properly installed."
    Can anyone help me out / point me in the right direction?
    Thanks
    Gareth Owen

    Hi,
    Thanks for the reply. The app pool is running in 64 bit. I've tried installing a 32 bit version of the oracle provider and shifting the app pool down to that and no joy either.
    Have tried changing the permissions on the Oracle folder which gives me no joy. It's as if IIS just has no access to the Oracle provider. But I just don't know how to get this working.
    Under windows 2003 things just worked when I installed the Oracle provider...
    Gareth

Maybe you are looking for

  • Delivery date in the PR is wrongly calculated

    Hi, This is a severe issue we are facing, delivery date in PR is wrongly calculating. consider this example: sales order was created on 31.08.2007 and the planned delivery time assigned in MMR is 9 days, GR processing time is 1 day. Due to some reaso

  • Can anybody help me?? (Transformer.transform)

    I am trying to use Transformer.transform with a DOM object. Something like this           Document doc = null;           try                DOMParser parser = new DOMParser();                parser.parse(args[0]);                doc = parser.getDocum

  • Creation of Process Order without assigning master recipe

    Hi, I want to create a process order without having default master recipe for the given material or default operation for the given order type. I want the user to select the master recipe manually in process order. We do not want to use production ve

  • Where is the map of the whole world showing ALL my geotagged photos in the new Photos app?

    After "upgrading" from iPhoto to Photos, I cannot call up the world map to locate where I took pictures. Is this feature gone? It used to be if you clicked on "places" in the iPhoto sidebar you got this map. All the photos in one's library were repre

  • Getting iphone, Questions about Family Plan. NEED HELP!

    So right  now I am on a family plan with my Dad and mother and we all have old phones that are basic basic. Our family plan has no Data plan at all, and in fact the plan is so old that it does not exist anymore. However I am moving away soon and I wa