Register as a DataProvider in Windows #1186
-
I'm trying to use this with Telerik Reporting. It works great with everything else, but Telerik expects a dataprovider to be registered on the machine, and without it, it can't seem to find it. I'm not sure what exactly to ask for, but I know I can't register the dll because it doesn't have the entry points windows expects for regsrv32 to work. Is there any way to register MySqlConnector so the machine reports it as a .net data provider? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
My guess would be it's expecting to find a DbProviderFactory registered in
You'll need to add the XML block shown here: https://mysqlconnector.net/overview/dbproviderfactories/ There's probably an existing There's no path (to the assembly) specified in |
Beta Was this translation helpful? Give feedback.
-
Are you sure it has to be on the machine? You may be able to register the DbProviderFactory locally, just for your app, in app.config (or web.config), following most of the same steps above (but no GAC necessary). |
Beta Was this translation helpful? Give feedback.
Are you sure it has to be on the machine? You may be able to register the DbProviderFactory locally, just for your app, in app.config (or web.config), following most of the same steps above (but no GAC necessary).