Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  Upgrading to 5.0 error
Previous Previous
 
Next Next
New Post 2/9/2008 5:08 PM
User is offline brian
535 posts
8th Ranked


Upgrading to 5.0 error 

 

 

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/10/2008 9:56 PM
User is offline Andrew Nurse
353 posts
8th Ranked






Re: Upgrading to 5.0 error 

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 10:52 AM
User is offline brian
535 posts
8th Ranked


Re: Upgrading to 5.0 error 

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 3:47 PM
User is offline Andrew Nurse
353 posts
8th Ranked






Re: Upgrading to 5.0 error 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  Upgrading to 5.0 error
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP