How I can register my custom data provider?

Posted by Community Admin on 03-Aug-2018 09:50

How I can register my custom data provider?

All Replies

Posted by Community Admin on 02-Feb-2011 00:00

Hi there,

In Sitefinity 3.7 I used custom module and custom data provider in separated DLLs - MyModule.dll and MyModule.Data.dll. They have been registered in web.config

In Sitefinity 4 I registered my module, but I can't register my custom data provider. I specified it as DefaultDataProvider like this: 
MyModule.Data, MyModule.Data.DefaultDataProvider

Unfortunately, I got the following exception:
=====
There is no configuration for data provider with the name of "MyModule.Data, MyModule.Data.DefaultDataProvider" for "MyModule.ModuleManager" manager. Please check the spelling of the name and whether such configuration exists.
=====

Does anyone know how and where custom provider should be registered?

Thanks in advance,
Anton.

Posted by Community Admin on 03-Feb-2011 00:00

Hi Anton,

Please download the SDK. There is a sample project - Products that shows how to create a custom data provider and manager.

Greetings,
Teodor
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

This thread is closed