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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsUpgrading to 5.0 errorUpgrading to 5.0 error
Previous
 
Next
New Post
2/9/2008 9:08 PM
 

 

 

While I know how to fix it..  why did it happen?  Shouldn't the upgrade delete any dll files not needed from the bin folder? 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30560: 'DataProvider' is ambiguous in the namespace 'DotNetNuke.Modules.Reports.Data'.

Source Error:

 

Line 38: Line 39: ' singleton reference to the instantiated object Line 40: Private Shared objProvider As DataProvider = Nothing Line 41: Line 42: ' constructor

 
New Post
2/11/2008 1:56 AM
 

Well, it wouldn't be caused by failing to remove DLLs since 5.0 is the first version to use DLLs. Check to see if there's anything in the App_Code/Reports folder (if the folder is empty or doesn't exist, there shouldn't be a problem). The installer is supposed to remove all the files within that folder (though the folder itself can't be removed because it is referenced in web.config).

Unfortunately, the upgrade process from an App_Code-based module to a WAP-based module has a few quirks but it should be worth it in the end .


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
2/14/2008 2:52 PM
 

WHAT?

Oh wow, so I deleted the dll to fix it and I guess it is running on old code now.   How would I know what should or should not be removed?   There were no errors during install.

Actually, if you take a 4.8 install, install the Reports that come with it.    Upgrade to 5.0 you can probably reproduce the error every time.   I did on two installs.

 
New Post
2/14/2008 7:47 PM
 

The fact that there are no errors during install is strange, since the Core installer is supposed to be removing the App_Code files for you during that process.

My testing was done in 4.7 (the most recent Core version at the time), and I did check all the upgrade paths there, but it's possible a change in 4.8 caused a bug. I'm setting up a 4.8 test platform anyway, so I'll run some tests to see if I can reproduce the issue as you described.

You should be able to fix this issue right away by restoring the 5.0 DLLs you deleted (assuming you made a quick backup first, otherwise you can just take the DLLs from one of the download packages) and following the instructions in DesktopModules/Reports/AppCodeCleanup.txt to remove the App_Code folder. I would recommend moving the folder, rather than deleting it, just in case that doesn't fix the issue. If it works, then you should be able to delete it.

Hope that fixes things, if not, let me know and I'll do my best to help!


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsUpgrading to 5.0 errorUpgrading to 5.0 error


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