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.0Dataprovider is not defined.Dataprovider is not defined.
Previous
 
Next
New Post
4/2/2014 12:22 AM
 

I need help with fixing a module coded during the Seaburry times. The module is working. The last time it was compiled was around 2010. None of the code has been changed and it is due for an upgrade. It is coded in ASP.net v2 but I want to eventually have it running ASP.net v4 as soon as possible.

But before any real upgrades can be done, I need to fix a "Dataprovider is not defined." error. When I first coded the module all references were done. Apparently that isn't the case, based on a few web searches. It seems my reference aren't correct. Someone please point me in the right direction. I don't know where to start.

Thanks.


Thuan
 
New Post
4/2/2014 1:17 PM
 
this can happen if the project is not setup correctly e.g. if it is not part of the application so it cannot read the web.config settings to work out what the dataprovider details are (see http://www.chrishammond.com/blog/item... for an example of correctly setting up a project within the website)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Dataprovider is not defined.Dataprovider is not defined.


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out