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 to 4.8 upgrade "Name 4.3 to 4.8 upgrade "Name 'Initialize' is not declared" error
Previous
 
Next
New Post
1/15/2008 5:27 PM
 
Am seeing this error after upgrading. I know it's due to namespace issue, but how to fix?  Am trying to upgrade from 4.03 to 4.08. Thanks, Pat.

 

 

Server Error in '/' Application.

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 'Initialize' is not declared.

Source Error:

 

Line 87: 
Line 88:             ' stop scheduled jobs
Line 89:             Initialize.StopScheduler()

Line 90: 
Line 91:             ' log APPLICATION_END event

Source File: e:\websites\apexaccounts\gtsfreight\gtsfreight.com.au\www\App_Code\Global.asax.vb    Line: 89






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

 
New Post
1/26/2008 12:14 PM
 

I have the same error going from 4.7 to 4.8

Need a fix. Only happens on my production hosted environment so far. Localhost works.

c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\342d4a5b\1829bcc5_3360c801\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\5281329e\4a4b3fc6_3360c801\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\b5ab65b2\78b749c5_3360c801\DotNetNuke.HttpModules.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\6365a4ba\0aac95c0_3360c801\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\3696047c\04e4b8c6_3360c801\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\61c4ed5d\7c87e9cd_3360c801\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\1365a172\fea352c3_3360c801\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\1d59f2af\d6a6dfc8_3360c801\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\c08b6b01\d431fcc0_3360c801\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\1c151215\2ccc21c7_3360c801\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\85b0e906\b120c561_0f5ec801\AF.DNN.Modules.MLHTMLEditor.SqlDataProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\App_SubCode_HTML.cokhm28e.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\1837c35e\1400d7c7_3360c801\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\535288d6\84612ac0_3360c801\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\48531045\b827c2c9_3360c801\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\f064aa5e\d7ad7161_0f5ec801\AF.DNN.Modules.MLHTMLEditor.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\0b0d5e6f\e8bf57c8_3360c801\DotNetNuke.Services.Syndication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\addd9ab5\262e59c1_3360c801\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\5a481467\ea00edc1_3360c801\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\bf95d22f\980490c1_3360c801\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\072b622c\8d515472_0f5ec801\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\d6348afc\14492fd0_3360c801\SolpartWebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\3cff424d\fcc01fcc_3360c801\DotNetNuke.XMLLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\151f85e8\8663a1cb_3360c801\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\ca979b84\2c105dc2_3360c801\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\78993444\14bc9bcc_3360c801\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\4298b54d\f6de1bcb_3360c801\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\232ea2aa\0a0af8c2_3360c801\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\7617e1ee\bd181b72_0f5ec801\DotNetNuke.Modules.Links.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\a18aac4f\2234a5c4_3360c801\DotNetNuke.FckHtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\assembly\dl3\3c7fbceb\f65188c7_3360c801\DotNetNuke.Search.DataStore.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\App_Code.nelu2_lm.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.ComponentModel,System.Data,System.Data.SqlClient,System.Drawing,Microsoft.VisualBasic,System.Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\App_Code.nelu2_lm.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\App_Code.nelu2_lm.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5965f653\9d1b310b\App_Code.nelu2_lm.2.vb"


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

D:\Home\sahara\public_html\App_Code\Global.asax.vb(89) : error BC30451: Name 'Initialize' is not declared.

            Initialize.StopScheduler()
            ~~~~~~~~~~               
D:\Home\sahara\public_html\App_Code\Global.asax.vb(92) : error BC30451: Name 'Initialize' is not declared.

            Initialize.LogEnd()
            ~~~~~~~~~~        
D:\Home\sahara\public_html\App_Code\Global.asax.vb(103) : error BC30451: Name 'Initialize' is not declared.

            Initialize.RunSchedule(Request)
            ~~~~~~~~~~                    

 
New Post
5/4/2008 12:50 AM
 

I have the same problem when I upgrade from 4.55 to 4.82. How do you solve the problem? Please help me. Thanks.

 
New Post
8/8/2008 3:38 PM
 

I am receiving the same issue when building the 4.8.4 Source code in Visual Studio .NET 2005. I did overlay updated website files on the local system, but the localhost is not working. Any ideas?

Thanks
brad81

 
New Post
3/5/2009 2:27 PM
 

All,

I received this error when a module I was compiling overwrote the copy of DotNetNuke.dll in the application's bin directory to the wrong version (it was referencing 4.4 and had copy local set to true). Once I remedied that and made sure the assembly was the right version the issue was resolved.

Here is an old post by my ever-knowledgeable co-worker, Brian, that covers the topic: http://weblogs.asp.net/briandukes/archive/2008/02/20/dotnetnuke-site-compile-error-quot-bc30451-name-initialize-is-not-declared-quot.aspx

Take care,

Ian

 


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.3 to 4.8 upgrade "Name 4.3 to 4.8 upgrade "Name 'Initialize' is not declared" 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