Database: Oracle 11g
VS 20120 Provider: ODAC 11.2 Release 4 and Oracle Developer Tools for Visual Studio (11.2.0.3.0)
i just updated to VS 2012 RC and I cant even connect to my database. I dont expect EF 5 or .NET 4.5 to work with this provider but I just want to be able to set my solution target for .Net 4 and still be able to connect to my database. When I use the server explorer I do not see the provider that I usually use and the only oracle provider that comes with VS supports up to 10g and is deprecated.
Can anyone help me with getting a provider for oracle 11g in VS 2012?
I was able to figure this one out although google searches are not clear about the possibility to of finding an oracle provider for use in VS 2012 RC, .NET 4.5, using EF 5. So I will save everyone who is trying to do the same some trouble!
Devart develops providers for the different databases. I had given up on finding one for .NET 4.5 and was only looking for alternatives to the providers that oracle released for support EF 4.2. I found that alternative at Devarts site and it is called dotConnect for Oracle.
http://www.devart.com/dotconnect/oracle/download.html
At the time of writing this they are on version 7. I found out that it supports VS 2012 RC and EF5 by looking at the release notes on the right hand side of the screen. It is not made apparent anywhere else from what I can tell. It does support connecting to an oracle 11G database using .NET 4.5 and EF 5 though. Works just as it should. It costs money but I feel it is well worth the price rather then waiting for Oracle who has made no comment or announcement about developing a provider for .NET 4.5 and who never succeeded to deliver on EF 4.3 regardless.
So save yourself some time and heartache and check out dotConnect for oracle.
This Ora.NET provider for Oracle 11g (supports .NET 4.5) is available:
64Bit
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
32Bit
http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html
Related
I have a project with Phalcon 2.0 and Oracle 11g database and running successfully. I tried to upgrade to Phalcon 3.0 but it is not working.
As of Phalcon version 3.0 Oracle support has been dropped from the project. Quoting from the 3.0 Blog announcement:
Dropped support of Oracle #12008, #12009 Support of Oracle has been
dropped from the Phalcon Core for the following reasons:
The lack of Oracle maintainer
The lack of relevant experience among the Phalcon Core Team
Weak support or interest from the community
Incomplete implementation that creates only the illusion of support
for Oracle
Some issues hampering for the support of PHP 7 in Phalcon
Oracle components will be ported to the Phalcon Incubator. If the
adapter receives support and enhancements from the community, we will
consider making it part of the core again.
More info and patch notes in the blog: https://blog.phalconphp.com/
I think they already dropped support with OracleDB in 3.0.x, check it here https://blog.phalconphp.com/post/phalcon-3-0-0-released
I am working on an application (let's call it A, an ASP.NET MVC3 web site) in .NET 4.0, under Visual Studio 2010 and with Entity Framework and Oracle. Everything goes right.
For an other application (let's call it B), I installed Visual Studio 2012, which installed the new version of the .NET framework. Since, I can not get A working right.
The error I get is : Oracle 11.2.0.3.0 does not support APPLY
I've made some digging and I found a solution : uninstall the .NET framework 4.5 when I need to work on A, and install it back when I need to work on B. This is not very
satisfactory.
It looks like Oracle did not succeed to translate the EF query into an Oracle query. But why ? I still target the same version of the .NET framework (4.0) ...
I am currently trying different ODAC version in order to see if the problem could come from an incompatibility between ODAC and the new version of .NET.
Do you have any other idea of what could cause that and how to fix it ?
Thank you !
Sorry for my english, I am not a native speaker.
Oracle does not support CROSS/OUTER APPLY and some queries generated by EF require these operators. See this and this for more details
Having said that - as per the comments there seems to be a regression in EF5/.NET Framework 4.5 where EF started creating Apply nodes in queries for which Apply nodes were not created in EF4. It was previously investigated but apparently this scenario was not covered.
This regression was actually fixed in EF6 (which is probably not extremely helpful since currently there is no Oracle EF6 provider (at least not from Oracle) at this point)
I want to use Sqlite Provider which has Linq with Entity Framework feature. But i could not find Sqlite installer which is compatible with VS 2012. I tried to install it from http://sourceforge.net/projects/sqlite-dotnet2/files/ but it doesnt get intergrated with VS 2012. I installed SQLite for Windows Runtime too. But that also didnt help. I am not able to find provider while creating ADO.net entity model. Please let me know is there any Sqlite provider available for VS 2012.
Thanks in advance.
Are you looking for something like this?
http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx
i having an error said that "Unable to find the requested .Net Framework Data Provider. It may not be installed."
I'm using (visual studio 2010) with (Sqlserver 2008 R2) And (.net framework 4.0)
(ASP.net:C#)
I'm trying to use SubSonic for vb.net windows apps and mySql and had the same error as you,
I've just installed vb.net 2010 express
I read a stack overflow question here which suggested that the db connector had been installed before .net v4 (vs2010) hence they couldn't be found, I thought this sounded feasible so I downloaded the latest MySql connector, uninstalled the old one and installed the new one. The next time I ran my project the simpleRepository worked straight away!
I was blaming SubSonic! but it really is great!
Hope this might help
We have a wonderful ASP.NET MVC 2 web application using MS SQL 2008 and VS 2010. The customer wants to use Oracle 10g as a back end database. I want to point our MVC2 app to it and run our tests. I have no clue where to start with Oracle 10g.
Anyone have a how-to link on how to setup an Oracle 10g database and use it in place of SQL 2008 above for testing? I assume Oracle has some sort of Developer edition like Microsoft has SQL Express. Any ideas?
Oracle's equivalent to Microsoft SQL Express is Oracle XE. But I don't think it will be easy for you to migrate your application to use OracleXE instead of MSSQLServer Express.
If you are using LinQ to SQL, you don't have Oracle support. If you are using Entity Framework, you have Oracle third party support (although an official support for Oracle is supposed to be on its way).
ADO.NET provider will be different.
And of course, you won't have 100% data type equivalence.
So I wish you good luck, and if you have the possibility, convince your client to use SQLServer Express or be prepared to migrate a lot of your app.