Wizard Model EF accidents

Here is the list of installed software and their version:

  • Oracle DB 11g 11.2.0.3.0
  • Visual Studio Professional 2013 12.0.21005.1
  • .NET framework 4.5.51209
  • Entity Framework 6.0.2
  • Manager ODP.NET 12 c 12.1.021 driver

Now the problem: I am creating an MVC application that connects to an Oracle database. The models will be created based on existing views in the Oracle DB(forced to be this way). I have therefore created the basic MVC application in Visual Studio, installed EF and ODP. The fun starts now. If I go to the Visual Studio Server Explorer and add a new connection it is my Oracle db (TNS or EZConnect) it can connect and I can see the views I want and ask (just to prove that Oracle is not out of reach). Now when I go to my project follow these steps:

  1. Right click on the template file and make add-> ADO.NET Entity Data Model
  2. The person name, click OK
  3. Select the generate database, press Next
  4. "OracleDbContext" is the selected connection. I get the circle of blue treatment for a few seconds, then Assistant disappears.

From what I've been able to gather is that he's trying to connect to my Oracle db on this screen, so that I can continue to choose tables/views and so on. Why it fails here I'm not sure that I use the same login details, user, password I did in the Server Explorer, which works very well. I'll stick my web.config below (disinfect but I have triple checked all spelling):

<? XML version = "1.0" encoding = "utf-8"? >

<!--

For more information about the configuration of your ASP.NET application, see

http://go.microsoft.com/fwlink/?LinkId=301880

->

< configuration >

< configSections >

< section name = "EF" type = "System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089' requirePermission ="false"/ >"

<!-for more information on the configuration of the Entity Framework, visit http://go.Microsoft.com/fwlink/?LinkId=237468 ->

"< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

< / configSections >

< connectionStrings >

< name = "OracleDbContext" providerName = "Oracle.ManagedDataAccess.Client" connectionString ="user Id = DBA_USER_VALUE; Password = PASSWORD_VALUE; Data Source = oracle"/ >

< / connectionStrings >

< appSettings >

< add key = "webpages:Version" value = "3.0.0.0" / >

< add key = "" Web pages: enabled "value ="false"/ >"

< add key = "ClientValidationEnabled" value = "true" / >

< add key = "UnobtrusiveJavaScriptEnabled" value = "true" / >

< / appSettings >

< system.web >

< authentication mode = "None" / >

< debug compilation = "true" targetFramework = "4.5" / >

< httpRuntime targetFramework = "4.5" / >

< system.web >

< system.webServer >

<>modules

< name = "FormsAuthenticationModule" / >

< / modules >

< system.webServer >

< runtime >

< assemblyBinding xmlns = "urn: schemas-microsoft-com: ASM.v1" >

< dependentAssembly >

< name = "System.Web.Helpers assemblyIdentity" publicKeyToken = "31bf3856ad364e35" / > "

< bindingRedirect oldVersion newVersion = "1.0.0.0 - 3.0.0.0" = "3.0.0.0" / >

< / dependentAssembly >

< dependentAssembly >

< name = "System.Web.Mvc assemblyIdentity" publicKeyToken = "31bf3856ad364e35" / > "

< bindingRedirect oldVersion newVersion = "1.0.0.0 - 5.0.0.0" = "5.0.0.0" / >

< / dependentAssembly >

< dependentAssembly >

< name = "System.Web.WebPages assemblyIdentity" publicKeyToken = "31bf3856ad364e35" / > "

< bindingRedirect oldVersion newVersion = "1.0.0.0 - 3.0.0.0" = "3.0.0.0" / >

< / dependentAssembly >

< dependentAssembly >

< name assemblyIdentity = "WebGrease" publicKeyToken = "31bf3856ad364e35" / >

< bindingRedirect oldVersion = newVersion ' 0.0.0.0 - 1.5.2.14234 "="1.5.2.14234"/ >

< / dependentAssembly >

< dependentAssembly >

< publisherPolicy apply = "no" / >

