Valid for Sitecore
5.2, 5.1.1
The web.config dataProvider Section
Prev Next |
The <dataProviders> section includes multiple <dataProvider> tags, each of which defines the application library, namespace, and class associated with a corresponding DataProvider subclass. The <dataProvider> tag has the following format:
<dpname type=”namespace.class, library”>
<param ref=”connections/$(1)”/>
</dpname>
Text displayed above in a bold, italic font should be replaced with appropriate values as follows:
-
dpname
– the name of the data provider (for use when referring to the data provider elsewhere in the web.config file).
For example: sqlserver
-
namespace.class
– the fully qualified namespace which contains the DataProvider subclass.
For example: Sitecore.Data.DataProviders.SqlServerDataProvider
-
library
– the name of the application library (.dll) that contains the class. This file must be stored in the Sitecore web root /bin folder.
For example: Sitecore.Kernel
Prev Next