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 ...4.3.0 BC30451: Name 4.3.0 BC30451: Name 'Config' is not declared.
Previous
 
Next
New Post
6/16/2006 7:50 AM
 

Where to start...

My apologies in advance for possibly asking a repeated question.  I have searched the forums, but the problems and their answers seem to apply only to (local) implementations.

I have uploaded 4.3.0 to my shared hosting site via ftp, made the folder an app folder, set the permissions, etc.  Modified <connectionStrings> and <appSettings> (commented out Server 2005 Express and used SQL Server 2000/2005)

Under <providers> made the changes to:  objectQualifier="web_"  databaseOwner= [[[the same as sql above]]]

Not using the SOURCE (mainly I guess because I am not sure how I compile, etc... but also because I thought the zip I used was sufficient.) but using DotNetNuke_4.3.0_Install.zip.

Now, when I went to http://www.mywebsite.com/web/... the install kicked off beautifully.  I was thrilled.... watching the progress... upgrading from ver 3.x.x to 4.30... then all of a sudden i get a message that the portal could not be installed.  resulting in the subject message above:

BC30451: Name 'Config' is not declared.

Source Error:

Line 66: 
Line 67:             Dim AutoUpgrade As Boolean
Line 68:             If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69:                 AutoUpgrade = True
Line 70:             Else

Source File: E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb    Line: 68

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Detailed Compiler Output: (sorry if this is too long, just hoping someone can understand this)

Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation.  All rights reserved.

E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared.

            If Config.GetSetting("AutoUpgrade") Is Nothing Then
               ~~~~~~                                         
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared.

                AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
                                            ~~~~~~                          
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(120) : error BC30451: Name 'LogException' is not declared.

                LogException(exc)
                ~~~~~~~~~~~~    
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(144) : error BC30002: Type 'PortalController' is not defined.

            Dim objPortalController As New PortalController
                                           ~~~~~~~~~~~~~~~~
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(148) : error BC30002: Type 'PortalInfo' is not defined.

                Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
                                     ~~~~~~~~~~                                  
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(166) : error BC30451: Name 'Scheduling' is not declared.

            Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
            ~~~~~~~~~~                                                              
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(204) : error BC30451: Name 'Scheduling' is not declared.

            If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
                                                                      ~~~~~~~~~~                               
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(205) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.

                Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                          
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(206) : error BC30451: Name 'Scheduling' is not declared.

                scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
                                           ~~~~~~~~~~                            
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(207) : error BC30451: Name 'Scheduling' is not declared.

                Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start)
                                                                ~~~~~~~~~~                                  
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(264) : error BC30002: Type 'EventQueue.EventQueueController' is not defined.

            Dim oEventController As New EventQueue.EventQueueController
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(314) : error BC30451: Name 'Scheduling' is not declared.

                If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
                                                                          ~~~~~~~~~~                              
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(317) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.

                    Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        
E:\kunden\homepages\44\d163721254\web\App_Code\Global.asax.vb(328) : error BC30451: Name 'LogException' is not declared

                LogException(exc)
                ~~~~~~~~~~~~    
-----------------------------------------------------------------------------------------------------------------------------------

Here is where my confusion resides.  There is a web.config file supplied in the .zip that I used as well as a release.config.  I looked at them both, but they looked the same.  I used the web.config file... in the install.  Later, i read to 'rename' as always, but that didn't help anything (yes, made all the same changes.)

The only 'documentation' I see is for the 4.0.3 package.  I am not sure what to do at this point.  do i have to wipe out the DB, and use a different file.  Do i need to move a file from somewhere to the root? then wipe and re-install?  I just can't seem to find a step that was missed or a specific answer to what might be wrong in a hosted environment. 

I can say, that first attempts to install 4.0.3 with the webhost, was disasterous... nothing worked.  dropped down to 3.2.2 and installed with no problems, but never had a 'pages' button to modify the pages created with small business template and would receive the error page for no apparent reason.  a refresh of the page would straighten it out.  Since I could not 'develop' the website, I tried 4.3.0 since I figured there must've been something buggy about the original version I tried.  Now, i think it's just me.

Any help would be appreciated, my guts tell me it's something simple and stupid by your all guru standards.  I apologize again for the length of this post, just hoping it will be documentation of my exact problem for those who follow with the same scenario.

Cheers to all and thanks in advance. 

 
New Post
6/16/2006 8:35 AM
 

FYI, when trying to mark all posts in this forum as 'read' I got this.

Server Error in '/' Application. from the DNN.com/site....

Maybe this isn't limited to just our misguided ways?  lol.

 
New Post
6/16/2006 9:44 AM
 
  • please post all module related questions in the approprate project forums
  • please enter issue into the public bugtracker @ support.dotnetnuke.com

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/16/2006 4:10 PM
 
leupold wrote
  • please post all module related questions in the approprate project forums
  • please enter issue into the public bugtracker @ support.dotnetnuke.com

Umm, ok Leupold.

You have to help me out here... I don't think an install problem was specific to one module here... i'm sorry if this is in the wrong place, but how do you know what module is wrong with an install?  Could you at least tell me the right place this goes?  It is under 'Install It' which is what I can NOT do.

I dropped off a copy at the 'public' side of the URL you sent. not sure if it's in the right place either.

Anyone have an idea what is wrong with the install, where I post the problem, or why I don't make a million dollars a year?

 
New Post
6/16/2006 4:36 PM
 

You most likely forgot to rename the development.config file to web.config.

That should do it.

Jeff

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.3.0 BC30451: Name 4.3.0 BC30451: Name 'Config' is not declared.


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