< name = "Oracle.ManagedDataAccess assemblyIdentity" publicKeyToken = "89b483f429c47342" culture = "neutral" / > "

< / dependentAssembly >

< / assemblyBinding >

< / SPAN >

< Entity Framework >

< defaultConnectionFactory type = "System.Data.Entity.Infrastructure.LocalDbConnectionFactory, Entity Framework" >

< Parameters >

< setting = "v11.0" / >

< / Parameter >

< / defaultConnectionFactory >

<>providers

"< invariantName =" System.Data.SqlClient provider"type =" System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer "/ >

"< invariantName =" Oracle.ManagedDataAccess.Client provider"type =" Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

< / providers >

< / Entity Framework >

< system.data >

< DbProviderFactories >

< remove invariant = "Oracle.ManagedDataAccess.Client" / > "

"< add name =" ODP.NET, successful pilot"invariant =" Oracle.ManagedDataAccess.Client "description ="Oracle Data Provider for.NET, successful pilot"type =" Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"/ >"

< / DbProviderFactories >

< system.data >

< oracle.manageddataaccess.client >

< version number = "*" >

< dataSources >

< alias dataSource = "OracleDbContext" descriptor = "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=HOST_VALUE) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = SERVICE_VALUE)))" / >

< / dataSources >

< / version >

< /oracle.manageddataaccess.client >

< / configuration >

(Just as a side note, I also tested the connection to a MS SQL server and that worked instantly and I was able to create templates / my entire application)

Not sure if there is a format of 'code' for details of config. Let me know if you need additional information. Any help with this would be greatly appreciated. Thank you

Will post my solution in case someone else comes on this problem. For some reason any with a connection to my Oracle DB in the Visual Studio Server Explorer performs a kind of conflict with EF/ODP. When I removed this connection and cleaned my web.config file have no connection the Assistant Entity Framework does not crash and has been able to generate the model. So do not establish a connection to your database using Server Explorer, instead on the "Choose your data connection" screen of the Wizard(the one that used to crash) entity, press 'new connection... '. "and go from there.

Tags: Database

