Domain Model Fail

Thread is closed for posting
3 posts, 1 answers
  1. Ozcan Oksuz
    Ozcan Oksuz avatar
    9 posts
    Member since:
    Feb 2010

    Posted 05 May 2010 Link to this post


    When I try to Open Access Enable a project it wants me to add a Domain Model to the project.
    When I try to add a Open Access Domain Model it gives an error. I am sending the error in the
    attachment. In the error it says "Unable to find the requested .Net Framework Data Provider"
    What does this mean?

    Also when Open Access enabling the prject when it asks if I want to add Domain Model I say no
    then it goes to Telerik Open Access Enable Project Wizard. In this wizard after step 2 the dialog
    disappears and nothing happens. So I can't enable project this way either.

    Please help.
    Burhan Eymaya
  2. Answer
    Alexander avatar
    727 posts

    Posted 05 May 2010 Link to this post

    Hi Ozcan Oksuz,

    It seems the two issues you are observing are caused by a common problem. Let me explain a bit. In order to work with database connections in Visual Studio, you need to install a .Net provider for the backend you are going to work with (like the .Net Connector for MySql). Usually those providers come with some dialogs that helps you to configure the connection string and which we are invoking when the user clicks on the New Connection button of the Enable Project or Add new item wizards.
    It seems such provider is needed by the wizards but is somehow not available on the system. I would suggest you to close the active connections from the Server Explorer window and delete the connection strings (if any) from the App.config file of your project. Then try to run the wizards again.
    It would be helpful if you can share with us which database backend you are trying to use. If the steps above do not help, you can also try upgrading to the latest internal build with version 2010.1.414, we have done some fixes in that area recently.

    Kind regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Thomas Möchel
    Thomas Möchel avatar
    2 posts
    Member since:
    Nov 2008

    Posted 22 Nov 2012 Link to this post

    Hi Guys,

    whoever runs into this mysterious exception (into which I also ran), run the followowing code in a console app.
    static DataTable GetProviderFactoryClasses()
               // Retrieve the installed providers and factories.
               DataTable table = DbProviderFactories.GetFactoryClasses();
               // Display each row and column value.
               foreach (DataRow row in table.Rows)
                   foreach (DataColumn column in table.Columns)
               return table;
    It will point out errors in your machine.config (in a understandable form), which was the cause in my case. I had the Firebird Data Provider installed multiple times. Make sure your Data Provider is in the list.

    Hope this helps.

    Regards Thomas
Back to Top