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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Corrected Page Load Exception  Error in UpgradeCorrected Page Load Exception Error in Upgrade
Previous
 
Next
New Post
3/16/2011 10:21 PM
 
I submitted a follow-up to this last night but it seems it did not get posted at all. Too big, perhaps. In any case, I downloaded the debug assemblies from this site - http://blogs.law.harvard.edu/brandonhaynes/2008/09/14/dotnetnuke-debugging-with-debug-build-assemblies-49-update/ and ran my site. The output is below and is indicating that ComponentFactory is not declared... I compared my 4.9.5 install and ComponentFactory was not yet used in that version. I am not certain what to make of this. Any ideas would be much appreciated.

Regards,

Mike



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: BC30451: Name 'ComponentFactory' is not declared.

Source Error:



Line 67: End If
Line 68:
Line 69: ComponentFactory.Container = New SimpleContainer()
Line 70:
Line 71: 'Install most Providers as Singleton LifeStyle


Source File: C:\ACE_COOP\App_Code\Global.asax.vb Line: 69
 
New Post
3/17/2011 3:02 PM
 
Try to change "ComponentFactory" to "DotNetNuke.ComponentModel.ComponentFactory"

Papayas DnnAutoUpgrade - automatic DotNetNuke upgrade without any problems!
www.papayasdnn.com
 
New Post
3/17/2011 10:09 PM
 
Hmm - I tried that and now I get a different 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: BC30456: 'ComponentModel' is not a member of 'DotNetNuke'.

Source Error:

Line 68: Line 69: 'ComponentFactory.Container = New SimpleContainer() Line 70: DotNetNuke.ComponentModel.ComponentFactory = New SimpleContainer() Line 71: Line 72: 'Install most Providers as Singleton LifeStyle

Source File: C:\ACE_COOP\App_Code\Global.asax.vb    Line: 70
 
New Post
3/17/2011 10:23 PM
 
Actually, I should have caught this before, but the Imports statements are already referencing the ComponentModel -- so why is the compiler complaining that it is not seeing them??

Imports System
Imports DotNetNuke.ComponentModel
Imports DotNetNuke.Common.Utilities
Imports System.Web

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Corrected Page Load Exception  Error in UpgradeCorrected Page Load Exception Error in Upgrade


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