Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. at System.Data.OleDb.OleDbServicesWrapper

HI
when i copy asp.net 3.5  application  from IIS7 to IIS 8 in windows server 2012 and browse the application and try to save data in oracle , i  get following error in Event viewer
Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          4/6/2015 2:53:21 PM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      TSharepint2013.test.com
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 17/06/36 02:53:21 ? 
Event time (UTC): 17/06/36 11:53:21 ? 
Event ID: 34f214e1dcdf45f5ad8450739c954494 
Event sequence: 24 
Event occurrence: 1 
Event detail code: 0 
Application information: 
Process information: 
    Process ID: 18724 
    Process name: w3wp.exe 
    Account name: TEST\splaw 
Exception information: 
    Exception type: InvalidOperationException 
    Exception message: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
   at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
   at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information: 
 Request URL: http://-----:50/executionreq/printLawsuit.aspx 
    Request path: /executionreq/printLawsuit.aspx 
    User host address: ---3.184 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: TEST\Spfarm 
Thread information: 
    Thread ID: 16 
    Thread account name: TEST\Spfarm 
    Is impersonating: False 
    Stack trace:    at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
   at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-04-06T11:53:21.000000000Z" />
    <EventRecordID>174735</EventRecordID>
    <Channel>Application</Channel>
    <Computer>TSharepint2013.test.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>17/06/36 02:53:21 ?</Data>
    <Data>17/06/36 11:53:21 ?</Data>
    <Data>34f214e1dcdf45f5ad8450739c954494</Data>
    <Data>24</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/3/ROOT/ExecutionReq-1-130727947211114471</Data>
    <Data>Full</Data>
    <Data>/ExecutionReq</Data>
    <Data>C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\</Data>
    <Data>TSHAREPINT2013</Data>
    <Data>
    </Data>
    <Data>18724</Data>
    <Data>w3wp.exe</Data>
    <Data>TEST\splaw</Data>
    <Data>InvalidOperationException</Data>
    <Data>The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
   at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper&amp; datasrcWrapper)
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp; connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
   at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
    <Data>http://----:50/executionreq/printLawsuit.aspx</Data>
    <Data>/executionreq/printLawsuit.aspx</Data>
    <Data>10.169.3.184</Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>TEST\Spfarm</Data>
    <Data>16</Data>
    <Data>TEST\Spfarm</Data>
    <Data>False</Data>
    <Data>   at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper&amp; datasrcWrapper)
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, 
</Data>
  </EventData>
</Event>
adil

Hi,
As this question is more relate to iis, I suggest you post it to IIS Forum, you will get more help and confirmed answers from there.
http://forums.iis.net/
Best regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine (Windows Server 2008 R2 (64) vs MS Office 2007)

    We just have switched our local server from 32-bit to 64-bit machine and now we have Windows Server 2008 R2 Service
    Pack 1 with MS Office 2007. On server we are running an application in ASP.Net 3.5 using visual studio
    2008. All users have 32-bit windows 7 and MS Office 2007.
    when user tries to import data from Excel to Database (SQL Server 2005), error comes as
    "microsoft.ace.oledb.12.0 provider is not registered on local machine".
    I have tried a solution by installing Access Database Engine 2007 Office System Driver on the Server, but the error
    was same. Now what should I do to resolve this problem??? Should we install Office 2010 64-bit on the Server or is there any other solution???

    Hi,
    Thanks for your posting.
    the file can be made in excel 2007, try to install:2007 Office System Driver: Data Connectivity Components
    http://www.microsoft.com/en-us/download/details.aspx?id=23734
    Regards.
    Vivian Wang
    TechNet Community Support

  • The 'ORAOLEDB.ORACLE' provider is not registered on the local machine.

    Sir,
    I am having my oracle 11g 64 bit database in RHEL linux 64 bit server. My Visual Studio .Net 2008 64 bit application is running in server having Windows server 2008 64 bit OS and oracle 11.2.0.2.0 client 64 bit.
    When I try to connect the database through the oracle client its working fine and I am able to connect through the development mode of visual studio 2008. But when I try to run in the IIS the following error is coming:
    The 'ORAOLEDB.ORACLE' provider is not registered on the local machine.
    Kindly help me
    Thanks in advance
    n v r

    This is not an Oracle database problem, never mind a database server language (PL/SQL or SQL) problem.
    The problem you've described is with a Microsoft product, Visual Studio 2008. The server you refer to is Microsoft IIS. The error you list is an error with a Microsoft proprietary technology called OLEDB (part of Microsoft's <i>Component Object Model</i>).
    Just where does Oracle PL/SQL and SQL languages, the subject matter of this forum, feature in your problem with Microsoft proprietary technology?

  • The 'IBMDADB2' provider is not registered on the local machine.

    Hi Experts,
    Need you help on this
    I am trying to migrate an application from Windows Server 2003 (32 Bit), IIS 6 to  Windows Server 2008 R2 (64 Bit), IIS 7.
    But i am getting The 'IBMDADB2' provider is not registered on the local machine error  when i am trying to connect to DB2 via application. However i am able to connect to DB2 directly via DB2CMD.
    "Provider=IBMDADB2; User ID=xxx; Password=yyyy; Data Source=zzzz; hostname=aaaa;"
    Request your help on the same.
    Thanks in Advance.

    Hi Hari,
    This forum is for Team foundation server, which it's not related to your question. Please open a new thread in corresponding forums that you used for the application.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "The 'VFPOLEDB.1' provider is not registered on the local machine" in SSRS 2008

    Hi,
    I installed Visual Foxpro OLE DB driver for accessing dbf file and tried to get the data from the dbs file through BIDS.
    I made one report using BIDS its working fine.
    But once i deployed this report to SSRS its giving an error that “The 'VFPOLEDB.1' provider is not registered on the local machine."
    My SQL Report services is 64 bit i realaized that Visual Foxpro OLE DB will not work in 64 bit application.
    Its there any work arround for these kind of issue. I need to keep 64 bit ssrs because this is production server other reports are there.
    Please let me know is there any solution.

    Hi iqbalkmk,
    As you know the report designer is 32 bit, if you have installed the 32 bit data provider it will works fine in the designer but not work on the 64 bit report server.
    When you deploy a report to a 64-bit report server (x86), the report server must have natively compiled 64-bit data providers installed. Wrapping a 32-bit data provider in 64-bit interfaces is not supported.
    In your scenario, please try to do below setting to have a try:
    Click the IIS manager in the start.
    Edit the Advanced Properties of the application pool in which the application is running and set "Enable 32-Bit Applications" to "True".  If you don't do this you see the error message that kicked off this whole thread.
    More details information:
    Data Sources Supported by Reporting Services (SSRS)
    Similar thread for your reference:
    The 'VFPOLEDB.1' provider is not registered on the local machine
    The 'VFPOLEDB.1' provider is not registered on the local machine
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • The OraOledb.Oracle is not registered on the local machine.

    Hi Everyone,
    I am having Windows XP operating system with Service pack 2 on my computer. I also using Microsoft.Net 2003 & Oracle 9.x for creating a client-server Application. I installed the Oracle provider from OraWin9204.exe which i was downloaded from the Oracle's site. But I am getting the above mentioned problem "The OraOledb.Oracle is not registered on the local machine", while i m executing the open method of the Connection object of ADO.NET. I also checked the permission on ora92 (ORACLE HOME DIRECTORY) folder and gave full control to my username. But the problem remains same.
    Can anybody have any idea? Please help me on [email protected]
    Thanx
    Rahul Ratnaker

    make manual registration of following file.
    [oracle_Home]\ora92\bin\OraOLEDB.dll
    Enjoy
    Rahul Ratnaker

  • Allow a document to be viewed in the browser but not downloaded to the local machine

    I have SharePoint 2013 deployed and RMS integration enabled. and am willing to install Office Web Apps. I want to enable users to view documents in the browser only but not be able to download them to their desktops. This would mean there is no "save
    as" button in the browser-based viewer and no ability to download the documents to the desktop to be used with the desktop Office apps (word, Excel, etc.).
    I understand that I need RMS and Office Web Apps to do this. Could someone please confirm if I'm able to accomplish the goal above and, if so, how I do it?
    Thanks very much in advance for your help.

    When you enable OWA. you can read the file online and edit it
    The only way to allow users to read but not edit or print a file would be to implement Windows Rights Management.  You can read about that here:
    http://msdn.microsoft.com/en-us/library/ms458245.aspx
    It won't be doable with SharePoint permissions only as, even with read only, the documents is still downloaded to the client cache to read and as such can still be retrieved from there.
    You need to follow below steps for IRM 
    http://webcache.googleusercontent.com/search?q=cache:OZ-m0M4Z5J4J:msmvps.com/blogs/ivansanders/archive/2012/06/08/check-out-the-weather-forecast-for-teched-2012.aspx+&cd=8&hl=en&ct=clnk&gl=in
    http://webcache.googleusercontent.com/search?q=cache:4XRMy2NZG1MJ:sp-vinod.blogspot.com/2013/08/configuring-information-rights.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

  • 'OraOLEDB.Oracle' provider is not registered - ODAC 11.1.0.6.10 Beta2

    Hello,
    I have installed the ODAC 11.1.0.6.10 Beta2 and when working with ASPX pages that use OraOleDB, it raises the following error:
    Additional information: The 'OraOLEDB.Oracle' provider is not registered on the local machine.
    Do I have to do something else to set the OraOleDB registered? during the installation I selected to install all the components of the Odac (except the MTS service). This app was working fine whith a previos previous intallation of the ODAC 10.2.02.20. (to try the new version, I uninstalled the previous version)
    Thanks.

    Hello Buddie, how you doing?
    I just solved my problem.
    Verifying which DLL were missing through OraOleDB.dll, using the tool "Dependency Walker", I downloaded and put them into the respective directories. I'm going to show you.
    Must be aware you needn't overwrite any DLL.
    In my scenario, having Oracle Client 8.1.7.0, the missing dll are following below:
    %ORACLE_HOME%\bin :
    - OraOLEDButl.dll
    - OraOLEDBrst.dll
    - OraOLEDBgmr.dll
    - OraOLEDBpus.dll
    - OraOLEDBus.dll
    %WINDIR%\system32\ :
    - DWMAPI.dll
    - WINHTTP.dll
    - GDIPLUS.dll
    Just make sure the OraOleDB.dll registering is complain to the tree DLL dependencies.
    I hope it can help you.
    Igor Monteiro.

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

    Hi guys!
    I'm facing this problem:
    When my .Net application tries to access the DB, I get this error message above.
    The application is into the same machine of DB and the operational system is Windows Server Enterprise 64 bits.
    I'm comparing to another machine that has the same scenario but runs in Windows Vista 64 bits. This problem doesn't happen and I can normally access the DB.
    The both database versions are 10g Release 2 (10.2) and all components from Oracle Database Components 10.2.0.2.21 are installed as the containing bellow:
    -Oracle Data Provider for .NET 1.x 10.2.0.2.20
    -Oracle Data Provider for .NET 2.0 10.2.0.2.20
    -Oracle Developer Tools for Visual Studio .NET 2003 10.2.0.2.20
    -Oracle Developer Tools for Visual Studio 2005 10.2.0.2.20
    -Oracle Provider for OLE DB 10.2.0.2.20
    -Oracle Objects for OLE 10.2.0.2.20
    -Oracle Services For Microsoft Transaction Server 10.2.0.1.0
    -Oracle Net 10.2.0.1.0
    -Oracle Universal Installer 10.2.0.2.0
    Oracle.DataAcces.DLL is 2.102.2.20 and it is reference in my .Net app (that is published and located into IIS).
    These are the Oracle assemblies installes in 'C:\Windows\Assembly':
    Windows Vista Machine:
    ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
    Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
    Oracle.Management.Omo 2.102.2.20 Neutral 89b483f429c47342 x86
    Oracle.VsDevTools 2.102.2.20 Neutral 89b483f429c47342 x86
    Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Windows Server Machine:
    ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
    Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Oracle.DataAccess 2.102.2.20 Neutral 89b483f429c47342 x86
    Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 zh-CHT 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 zh-CHS 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 ko 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 jp 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
    Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
    Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    Policy.9.2.Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
    Policy.9.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
    What should I check and do to solve this problems?
    Thanks for help,
    Anderson

    Hi,
    Often the error "The provider is not compatible with the version of Oracle client" is raised when the unmanaged dll OraOpsX.dll can't be found, can't be loaded, or is the wrong version. For version 10.2.0.x of ODP.NET and .NET Framework 2.x the file should be called "OraOps10w.dll" and should be found in the %ORACLE_HOME%\bin directory.
    Since the ODAC pieces are installed on the same host as the database, are they in a separate Oracle Home or the same Oracle Home as the database software? If there are multiple Oracle Home directories, which one is in the system path first?
    I would start with verifying the version of OraOps10w.dll and the system path on the server. You might also confirm that the Oracle Home directory (and everything under it) has the following permissions for Authenticated Users:
    - Read & Execute
    - List folder contents
    - Read
    Regards,
    Mark

  • 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

  • Provider is not compatible with the client

    Hi,
    I'm new to this forum so I don't know if this prob was already posted.
    It might be something that i misunderstood.
    My application VB.NET is connecting to Oracle 10g database.
    Using client from the ODAC 10.2.0.2.21 installation file.
    DB version is 10.2.0.1.0
    Even before connection is open application throws an exception:
    The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    Any ideas?
    Thanks for help ;O)
    Nice day to everybody.
    Renata Belakova

    Thanks
    1, I'm developing an application on Win 2003 Server with Ora10g DB 10.2.0.1.0
    2, I developed an application in VS.NET 2005, VB.NET
    3, Application works OK on develop. PC
    4, my PC name, IP and DB name are the same as customers
    5, i published application and went to install it on customers PC
    I was thinking about the same environment on developing and customer PCs.
    then i went to customer to try application on their LAN
    1, They have DB server with the same version of DB and the same name of DB and the same name of server as i got
    2, firstly I've installed ora client on customer computer not server
    I've used ODTwithODAC1020221.exe file and installed client part
    3, set up listener on clients comp
    4, installed .net application on this client comp
    5, run and got exception i wrote in previous message
    Im really not an Oracle professional. I'm a .NET developer but fist time in my life developing application under Oracle DB (mostly was using Microsoft SQL ...)
    So I don't know if these steps were OK .... but it's what i've read.
    Thanx ...

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

    Hi
    I installed ODAC-11.1.0.7.10 Beta on my development system and developed a .net application which uses Oracle.DataAccess.dll to connect to Oracle10g database.
    the application is working fine, means opening connection successfully when I run it from my development system. but the same application is throwing
    'The provider is not compatible with the version of Oracle client' exception when I run it on my 10g database server system.
    what I need to do to run the application successfully on the machine where 10g server exists?
    any help is appreciated.
    thanks,
    harry

    Hi Harry,
    I am not sure why you installed 11.1.0.7.10 Beta as 11.1.0.7.20 has been released and you should not be using the beta at this time. That error message is because the dependencies being loaded by the process are the wrong version. When you deploy an ODP .NET application using 11.1.7.x, you need to make sure you deploy it to a machine where the 11.1.0.7.x dependencies are installed. My guess is if I read your poat correctly is that Oracle.DataAccess.dll version 11.1 is loaded but its finding 10.2 dependencies on the target deployment box.
    HTH
    Jenny

  • Inner Exception The provider is not compatible with the version of Oracle

    I am using the 64 bit ODP and Net 2.0 SDK in a C# program which runs standalone and is also hosted by another win32 process.
    When running standalone it works ok. But when being hosted by another process, I get the following exceptions thrown when i create a connection:
    INFO 2007-01-10 12:38:26,843 265ms frmCCMain LogMessage - Exception During Batch Processing1: [The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.]
    INFO 2007-01-10 12:38:26,843 265ms frmCCMain LogMessage - Inner Exception The provider is not compatible with the version of Oracle client
    I checked the DllPath value under the ODP.NET key and it points to the directory where OraOps10w.dll is installed. I also tried copying that Dll into the host process working directory and searched and found no other versions of that DLL.

    Yes, this sounds like you may be using the 9.2 client with ODP.NET and ASP.NET Providers for 11g. Usually, you can stop and start IIS to resolve this. IIS will then pick up that the 11g client directory is first in the Windows PATH, ahead of the 9.2 client directory, then use that for any subsequent Oracle client calls.

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

    Hi everybody,
    We still have problems with the ODP dll. with our .Net development. I copied all the dlls as mentioned here: [http://splinter.com.au/blog/?p=156] and in many other posts here in the forum. The .Net development works fine on our Development PCs (WIN XP32) and on many other PCs in the company. But we still have some PCs (As well WIN XP32) that come up with the Error: The provider is not compatible with the version of Oracle client.
    Has anyone an idea???
    Thanks a lot for your help
    Best Jan

    Hi Jan,
    If there has never been any Oracle Client software installed on the machines, it seems unlikely that there would be Oracle policy files and version(s) of Oracle.DataAccess in the GAC. But, yes, the CLR will look to the GAC first for loading the Oracle.DataAccess assembly. I'm not sure what Framework or Domain setting would be involved here if there is no Oracle client installed. Are the machines configured the same as far as Regional/Language settings, etc?
    One thing you might be able to try is to create an application configuration file and enable ODP.NET trace in the file. This is an ODP.NET 11.1 new feature. However, it's possible the error will prevent the trace file from being created. You would create a file named YourApplicationName.exe.config and here is a sample of the minimum content to enable ODP.NET trace:
    {noformat}
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <oracle.dataaccess.client>
       <settings>
         <add name="TraceFileName" value="c:\odpnet2.trc"/>
         <add name="TraceLevel" value="1"/>
       </settings>
     </oracle.dataaccess.client>
    </configuration>
    {noformat}
    I wish I had an easy answer for you!
    Regards,
    Mark

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

    Please, please, please help me!
    I get the error, "The provider is not compatible with the version of Oracle client", intermittently on my Test Server. Strangely, without restarting the server or IIS, my application suddenly decides that I don't have the right Oracle client. I don't have any such issue on my local machine even though I'm using the same Oracle 11g client from Beta 1.
    I have Oracle 11g (D:\Oracle11g\product\11.1.0) installed. I tried specifying which assembly to use in my web.config:
    <compilation debug="true" defaultLanguage="c#">
    <assemblies>
    <add assembly="Oracle.DataAccess, Version=2.111.5.10, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    </assemblies>
    </compilation>
    I'm not even trying to use a 10g client with the Providers as discussed here: "The provider is not compatible with the version of Oracle client"
    What I don't understand is why this error comes and goes?!?! Has anyone experienced anything like this?

    The server is Win 2003. The local development machine is WinXP.
    ...I was trying to wait to install Beta 2 because of the nasty bugs reported on this forum.
    I'm now seeing that ORACLE_HOME wasn't set on my server because my co-worker removed the path. Somehow it was able to find an Oracle Home on the server, but apparently, it didn't always find the same home causing this error intermittently.
    Now, my question is how can I get my application to use the 11g Client as its Oracle Home, while my co-worker can use 10g Client as his Oracle Home? To be a bit more specific, he needs to use an ODBC client to connect because his application uses Classic ASP.
    Is this possible, or are we going to have to set up separate machines?
    Bee

Maybe you are looking for