Installing ODAC Entity Framework with oracle express

Hi, I need to develop a .net web app with oracle back end. To setup development env. for oracle I downloaded oracle database express edition 11g 2. and installed it succesfully. after I tried to install this ODAC it throws me a error
"Remove all the spaces from the chosen ORACLE_HOME" help me out to resolve this,
Can I use SQL Developer to connect to Oracle Express. Kindly help me out asap.

Hello,
This is by designed in Entity Framework, the view is not designed to be editable by default. If you persist in editing a view, you need to create an editable view, for details, please check this blog:
How to create an updateable view with ADO Entity Framework and with LINQ to SQL
This blog is based on the SQL Server database, however, I notice that you are working with the Oracle database, I am not sure if the Oracle database provider for Entity Framework supports the editable view, I
 suggest you could confirm this on the Oracle database forum:
https://community.oracle.com/welcome
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.

Similar Messages

  • 32-bit ODAC 11.2.0.2.1 Installed on Win7 X64 with Oracle 11gR2 x64

    I have Visual Studio 2010 x64 installed on a Win7 x64 Enterprise system, along with Oracle Express Edition 11gR2 x64. I downloaded and installed 32-bit ODAC 11.2.0.2.1 so I could use Oracle databases with Visual Studio, along with SQL Server.
    When I tried to run InstallAllOracleASPNETProviders.sql in SqlExplorer, I got an error
    D:\app\PaulK\product\11.2.0\client_1\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform. Vendor code 0.
    Everything was working fine before I installed ODAC 11.2.0.2.1.
    I've seen references to a beta x64 version of ODAC. Where do I find it? Do I have to uninstall the 32-bit ODAC first? Will uninstalling the 32-bit ODAC fix SqlExplorer?
    Thanks.

    PaulK wrote:
    I have Visual Studio 2010 x64 installed on a Win7 x64 Enterprise system, along with Oracle Express Edition 11gR2 x64. Not sure I follow. Neither VS 2010 or XE 11.2 exists in a 64-bit release. What precisely do you have installed?
    I downloaded and installed 32-bit ODAC 11.2.0.2.1 so I could use Oracle databases with Visual Studio, along with SQL Server.Since VS is a 32-bit app (though it can run on 64-bit OS and produce 64-bit binaries), it needs 32-bit libraries, yes.
    Is MS SQL Server instance a 32-bit or a 64-bit install? Perhaps both 32-bit and 64-bit clients are needed for planned setup.
    D:\app\PaulK\product\11.2.0\client_1\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform. Vendor code 0.It seems you are running SQL Developer on a 64-bit java machine. The 64-bit jvm obviously can't load a 32-bit dll, which I'm guessing was found via the 32-bit ODAC's PATH entry. Entry was listed first since Client/ODAC was installed last. Did you use Connection type TNS in SQL Developer? (Or Use OCI/Thick driver ticked in the database / advanced options, in Preferences.)
    What's the version of SQL Developer?
    Everything was working fine before I installed ODAC 11.2.0.2.1.If I'm correct in various assumptions, you have to cater for different environments/requirements.
    E.g to run SQL Developer with correct set of libs.
    set PATH=<path to libraries for sql developer/jvm>;<remaining PATH stuff>
    x:\some\path\here\sqldeveloper.exe
    Another way could be to use Instant Client and drop required lib files (.dll) in proper location within SQL Developer home. (So that it will find proper dlls directly in "cwd" instead of searching via PATH.)
    I've seen references to a beta x64 version of ODAC. Where do I find it? There are both production and beta releases.
    64-bit ODAC home page:
    http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    Edited by: orafad on Dec 3, 2011 10:20 PM
    Edited by: orafad on Dec 4, 2011 1:31 AM

  • Sorting is wrong with Entity Framework for oracle

    Hi,
    I've downloaded the Entity Framework for Oracle beta and I found a bug. It's easy to repro:
    - Create a model with a simple table
    - Create a dynamic data web app
    - display the content of your table and try to sort
    -> the sql generated is wrong and only sorts on the currently displayed rows and not the entire data.
    Did anyone else notice that?
    Edited by: lnu on 14 févr. 2011 05:51

    Before ODP.NET beta with EF was available I was working with OracleEFProvider from CodePlex (sample alpha version but works with VS2010).
    I found the same issue there. Since I had a source code I managed to find the solution.
    In class which implemented the base class DbExpressionVisitor there was a method: public override ISqlFragment Visit(DbSkipExpression e)
    I had to add sort clause AFTER visiting the expression (which was done too early in previous code).
    As the main idea of DbExpressionVisitor should be the same in case of Oracle provider, this can be the reason of improper sorting in queries with paging.

  • Creating a new database with oracle express

    how to create a database with oracle express. the web based interface for managing oracle sucks and it is too slow, they'd bet better of developing a rich client application for managing XE. Oracle XE comapraed to SQL Express is very poor.

    Try to post it Oracle Database Express Edition (XE)<br>
    <br>
    Nicolas.

  • Using Entity Framework with SQL Azure - Reliability

    (This is a cross post from http://stackoverflow.com/questions/5860510/using-entity-framework-with-sql-azure-reliability since I have yet to receive any replies there)
    I'm writing an application for Windows Azure. I'm using Entity Framework to access SQL Azure. Due to throttling and other mechanisms in SQL Azure, I need to make sure that my code performs retries if an SQL statement has failed. I'm trying to come up with
    a solid method to do this.
    (In the code below, ObjectSet returns my EFContext.CreateObjectSet())
    Let's say I have a function like this:
      public Product GetProductFromDB(int productID)
         return ObjectSet.Where(item => item.Id = productID).SingleOrDefault();
    Now, this function performs no retries and will fail sooner or later in SQL Azure. A naive workaround would be to do something like this:
      public Product GetProductFromDB(int productID)
         for (int i = 0; i < 3; i++)
            try
               return ObjectSet.Where(item => item.Id = productID).SingleOrDefault();
            catch
    Of course, this has several drawbacks. I will retry regardless of SQL failure (retry is waste of time if it's a primary key violation for instance), I will retry immediately without any pause and so on.
    My next step was to start using the Transient Fault Handling library from Microsoft. It contains RetryPolicy which allows me to separate the retry logic from the actual querying code:
      public Product GetProductFromDB(int productID)
         var retryPolicy = new RetryPolicy<SqlAzureTransientErrorDetectionStrategy>(5);
         var result = _retryPolicy.ExecuteAction(() =>
               return ObjectSet.Where(item => item.Id = productID).SingleOrDefault;
         return result;
    The latest solution above is described as ahttp://blogs.msdn.com/b/appfabriccat/archive/2010/10/28/best-practices-for-handling-transient-conditions-in-sql-azure-client-applications.aspx Best Practices for Handling Transient Conditions in SQL Azure Client
    Application (Advanced Usage Patterns section).
    While this is a step forward, I still have to remember to use the RetryPolicy class whenever I want to access the database via Entity Framework. In a team of several persons, this is a thing which is easy to miss. Also, the code above is a bit messy in my
    opinion.
    What I would like is a way to enforce that retries are always used, all the time. The Transient Fault Handling library contains a class called ReliableSQLConnection but I can't find a way to use this with Entity Framework.
    Any good suggestions to this issue?

    Maybe some usefull posts
    http://blogs.msdn.com/b/appfabriccat/archive/2010/12/11/sql-azure-and-entity-framework-connection-fault-handling.aspx
    http://geekswithblogs.net/iupdateable/archive/2009/11/23/sql-azure-and-entity-framework-sessions-from-pdc-2009.aspx

  • Entity validation with groovy expression

    Hi,
    I'm using jdeveloper 11.1.2.3.0
    I have an entity object with two attributes "status" and "reason".
    Only in case the user select status id "4" I would like to validate that he will select also reason.
    for this I was trying to add entity validation with groovy expression.
    so I added this expression "Status== 4 && Reason == null" and also I added failure message.
    But it doesn't work as I expected.
    The error is displayed every time, also when the user select status that is not 4 and also when he select status 4 and the reason is not null.
    How should I write this groovy expression?
    Thanks

    Just to clarify,
    If you add this validation to your status attribute then it will validate that Reason is not null when you change the status to 4.
    If you want to raise an entity validation just add a new Entity Validator and the expression should be something like what you had:
    But slightly different
    Status != null ? (Status==4? (Reason!=null) : true) : true

  • Installing Forms&Report  Services with Oracle Application Server 10g Rel 3

    Can I Install Forms & Report Services with Oracle Application Server 10g Release 3 some how?
    I am thinking of installing Forms & Reports Services in separate home with Oracle Application Server 10g Rel 3.
    Does any body has any different idea so that they both can run more smoothly together.
    Thanks
    Raj
    www.oraclebrains.com

    They WILL NOT RUN TOGETHER. We have discussed this many times before. They must be in separate homes.
    Check the search function for this forum to find the previous discussions.

  • Apex 3.2 with oracle express

    Hi
    Can i use Apex 3.2 with Oracle Express edition Oracle XE without paying any money and without violating liscence agreement ?
    regards
    Hrishy

    Yes, there's no licensing issue with this. Oracle encourages this upgrade in order that applications can take advantage of 3.x enhancements.
    Information on differences between XE with APEX 2.2 and 3.2, and upgrade instructions.

  • How to install Oracle Spacial with Oracle Express Edition 10g?

    Hello,
    I'm new in Oracle Technology, I just wanted to try Oracle Spatial.
    I don't know how to get it so I've installed Oracle Express and followed this tutorial :
    http://oracledbas.blogspot.com/2009/06/manual-installation-of-spatial-10g.html
    They say Jserver, Oracle interMedia and Oracle XML Database have to be installed, but only one of them seems to be set up (XML DB), I can't install the others.
    If someone can help me to install Oracle Spatial, it would be nice. Bye.

    If you want to use Oracle Express Edition, note that the 11.2 version is available on beta now:
    http://www.oracle.com/technetwork/database/express-edition/overview/index.html
    Its a while since I've used XE but from what I recall you get the Locator functionality, but not Spatial. That makes sense as XE is free, which Spatial needs to be licensed.
    However, you can do an awful lot with Locator. To see if it is setup, just check if you have the MDSYS schema. Then describe the SDO_GEOMETRY type:
    describe mdsys.sdo_geometry
    If they are both there, then you're in business.

  • Want to use the Entity Framework for Oracle

    Currently our web applications are installed on Windows 2003 Server, IIS 6.0. Yes, this seems like the dark ages...years behind. They have an older version of the Oracle Client on the machine (11.0.1). This version does not support Oracle.DataAccess 4.x. .NET Framework 4.0 is installed on the Windows 2003 server. This version also does not support the Entity Framework.
    However, my development environment does not have any Oracle Client installed. I am just using the latest version of ODAC/ODP.NET with Visual Studio 2010. I am able to create apps locally with the Entity Framework but unfortunately cannot get them to work on the server because there of the older Oracle Client on that machine. Also there are approx. 50 applications on that server that are accessing this old version of OracleDataAccess 2.116.0 with references hard coded in the web.config. What's the best practice for dealing with legacy applications that are accessing older versions of Oracle?
    In short, what do I need to do in order to upgrade to the version of Oracle that will support the Entity Framework while still supporting legacy apps? Do I go for an Oracle Client upgrade or I just merely get the latest version of ODAC/ODP.NET installed on that server?
    Thanks!
    Edited by: imterpsfan2 on Mar 7, 2013 12:01 PM

    imterpsfan2 wrote:
    What I would probably like to do is somehow set the dll directory to my local bin directory and just put all the .dlls for the most recent ODP.NET in my app and leave the existing applications as they are until I can migrate them.
    I've seen examples of this but doesn't seem to work for me.You can do that by having both Oracle clients installed, and using the DLLPath configuration option to force the applications to use the one you want.
    That said, the next version of the managed client is going to support working in Entity Framework, and that is just an assembly you can include in the project with no Oracle installation at all. So really, the best answer is going to be to use that once they release it.
    (Also - most of the time something compiled for Oracle 11.x will work in 11.2.0.3 without doing anything. The 11.2.0.3 installer adds binding redirects to itself from older versions, provided you were loading from the GAC.)

  • Connect Toad freeware with Oracle express Edition, How?

    Hello,
    Although I know that people will raise the question this is Oracle and use SQL developer... Ok I do that and that is working fine. But on my work they work with TOAD so I like to work with TOAD as well and I want get some knowledge about Toad, TNSNAMES etc.
    I've put the issue on TOAD forum as well, but till now I don't have received an answer.
    I want to teach/learn myself Oracle by working with the Oracle express edition. I have downloaded the SQL Developer and I can work with it, which means I can create a connection.
    Errors when I try to work with TOAD are:
    If i try to make a connection:
    - "No valid clients found. You need at least one 64-bit client properly configured"
    If I click on TNSNames editor:
    - Access violation in address xxxxxxx at module TOAD.exe"
    I have installed oracle at D:\ORACLE_HOME. In this directory is also a TNSNAMES.ORA file.
    I have installed the express edition with the installer. I have first installed the Oracle express edition and later TOAD.
    I'm working on my local machine with:
    - windows 7 Home
    - Oracle 32 bit client:
    - Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    - PL/SQL Release 11.2.0.2.0 - Production
    - "CORE 11.2.0.2.0 Production"
    - TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    - NLSRTL Version 11.2.0.2.0 - Production
    - TOAD 64-bit freeware.
    *Questions:*
    *- Are there certain environment variables necessary? Does TOAD expect Oracle at a certain directory?*
    *- Is it necessary to add something to the PATH environment variable?*
    *- 32-bit Oracle client will working with the 64-bit TOAD freeware?*
    Nico

    Nico van de Kamp wrote:
    I've put the issue on TOAD forum as well, but till now I don't have received an answer.Yes, correct, visit toadworld.com. This is not the proper forum.
    >
    Errors when I try to work with TOAD are:What version toad? Is it 11.6 x64?
    If i try to make a connection:
    - "No valid clients found. You need at least one 64-bit client properly configured"Listen to that message. A 64-bit program requires 64-bit libraries.
    I have installed the express edition with the installer. I have first installed the Oracle express edition and later TOAD.
    I'm working on my local machine with:
    - windows 7 HomeHome editions are not supported, sorry.
    - Oracle 32 bit client:What is it - Client or Server?
    - Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production>
    - TOAD 64-bit freeware.Perhaps easiest way out is to remove 64-bit Toad and install the 32-bit one instead.
    >
    Questions:
    - Are there certain environment variables necessary? Does TOAD expect Oracle at a certain directory?
    - Is it necessary to add something to the PATH environment variable?
    - 32-bit Oracle client will working with the 64-bit TOAD freeware?
    All these should be directed elsewhere, e.g. at some Toad forum, maybe at toadworld.com.

  • OFA Connectivity with Oracle Express Server

    Hi All,
    I have installed and Configure Oracle Express Server 6.3.4, it is running fine, I am able to view the dimensions and members, but I am not able to connect it with Oracle Financial Analyzer. Please inform me how to establish connection between Oracle Express Server and Oracle Financial Analyzer.

    but I am not able to connect it with Oracle Financial Analyzer. What is the error?
    Please inform me how to establish connection between Oracle Express Server and Oracle Financial Analyzer.Please see these docs.
    Oracle Financial Analyzer Top Issues (v6.x) [ID 227199.1]
    Oracle Financial Analyzer 6.x Frequently Asked Questions (FAQ's) [ID 203229.1]
    Oracle Financial Analyzer Technical Notes Index [ID 132065.1]
    There are No Financial Analyzer User Names Associated With the Given User ID [ID 237317.1]
    Thanks,
    Hussein

  • Is it possible to use Oracle Memebership Providers with Oracle Express

    I am using Oracle Express as development database and I was able to create the ORA_ASPNET_ tables and procedures but when I try to use Microsofts "ASP .NET Configuration" tool to create users and roles I get this error message: OracleConnection.ConnectionString is invalid
    When I use the connection string in code to connect to the database I am successful, I am able to open and close a connection to the Oracle Express database.
    This is the connection string I am using: <add name="OraAspNetConString2" connectionString="DATA SOURCE=localhost:1521/XE;ENLIST=false;METADATA POOLING=False;PASSWORD=CREDENTIALSMGR;PERSIST SECURITY INFO=True;STATEMENT CACHE PURGE=True;USER ID=CREDENTIALSMGR;" providerName="Oracle.DataAccess.Client"/>
    So I am wondering why when I run the application and the membership class tries to verify the user I get the error message: OracleConnection.ConnectionString is invalid
    I have been looking at this a couple of days now so not sure what the problem is, any help?

    I suggest that update your machine.config file under your
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG.
    There is one following entry. You may try to update the
    connectionString with a valid string value.
    <add name="OraAspNetConString" connectionString=" " />

  • Where to locate HTTP Server for use with Oracle Express 10g and Apex?

    Hello,
    Im a newbie and I downloaded oracle express 10g and Apex 3.2.1. The Apex install is referencing "choosing a HTTP Server" specifically "Oracle HTTP Server and mod_plsql and the embedded PL/SQL Gateway". My question is do the HTTP server or PL SQL embedded Gateway come with the 10g install or do I need to download them seperately? If so where can I locate them?
    Thank you!

    user12027813 wrote:
    If using Oracle XE, then which APEX install scenario would I used if I downloaded both the XE and apex from the OTN?Oracle XE includes APEX 2.1 and uses the PL/SQL Gateway for HTTP service work. No separate HTTP Server is required.
    If, after you install XE, you want to upgrade to APEX 3.x, you would select the PL/SQL Gateway for the upgrade.
    If the PL/SQL Gateway (EPG) does not provide the full set of services you need, you could put a regular Apache in front and redirect to APEX for those specific issues.
    If that is to complicated, then you could license Oracle Application Server Standard Edition 1 (for a fee) to get an Oracle HTTP Server and it's mod_plsql to replace the internal EPG.

  • Is DBAT Connector  compatible with Oracle Express Edition

    Hi All,
    This is the first time that I would be working with DBAT connector.
    I would need to  start POC on DBAT Connector 11.1.1.5.0 with oracle DB.
    As part of POC, I would like to know,  whether  I would  need to install Oracle EE (10g or 11g or 12g) or Oracle Express edition of the same version would suffice.
    This is just to reduce Oracle  EE license issues for POC.
    Would you kindly suggest.
    Thanks in Advance.

    Please refer the certification table of DBAT connector:
    https://docs.oracle.com/cd/E22999_01/doc.111/e20277.pdf
    Note: The Express edition of any of the above version will work.
    ~J

Maybe you are looking for

  • Disappointed in Verizon...willing to lose a customer

    I called a week ago to ask Verizon for some help.  My husband and I just bought our first home.  We checked Verizon's map of coverage, and it said our new house was in a good coverage area.  The day we signed papers on the house, I came over to clean

  • IMovie 09 cropping on still images

    Hi Is it my stupidity or is it impossible to crop a still image in iMovie 09 and still have the crop extend beyond the edges of the photo? Currently Ken Burns can't include any of the black area outside the photo. I've looked all over for a way to tu

  • MediaSource - Sharing Over a netw

    I have a Windows2000 based home network, some PCs areportables which can be taken away from the house. All our families mp3s are stored centrally on the server. There are a lot; much too many to go on my 20Gb mp3 player. The synchronisation process t

  • Automatic migration of servers in a networked application

    Does anybody have any ideas about how to automatically migrate servers in a networked application? The tmadmin utility has commands to suspend/resume and migrate servers, which you can invoke manually when a node fails. But how can we automate this p

  • JAEHYLEE (R11i PA)  Customer Billing Contact Name을 변경하고자 할때

    Purpose Project Billing의 Invoice 생성전에 Customer의 Contact정보를 변경하고자 할때 Solution You must add a new contact: 1. Navigate: Projects->Find a project and open->Choose customer & contacts and open-> 2. Delete the previous Billing contact name in the 'Contact