This is a migrated thread and some comments may be shown as answers.

Domain Model Fail

2 Answers 96 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ozcan Oksuz
Top achievements
Rank 1
Ozcan Oksuz asked on 05 May 2010, 09:09 AM
Hello,

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 Answers, 1 is accepted

Sort by
0
Accepted
Alexander
Telerik team
answered on 05 May 2010, 03:43 PM
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,
Alexander
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.
0
Thomas Möchel
Top achievements
Rank 1
answered on 22 Nov 2012, 08:53 AM
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)
               {
                   Console.WriteLine(row[column]);
               }
           }
           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
Tags
Getting Started
Asked by
Ozcan Oksuz
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Thomas Möchel
Top achievements
Rank 1
Share this question
or