Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DotNetNuke.Data.DataProvider Error DotNetNuke.Data.DataProvider Error 'Codeundrum.'
Previous
 
Next
New Post
2/27/2009 1:06 PM
 

I used the Module Template to built the foundation for a module in VS2008.  I'm running the most up-to-date DNN 4.*.  When I run the .zip to install it, it seems to install successfully...  But when I open the module I get a DataProvider error.  Originally, the error read:

is not a member of 'DataProvider.Instance()'.

I read some forum stuff and saw this post by Mr. Washington

>>>
'ExecuteSQL' is not a member of ...

Answer:

Use DotNetNuke.Data.DataProvider.Instance().ExecuteSQL...
<<

I changed the calls in my .vb files... and the error changed to the new call.  So:

is not a member of 'DotNetNuke.Data.DataProvider'.

Looked up some more info, more forum stuff, and found this post:

>>>
'ExecuteNonQuery' is not a member of 'DotNetNuke.Data.DataProvider'.

I had this error today. the module wizard creates some extra files you do not need for this tutorial. in desktopmodules / things to buy folder

just delete sqldataproviders.vb and dataproviders.vb
<<<

Deleted files... Still getting the error message.  This seems to be a problem that is not entirely rare, and would certainly appreciate any help in resolving it...

 
New Post
3/20/2009 8:34 PM
Accepted Answer 

I had this issue and soled it in the folowing way.  Essentiall the decleration in the installationwizard file is a bit ambiguous.  You need to change

 

#Region "Private Members"

        Private connectionString As String = Null.NullString
        Private dataProvider As DataProvider = dataProvider.Instance

To

#Region "Private Members"

        Private connectionString As String = Null.NullString
        Private dataProvider As DotNetNuke.Data.DataProvider = dataProvider.Instance

 
New Post
3/27/2009 12:11 PM
 

Ah... I suppose that makes good sense.  Thanks for the reply.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DotNetNuke.Data.DataProvider Error DotNetNuke.Data.DataProvider Error 'Codeundrum.'


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out