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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Fix:  Fix: 'Instance' is not a member of 'DataProvider'.
Previous
 
Next
New Post
2/9/2010 10:57 PM
 

 Anyone receiving the error  'Instance' is not a member of 'DataProvider'.  when doing a DNN upgrade to 5.x you can resolve the problem by update the reference in the Install\Install.vb file. The problem is a reference conflict with another module installed on your site using the same class named DataProvider.

Find: DataProvider.Instance()

Replace With: DotNetNuke.Data.DataProvider.Instance()

Do a FIND/REPLACE on all instances found in the Install.VB file

 

 


Sr. Software Engineer
 
New Post
2/9/2010 11:43 PM
 

Out of interest, what was the other module - was it a 3rd party module or written inhouse? Also, if you can log this at support.dotnetnuke.com , we can look to make the change in a future release (even though 3rd party modules really should be correctly namespaced)

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/10/2010 12:20 AM
 

 It was a 3rd party module that was installed. Specifically EIngTech.NewsTicker.

I will log it into the support site as you mention so that these 3rd party modules can't interrupt the core upgrades.


Sr. Software Engineer
 
New Post
2/10/2010 6:53 AM
 

thanks, ill make the fix for 5.2.3. Out of interest can you please check your web.config and let me know if you have the following line under your namespaces node.

<

add namespace="DotNetNuke.Data" />

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/10/2010 9:06 AM
 
Yes, it does have that namespace entry

Sr. Software Engineer
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Fix:  Fix: 'Instance' is not a member of 'DataProvider'.


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