Failed to find or load the registered .Net Framework Data Provider
Posted: Thu 08 Jun 2006 22:59
Hi,
I have raised a few topics on the forum recently, mostly due to my inexperience with OraDirect, but I thought that the one of the reasons for having OraDirect to is remove some of the tedious hand coding of ADO.NET and provide an alternative means to not having to install the Oracle Client on a workstation.
I haven't had much luck with trying to bind a dataset to a ComboBox to show a selection of data the user can choose.
The steps I have gone through are the following -
1. Create a CoreLab.Oracle.OracleConnection, setting the values to connect to the database - This worked fine.
2. Create a CoreLab.Oracle.OracleDataAdapter, setting the connection, setting the Type to TableDirect and choosing a table. This worked fine and I can preview the data in the table using the Preview Data option in the OracleDataAdapter menu.
3. Create a DataSet instance with the DataSet wizard.
4. I then bind the DataSet to the ComboBox, when I go to preview the data using the ComboBox tasks, I get the error 'Failed to find or load the registered .Net Framework Data Provider'.
Also I have had occasions when I have I haven't encountered this error, and have used the (DataBinding) properties of the ComboBox to set the values for the SelectedItem & SelectedValue. When the program has been run no data appears in the ComboBox.
If I could get some help on this it would be greatly appreciated.
Cheers,
Scott.
I have raised a few topics on the forum recently, mostly due to my inexperience with OraDirect, but I thought that the one of the reasons for having OraDirect to is remove some of the tedious hand coding of ADO.NET and provide an alternative means to not having to install the Oracle Client on a workstation.
I haven't had much luck with trying to bind a dataset to a ComboBox to show a selection of data the user can choose.
The steps I have gone through are the following -
1. Create a CoreLab.Oracle.OracleConnection, setting the values to connect to the database - This worked fine.
2. Create a CoreLab.Oracle.OracleDataAdapter, setting the connection, setting the Type to TableDirect and choosing a table. This worked fine and I can preview the data in the table using the Preview Data option in the OracleDataAdapter menu.
3. Create a DataSet instance with the DataSet wizard.
4. I then bind the DataSet to the ComboBox, when I go to preview the data using the ComboBox tasks, I get the error 'Failed to find or load the registered .Net Framework Data Provider'.
Also I have had occasions when I have I haven't encountered this error, and have used the (DataBinding) properties of the ComboBox to set the values for the SelectedItem & SelectedValue. When the program has been run no data appears in the ComboBox.
If I could get some help on this it would be greatly appreciated.
Cheers,
Scott.