Enterprise library ver 2.0 : extending data access application block

hi,

we had written Provider for XMLDB in data access application block.The configuration file we had used is as follows

<configuration>
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
</configSections>
<dataConfiguration defaultDatabase="Connection String">
<providerMappings>
<add databaseType="Microsoft.Practices.EnterpriseLibrary.XmlDb.XmlDbDatabase, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"
name="XmlDb" />
</providerMappings>
</dataConfiguration>
<connectionStrings>
<add name="Connection String" connectionString="path=D:\MLR\24Nov\DM Client\bin\Data\remotecapture.dat;"
providerName="XmlDb" />
</connectionStrings>
</configuration>

I had written two cs files

1)xmldatabase.cs

2)xmldatabaseassembler

In that i had used namespace as

Microsoft.Practices.EnterpriseLibrary.Data.XmlDb

while trying to run the application i got the error in the dataconfiguration

The value of the property 'databaseType' cannot be parsed.
The error is: The type 'Microsoft.Practices.EnterpriseLibrary.Data.XmlDb,
Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' cannot be resolved.
Please verify the spelling is correct or that the full type name is provided.
(D:\MLReturns\ndm24Nov\NDM Client\bin\dataconfiguration.config line 8)

what could be problem? Need help.

Js_kumar

[2415 byte] By [js_kumar] at [2007-12-27]

.NET Development

Site Classified