Similar Questions

  • Bought a model and accidentally messed something... Help, please! I will paypal you $

    I bought a model offline and when I was almost at the end of the change in the model I tested the movie and now it does not stop there where it should...

    I of course tried udoing all, but he was far back where I have made the mistake...

    May include errors: I broke apart the cause of layer of pages he had an image that I wanted to delete... I noticed there is a pause of the interpolation on the layer of pages now too...

    OK version http://irenevatio.com/projectpill : when I click on one of the menu items such as news it goes to the news page as it should and does not return to the home page...

    Version of the problem http://irenevatio.com/projectpill/problem/ : after I acidently deleted or changed something... now when I click on news for example, he plays through to the news page, but then it goes back to the home page... he isn't cutting as it should?

    I have included the file raw in this link... http://irenevatio.com/projectpill/problem/main_v8-test-X.fla

    Please call me or write me or post the answer here if you're quite smart to understand this... I deleted something or something changed by accident...

    Please

    Michael Sifrar

    239-887-0213.

    [email protected]

    The first two links just show a large rectangle of lavender, and the third link is broken. You solve the problem?

  • LCD and display cracked for iPhone 6 repair

    Hello

    I cracked the screen of my iPhone 6. The touchscreen works perfectly and the phone actually works 100% fine but he also demonstrated a black spot and some lines on the screen which I guess means that there is something wrong with the LCD as well. How much would it cost (to the United Kingdom) to fix this problem?

    Check these details, copied from answer Service Center - iPhone /UK

    IPhone screen repair

    Repair and replacement costs depend on your iPhone and your AppleCare products cover model. Accidental damage is not covered by the limited one year Apple warranty. When you apply online or by phone screen repair, Apple will put an authorization on your credit card to cover the costs of out-of-warranty iPhone service below in the out-of-Warranty Service section. It is the cost for the replacement of the screen and the fixing of additional damage. We will charge this amount if your iPhone is covered off-warranty and our diagnostic test shows extra damage. If your iPhone has no damage other than the screen, we charge you fees screen repair service.

    Model Screen repair service charges
    iPhone 6 £ 86,44
    iPhone iPhone 6s 6 Plus, iPhone 5 s,.
    iPhone 5, iPhone 5
    £106,44
    iPhone 6 sec more £ 126,44

    Screen repair service charges include delivery £7,44 charges. All fees are in pounds sterling and include VAT. The prices apply only to the screen by Apple repair.

  • STEM files?

    When I try to use some website for work I get a box that says: I chose to open a SWE. file.  I download, but can not open. I use Vista.

    panork,
    Thank you for visiting the Microsoft Answers community forum.

    What is the website?  Are you sure that it is .swe and not .swf or .swi?  These are the two file extensions for Flash animations, which are very common on many web sites.  But .swe is not very common.  This is the only known for this file extension uses:

    NHL 2002 (hockey game)
    Staff paint file Swedish UI language
    Etiquetas labels SendaWin
    Knit sweater wizard model
    Location of Sweden language file

    Any time you're looking for a file extension that you don't have the program to open, query and search the Internet before trying to open it.  It could very well be a virus.

    I hope this helps.
    Thank you
    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Generation of multiple reports in a single file PDF of Apex / BI Publisher

    Hello

    We have Apex 4.0 and BI Publisher allows you to generate PDF reports. Which works very well.

    Now, instead of having, for example, a Bill printed by PDF, the requirement must allow the user to select multiple invoices and generate a single PDF with all of them, with a break between each of them and page numbering for each restart.

    Is it still possible? After much research and tests apparently not as much as the integration between the Apex and BI Publisher is very vanilla. It seems to be a restriction of the Apex, as it seems that BI Publisher allows if you supply the correct XML data.

    Any ideas?

    Thank you
    Luis

    NOTE: Each invoice has a header and one or more lines of detail (master relationship / retail)

    You must rewrite your query

    Select t.table_name, c.column_name
    of user_tab_columns c., user_tables t
    where t.TABLE_NAME = c.TABLE_NAME;

    export the XML file and then on the model of group by table name and a select when page break the value changes. In this way, it will produce a single pdf with multiple pages, each page having a single table_name and column_name multiple.

    Note: when you design your selection of wizard model select the two columns click next and in the group by select table_name, group above and break: page
    This way you will get a page break when the name of the table is changed.

  • Global payroll updates

    I tried to keep our test systems up-to-date with as many updates as possible. We are currently using Global Payroll, but I tried to install the updates of the just in case global payroll who never changes. Maybe I shouldn't be.

    I can easily install the packages change by downloading them via the wizard change. What I don't understand is there get the Packages of the rule. I saw the page where I can load the package online, but where can I get the package? As far as I know, he did not include the Package change change wizard downloads. I looked through support of Oracle, and I couldn't find where I could download them.

    For example, I downloaded the package 857845. I see the change in Wizard model. There is a project directory. There also a few file references - some data files and scripts DMS SQR. There is an installation directory that resembles all the documentation. Nothing in it looks like something I can download only the package of the rule.

    Can someone give me some ideas as to where I can get the package of the rule? Has it something to do with my ID support? Did I miss something in the package? Should I ignore the Global Payroll updates?

    Thank you

    Stephen

    There is a page that you can click to check whether or not you have the correct script path before treatment. This is the hyperlink that has the focus in your screenshot here:
    http://psst0101.digitaleagle.NET/WP-content/uploads/2011/07/Selection_427.PNG

    If you go to this page and chose the import script, it should show the contents of the script in the field below. If this isn't the right way it will give you an error.

    I think remember the first time I tried it I had to look at the code-behind of the secondary page to find out what I was not quite right. It was something pretty trivial (as I put not one '-' on the end of my path of scripts).

    Duncan

  • Course assistant Linkable list

    I have a list of type Wizard progression. I wish that each element of the list to be correlated. I have not found a way to do it again.

    They entries to be linked to themselves, but when you run the application, the elements are not clickable. Is there a way to do this? Thank you

    Jon

    Hi Jon,

    It is the wizard model list of progression itself that is the issue that, at least in theme 18 (where I come from to check this), there is no #LINK # defined elements.

    Fortunately, this means that it is easy to fix, as it is just a case of it by adding necessary. For example, on the model of my theme 18 Assistant list progression, as part of the 'Non-current model list', I have:

    <div>#TEXT#</div>
    

    that can be changed to:

    <div><a href="#LINK#">#TEXT#</a></div>
    

    and now the links become available.

    Andy

  • HP ENVY MODEL 4-1026TU: HELP! -J' I ACCIDENTALLY NOT REMOVED MY IDT - NO SOUND AUDIO DOWNLOADS NOW!

    Hello

    I need help to guide me to retrieve him download IDT Audio that I accidentally deleted my HP Windows 7, ENVY model 4-1026tu.

    Appreciate your input please.

    Thank you very much!

    I posted the link to the driver on your other post.

    Drivers and software are posted on your Support page:

    http://support.HP.com/us-en/drivers/selfservice/HP-envy-sleekbook-4-1000/5269342/model/5272680#Z7_30...

  • No WiFi - accidentally deleted / my Samsung R580 model JSB1US network card driver

    Former title: no Wi - Fi

    I accidentally deleted / NIC of my Samsung R580 driver model JSB1US, so my wifi does not work.  I think I need to reinstall a version update of the Atheros 9258.  How can I solve the problem?

    You can get them from the pages of support Samsung driver (recommended)...

    http://www.Samsung.com/us/support/owners/product/NP-R580-JSB1US

  • Model list to the horizontal progression wizard - style steps completed?

    Hello

    Please take a look a this example I realized (with list of horizontal progression Model Wizard and its 25 theme):

    https://Apex.Oracle.com/pls/Apex/f?p=80969

    This list contains 3 steps, and 1 page currently is step 2. I expect step 1 which was completed to a different aspect of step 3, who has not yet completed.

    However, two steps 1 and 3 are similar. Is it possible for the steps are completed to have a different look from those who are not completed? It would be much more logical to the user.

    Thank you

    Luis

    OK, after some digging I found that you can use any page template for an Assistant, but rather a page specially designed model "Assistant" instead.

    All this page template calls this JS function when loading:

    loadWizardTrain();

    And this function is located in this file (which, for some reason, is not included in the page template that I use so I had to manually add it to the pages of the Wizard):

    #IMAGE_PREFIX#themes/theme_25/js/4_2#MIN#.js?v=#APEX_VERSION#

    I find that very weird. First of all, I could not find anywhere in the documentation saying that you must use a specific for assistants page template if manually create you them. And also why use Javascript as an additional step to do this? The list model itself should be able to handle this as maybe he knows what entries are before or after the current.

    Anyway thanks for taking the time, the example you posted point helped me in the right direction!

    See you soon

    Luis

  • Wizard of model Entity Framework fails and crashes when off-plan. :(

    Hi all

    I have a nice shiny oracle db connection in my Server Explorer.

    When it is implemented by all of the default values, and the available tables are the schema of the user of the connection, the wizard of FE model full well.

    When I change the connection to the server explorer db, to the tables of a schema (not the schema of the user of the connection) - everything seems fine in VS - I can see the other schema tables, run queries on them and get the results back, etc..

    But when I do my EF data model, I go through it, click on the off-user-schema tables that I want included and click Go or else - VS just - hangs forever I can say - I killed VS after 30 minutes to try to make a data table 1 row-20 model.

    So apparently I'm something wrong here. Any suggestions?

    Thank you
    SFF

    It's strange, it works for me. You use the version of the ODP? What are the permissions the user you are using has on those tables in the schema?

  • Can not see all the stored procedures in the Entity Data Model Wizard

    I hope it is a simple oversight on my part I try to use the new beta version of odp.net with entity framework support. I can open the Entity Data Model Wizard, give him my information database, and I can choose various tables to use successfully. But in the list where I select the tables, views and stored procedures, the wizard does not see my stored procs or my point of view.

    Does anyone know why he would see the tables but not views or stored procedures? My procs can be found under "packages" If that makes a difference. I tried to create a fictional stored procedure at the level above the title of 'procedures', but it is unclear whether.

    Is it possible for me to debug this from here? The log files, I could watch that would help me?

    Thank you
    Jim

    I belive your Oracle database 10 g such as 9iR2 predates.
    ODP/EF Beta does not list the stored procedures or functions when connect you to a database Oracle 10 g before.

    Readme.txt:
    4. the procedures are not compatible with the DB 9.2.
    Thus, there is no stored procedure listed by the EDM Wizard for 9.2 DBs.

  • Where to download PeopleSoft change model upgrade wizard?

    People,

    Hello. I'm level PeopleTools 8.49 to 8.50.

    After setting up 8,50 Assistant to change, we need to download a change model specific wizard for the upgrade process. I can't find where to download it.

    Can any people provide a link to download the template of PeopleSoft change Assistant 8.49 to 8.50 PeopleTools upgrade?

    Thank you.

    Hello

    You must be a client with a maintenance contract current to have a valid access to My Oracle Support (http://support.oracle.com) and upgrade documentation and models.

    Current customers who share documents and information My Oracle Support, with clients no interview, and others, may be in violation of their license agreement with Oracle.

    For reference:
    "... This software and its documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Unless expressly authorized in the contract of license or permitted by law, you may not use, copy, reproduce, translate, broadcast, change, concede, transmit, distribute, exhibit, perform, publish, or display any part, in any form or by anymeans. "Reverse engineering, disassembly or decompilation of the software, except if required by law for interoperability, is prohibited.

    concerning
    Greg

  • Change the Model Wizard for MP5 HC9

    Hi all


    Some can guide me please how to get the doc and change model Wizard for HC9 MP5.

    I tried metalink3 bjt that I don't seem to get it.


    Thank you and best regards.


    Texas!

    You will find here on metalink3:
    Knowledge > Browse Home > PeopleSoft Enterprise > Human Capital Management > Documentation > Documentation & Scripts upgrades > Browse results

  • My dear, I've locked touchpad of my laptop model ProBook 4410 s accidentally. How can I reactivate it

    Hello

    Please give me a solution of the issue.

    Double tap left corber albums of the touchpad for Tablet touch activate/disapble.

    ON THE OTHER

    Goto Control Panel

    Open mouse

    Click on the settings tab

    Choose LuxPad or TouchPad and click settings.

    You will get the touchpad enable/disable controls and other options.

Maybe you are looking for

  • Cannot display the pictures of products on certain Web sites, why?

    While in some sites to see their products, I click on the product and the text comes up, no picture of the product just an empty space. I also tried to get my box of recipes through another site and the page is completely blank. The homepage of these

  • Limited of Personas is there a solution for this? Permeable thread closed

    The previous thread on limited personas has been closed with no difinitive answer . Is there a fix for this software or am I limited to only 8 or 9 personas. A bit frustrating as Ive searched everywhere an answer here, nothing works. Any help or "fix

  • Silent allways orange but work and volume/tone are not displayed.

    I have a 1100-DV8T running win7 pro.  Product #vf836av.  Once Microsoft fixed a few issues that I noticed that the Mute button is still orange but works correctly.  Settings mute, volume and tone do not appear on the screen when you use the touch but

  • C & C generals zero hour cannot find directx

    Original title: update of directx problem I had DirectX 9 .0c and updated with the webinstaller (why? thought it was a good thing to do) and now my 8.1 game of c & c generals zero hour cannot find directx

  • How can I find temporary "password protect - startup."

    I had recently 3 used dell computers with a mortgage company of bankruptcy to help out them of their office, their home & hung and EVERYTHING! of them are password at startup (windows xp pro), how do I go beyond, or reset the passwords, so I can use