locked
Can not generate entity data model RRS feed

  • Question

  • Hi!
    I try to generate enitity data model based on db tables...
    The first wizard's window asks me to choose the model content - I choose "Generate from database". After this, wizard disapears and there is no .edmx file in solution explorer.
    However, when i choose "Empty model", wizard works properly and generates empty .edmx file.
    Who knows what is wrong?
    Thanks
    Thursday, March 12, 2009 12:05 PM

Answers

  • Hi,
    Thanks to everyone! Sorry, for not replying immediately...
    Now, everything is fine. What I have done is that I reinstalled all stuff (VS, SQL Server, framewrok, SP1 and etc..). This helped, however I stil do not know what was wrong :(

    Thanks

    E. Emelyanov
    Wednesday, April 1, 2009 10:35 AM

All replies

  •  Hi,

    does it not even ask you to specify or create a new connection to your database?
    when you choose to generate a model from a database?
    I.W Coetzer
    Thursday, March 12, 2009 5:31 PM
  • Hi *,

    did you installed some previous version of EF?


    Jiri {x2} Cincura
    Thursday, March 12, 2009 8:35 PM
  • I.W Coetzer said:

     Hi,

    does it not even ask you to specify or create a new connection to your database?
    when you choose to generate a model from a database?


    I.W Coetzer

    No, it does not

    Friday, March 13, 2009 9:12 AM
  • Jiri {x2} Cincura said:

    Hi *,

    did you installed some previous version of EF?


    Jiri {x2} Cincura


    Probably, yes. (I do not remember). But I can not find it in the list of installed programs. On another PC everything works fine :(
    Friday, March 13, 2009 9:15 AM
  • Hi, can you list all the "post" installs which you installed after installing visual studio with the latest service pack?
    I.W Coetzer
    Sunday, March 15, 2009 9:03 AM
  • Hi, for it to work properly, we installed:

    (I'm listing everything so that you know what we installed before starting to work with ADO.Net entity framework with LINQ, even though most of these are prob. not required)

    1) Visual Studio 2008

    2) Visual Studio 2008 latest service pack

    3) GuidanceAutomationExtensions.exe

    4) Guidance Automation Extensions for Visual Studio 2008 and Visual Studio 2008 Service Pack 1   Update.exe

    5) GuidanceAutomationToolkitForVS2008.msi

    6) Smart Client Software Factory - April 2008.msi

    7) Web Client Software Factory - February 2008.msi

    8) Web Service Software Factory Feb 2008.msi


    I.W Coetzer
    Tuesday, March 17, 2009 12:08 PM

  • Hi -

    I'm not exactly sure what is happening here, but one of the problems we've experienced in the past is that you have a persisted data connection on your machine, and that data connection requires either a DDEX provider or an ado.net provider to be successfully opened. 

    Try opening VS, opening server explorer, and then deleting any database connections you have in server explorer.  Then try running the EF wizard. 

    Let me know if this works.

    Thanks,

    Mike Kaufman
    Microsoft Corp.

    This posting is provided "AS IS" with no warranties, and confers no rights
    • Proposed as answer by brownap Thursday, March 25, 2010 2:11 AM
    Tuesday, March 31, 2009 11:28 PM
  • Hi,
    Thanks to everyone! Sorry, for not replying immediately...
    Now, everything is fine. What I have done is that I reinstalled all stuff (VS, SQL Server, framewrok, SP1 and etc..). This helped, however I stil do not know what was wrong :(

    Thanks

    E. Emelyanov
    Wednesday, April 1, 2009 10:35 AM
  • This worked for me.

     

    Thankyou.

    Thursday, March 25, 2010 2:17 AM