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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Compilation Error when compiling DNN 4.8.2 source packageCompilation Error when compiling DNN 4.8.2 source package
Previous
 
Next
New Post
5/30/2008 2:54 AM
 

I have dowloaded the DNN 4.8.2 source package. When I open it in VS 2005 I get a compilation error when I try to run or compile the web site. I have tested this on two computers with the same results.

 

The error output:

Server Error in '/DotNetNuke_Maintenance' 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 'Config' is not declared.

Source Error:

 
Line 65:         ''' -----------------------------------------------------------------------------
Line 66: Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Line 67: If Config.GetSetting("ServerName") = "" Then
Line 68: ServerName = Server.MachineName
Line 69: Else

Source File: C:\Documents and Settings\Lars Tungen\My Documents\Privat\DotNetNuke\Kildekode\Website\App_Code\Global.asax.vb    Line: 67



C:\WINDOWS\system32> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\8e362e03\0050120e_dbbcc801\DotNetNuke.FckHtmlEditorProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\fa65fa25\3c62a795_20c2c801\DotNetNuke.Search.Index.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\7486cb2e\b856fe91_20c2c801\DotNetNuke.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\14f8cc10\ec975c96_20c2c801\DotNetNuke.XMLLoggingProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\c7706a8d\28fc2096_20c2c801\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\b2f95ca8\2895b996_20c2c801\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\5e48e53e\00977b96_20c2c801\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\ce843420\5067d08f_20c2c801\DotNetNuke.WebUtility.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\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\02d01199\74040a95_20c2c801\DotNetNuke.SqlDataProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\8e442d91\64c74c95_20c2c801\DotNetNuke.Provider.DNNProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\af3b85a4\00ba3648_2d84c801\DotNetNuke.Services.Syndication.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.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\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\cf686cfa\0050120e_dbbcc801\System.Web.Extensions.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\6f45d199\d8983d96_20c2c801\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\71a4c585\ec652b95_20c2c801\DotNetNuke.HttpModules.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\App_GlobalResources.ghoiqyvd.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\fdc52ec8\301c8294_20c2c801\DotNetNuke.Membership.Dataprovider.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\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\9cbf9962\8cc58a95_20c2c801\DotNetNuke.Search.DataStore.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\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\7eff7ce3\0050120e_dbbcc801\Microsoft.ApplicationBlocks.Data.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\a1b945e9\0050120e_dbbcc801\DotNetNuke.WebControls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\0031ce7a\00ba3648_2d84c801\CountryListBox.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\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\4b6f72e6\0050120e_dbbcc801\SharpZipLib.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\14286cbf\14969a96_20c2c801\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\0a34c12d\785f0496_20c2c801\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\ed3e16ae\3c94d896_20c2c801\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\8c2057e2\6460e595_20c2c801\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\3986d1b8\0050120e_dbbcc801\SolpartWebControls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\44bfe8b2\78c66b95_20c2c801\DotNetNuke.Provider.AspNetProvider.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\assembly\dl3\d902b321\5061c695_20c2c801\DotNetNuke.DNNScheduler.DLL" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\App_Code.pbazdmym.dll" /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  "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\App_Code.pbazdmym.0.vb" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\App_Code.pbazdmym.1.vb" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_maintenance\baabb0ac\6a91d9ac\App_Code.pbazdmym.2.vb"


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

C:\Documents and Settings\Lars Tungen\My Documents\Privat\DotNetNuke\Kildekode\Website\App_Code\Global.asax.vb(67) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("ServerName") = "" Then
~~~~~~
C:\Documents and Settings\Lars Tungen\My Documents\Privat\DotNetNuke\Kildekode\Website\App_Code\Global.asax.vb(70) : error BC30451: Name 'Config' is not declared.

ServerName = Config.GetSetting("ServerName")
~~~~~~

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Compilation Error when compiling DNN 4.8.2 source packageCompilation Error when compiling DNN 4.8.2 source package


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