Hi Friends,
I have created a Small Project For
DataProvider and SqlDataProvider in DNN
Solution which should help for my Modules
----The Structure for DataProvider------
Project Name: UsersMigration
Assembly Name: DotNetNuke.UsersMigration
NameSpace : DotNetNuke.UsersMigration.Data
----The Structure for SqlDataProvider------
Project Name: UsersMigration.SqlDataProvider
Assembly Name: DotNetNuke.UsersMigration.SqlDataProvider
NameSpace : DotNetNuke.UsersMigration.Data
And I have a UserMigrationController.vb file is present under Project Name UsersMigration, this file has a method -à Validateme(userid, password)
Well when the code come to
' dynamically create provider
Private Shared Sub CreateProvider()
objProvider = CType(Framework.Reflection.CreateObject("data", "DotNetNuke.UsersMigration.Data", "DotNetNuke.UsersMigration"), DataProvider)
End Sub
Then I am Getting a exception:
'DotNetNuke.UsersMigration.Data.DataProvider'