|
|
|
Joined: 11/7/2006
Posts: 3
|
|
|
I am first time installing DOTNETNUKE 4.3.6 . I followed all instructions as said in the manual to install the software . But when I first gave the URL in Internet Explorer http://localhost/dotnetnuke . I get the following error . I request if any one can help me .
Server Error in '/dotnetnuke' 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 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:\dotnetnuke436\App_Code\Global.asax.vb Line: 68
Show Detailed Compiler Output:
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\1bfc15e8\8953e702\assembly\dl3\abcbe481\000d7540_ee08c701\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\bc289b00\00ed5f01_9df6c601\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\537d9d7e\002f3b26_ee08c701\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\4f89b3fe\0078ba35_ee08c701\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\4f0fea96\002c7f3a_ee08c701\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\ec952593\008e906c_ee08c701\DotNetNuke.HttpModules.DNNMembership.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\74d7c1bb\00b3123e_ee08c701\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\79c0fb1e\00d5d823_ee08c701\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2974dead\00fc914d_ee08c701\DotNetNuke.XMLLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\0b0ee88b\0056f44f_ee08c701\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\1a0cb519\00d21c38_ee08c701\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\assembly\GAC\VSLangProj\7.0.3300.0__b03f5f7f11d50a3a\VSLangProj.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\7100aff8\00b6ce29_ee08c701\DotNetNuke.Authentication.ADSI.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.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\1bfc15e8\8953e702\assembly\dl3\84fb0367\006a932e_ee08c701\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.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\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\e8ae4210\0018e05b_ee08c701\DotNetNuke.Caching.BroadcastPollingCachingProvider.SQLDataProvider.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\1bfc15e8\8953e702\assembly\dl3\de30832c\001e5833_ee08c701\DotNetNuke.Authentication.ADSIProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\dfc64ad1\0007fd68_ee08c701\DotNetNuke.HttpModules.Exception.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\eedf6338\004e4520_ee08c701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\83b97b9e\00f9d561_ee08c701\DotNetNuke.HttpModules.UsersOnline.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\CRVsPackageLib\10.2.3600.0__692fbea5521e1304\CRVsPackageLib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\61924cae\00be7d59_ee08c701\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_GlobalResources.sxqyjebz.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\59aa0daf\007b7621_ee08c701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2cef9287\0067d742_ee08c701\DotNetNuke.SolpartMenuNavigationProvider.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\1bfc15e8\8953e702\assembly\dl3\360bb196\00b05652_ee08c701\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportSource\10.2.3600.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\6a53410e\00c13945_ee08c701\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2ede8720\00a12406_9df6c601\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\a17f5470\00533864_ee08c701\DotNetNuke.HttpModules.UrlRewrite.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.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\1bfc15e8\8953e702\assembly\dl3\ac233eda\00152470_ee08c701\DotNetNuke.Provider.Membership.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\b510ee2f\0047c203_9df6c601\FreeTextBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\c4074fb8\001b9c47_ee08c701\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.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\1bfc15e8\8953e702\assembly\dl3\58504345\0010312c_ee08c701\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\6ca5fd6d\001a9102_9df6c601\SolpartWebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\IEHost\2.0.0.0__b03f5f7f11d50a3a\IEHost.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\d837c43a\00641b57_ee08c701\DotNetNuke.SqlDataProvider.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\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\7124ed3e\00ad9a66_ee08c701\DotNetNuke.HttpModules.Personalization.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Shared\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Shared.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\bbc3b6f9\0075fe49_ee08c701\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\53976f02\000ab954_ee08c701\DotNetNuke.Ftb3HtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\9bfd8f12\00a12406_9df6c601\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2987a8cf\0072425e_ee08c701\DotNetNuke.HttpModules.Authentication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\29d82929\00c4f530_ee08c701\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.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 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.2.vb"
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:\dotnetnuke436\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared.
If Config.GetSetting("AutoUpgrade") Is Nothing Then
~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared.
AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(120) : error BC30451: Name 'LogException' is not declared.
LogException(exc)
~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(144) : error BC30002: Type 'PortalController' is not defined.
Dim objPortalController As New PortalController
~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(148) : error BC30002: Type 'PortalInfo' is not defined.
Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(166) : error BC30451: Name 'Scheduling' is not declared.
Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(204) : error BC30451: Name 'Scheduling' is not declared.
If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(205) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.
Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(206) : error BC30451: Name 'Scheduling' is not declared.
scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
~~~~~~~~~~
E:\dotnetnuke436\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:\dotnetnuke436\App_Code\Global.asax.vb(264) : error BC30002: Type 'EventQueue.EventQueueController' is not defined.
Dim oEventController As New EventQueue.EventQueueController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(314) : error BC30451: Name 'Scheduling' is not declared.
If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(317) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.
Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(328) : error BC30451: Name 'LogException' is not declared.
LogException(exc)
~~~~~~~~~~~~
|
Show Complete Compilation Source:
Line 1: '
Line 2: ' DotNetNuke® - http://www.dotnetnuke.com
Line 3: ' Copyright (c) 2002-2006
Line 4: ' by DotNetNuke Corporation
Line 5: '
Line 6: ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
Line 7: ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation
Line 8: ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
Line 9: ' to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Line 10: '
Line 11: ' The above copyright notice and this permission notice shall be included in all copies or substantial portions
Line 12: ' of the Software.
Line 13: '
Line 14: ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
Line 15: ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
Line 16: ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
Line 17: ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Line 18: ' DEALINGS IN THE SOFTWARE.
Line 19: '
Line 20: Imports System.Security
Line 21: Imports System.Security.Principal
Line 22: Imports System.Threading
Line 23: Imports System.Web.Security
Line 24: Imports System.IO
Line 25:
Line 26: Imports DotNetNuke.Security.Roles
Line 27: Imports DotNetNuke.Services.Log.EventLog
Line 28: Imports DotNetNuke.Services.Upgrade
Line 29:
Line 30:
Line 31: Namespace DotNetNuke.Common
Line 32:
Line 33: ''' -----------------------------------------------------------------------------
Line 34: ''' Project : DotNetNuke
Line 35: ''' Class : Global
Line 36: '''
Line 37: ''' -----------------------------------------------------------------------------
Line 38: ''' <summary>
Line 39: '''
Line 40: ''' </summary>
Line 41: ''' <remarks>
Line 42: ''' </remarks>
Line 43: ''' <history>
Line 44: ''' [sun1] 1/18/2004 Created
Line 45: ''' </history>
Line 46: ''' -----------------------------------------------------------------------------
Line 47: Public Class [Global]
Line 48: Inherits System.Web.HttpApplication
Line 49:
Line 50: #Region "Private Methods"
Line 51:
Line 52: ''' -----------------------------------------------------------------------------
Line 53: ''' <summary>
Line 54: ''' CheckVersion determines whether the App is synchronized with the DB
Line 55: ''' </summary>
Line 56: ''' <remarks>
Line 57: ''' </remarks>
Line 58: ''' <history>
Line 59: ''' [cnurse] 2/17/2005 created
Line 60: ''' </history>
Line 61: ''' -----------------------------------------------------------------------------
Line 62: Private Sub CheckVersion()
Line 63: Dim Server As HttpServerUtility = HttpContext.Current.Server
Line 64: Dim Request As HttpRequest = HttpContext.Current.Request
Line 65: Dim Response As HttpResponse = HttpContext.Current.Response
Line 66:
Line 67: Dim AutoUpgrade As Boolean
Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69: AutoUpgrade = True
Line 70: Else
Line 71: AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
Line 72: End If
Line 73:
Line 74: 'Determine the Upgrade status and redirect to Install.aspx
Line 75: Select Case GetUpgradeStatus()
Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77: If AutoUpgrade Then
Line 78: Response.Redirect("~/Install/Install.aspx?mode=Install")
Line 79: Else
Line 80: CreateUnderConstructionPage()
Line 81: Response.Redirect("~/Install/UnderConstruction.htm")
Line 82: End If
Line 83: Case Globals.UpgradeStatus.Error
Line 84: If AutoUpgrade Then
Line 85: Response.Redirect("~/Install/Install.aspx?mode=none")
Line 86: Else
Line 87: CreateUnderConstructionPage()
Line 88: Response.Redirect("~/Install/UnderConstruction.htm")
Line 89: End If
Line 90: End Select
Line 91: End Sub
Line 92:
Line 93: Private Sub CreateUnderConstructionPage()
Line 94: ' create an UnderConstruction page if it does not exist already
Line 95: If Not File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Then
Line 96: If File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm")) Then
Line 97: File.Copy(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm"), System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm"))
Line 98: End If
Line 99: End If
Line 100: End Sub
Line 101:
Line 102: ''' -----------------------------------------------------------------------------
Line 103: ''' <summary>
Line 104: ''' LogEnd logs the Application Start Event
Line 105: ''' </summary>
Line 106: ''' <remarks>
Line 107: ''' </remarks>
Line 108: ''' <history>
Line 109: ''' [cnurse] 1/28/2005 Moved back to App_End from Logging Module
Line 110: ''' </history>
Line 111: ''' -----------------------------------------------------------------------------
Line 112: Private Sub LogEnd()
Line 113: Try
Line 114: Dim objEv As New EventLogController
Line 115: Dim objEventLogInfo As New LogInfo
Line 116: objEventLogInfo.BypassBuffering = True
Line 117: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString
Line 118: objEv.AddLog(objEventLogInfo)
Line 119: Catch exc As Exception
Line 120: LogException(exc)
Line 121: End Try
Line 122:
Line 123: ' purge log buffer
Line 124: LoggingProvider.Instance.PurgeLogBuffer()
Line 125: End Sub
Line 126:
Line 127: ''' -----------------------------------------------------------------------------
Line 128: ''' <summary>
Line 129: ''' CacheMappedDirectory caches the Portal Mapped Directory(s)
Line 130: ''' </summary>
Line 131: ''' <remarks>
Line 132: ''' </remarks>
Line 133: ''' <history>
Line 134: ''' [cnurse] 1/27/2005 Moved back to App_Start from Caching Module
Line 135: ''' </history>
Line 136: ''' -----------------------------------------------------------------------------
Line 137: Private Sub CacheMappedDirectory()
Line 138: 'Cache the mapped physical home directory for each portal
Line 139: 'so the mapped directories are available outside
Line 140: 'of httpcontext. This is especially necessary
Line 141: 'when the /Portals or portal home directory has been
Line 142: 'mapped in IIS to another directory or server.
Line 143: Dim objFolderController As New Services.FileSystem.FolderController
Line 144: Dim objPortalController As New PortalController
Line 145: Dim arrPortals As ArrayList = objPortalController.GetPortals()
Line 146: Dim i As Integer
Line 147: For i = 0 To arrPortals.Count - 1
Line 148: Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
Line 149: objFolderController.SetMappedDirectory(objPortalInfo, HttpContext.Current)
Line 150: Next
Line 151:
Line 152: End Sub
Line 153:
Line 154: ''' -----------------------------------------------------------------------------
Line 155: ''' <summary>
Line 156: ''' StopScheduler stops the Scheduler
Line 157: ''' </summary>
Line 158: ''' <remarks>
Line 159: ''' </remarks>
Line 160: ''' <history>
Line 161: ''' [cnurse] 1/28/2005 Moved back to App_End from Scheduling Module
Line 162: ''' </history>
Line 163: ''' -----------------------------------------------------------------------------
Line 164: Private Sub StopScheduler()
Line 165: ' stop scheduled jobs
Line 166: Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
Line 167: End Sub
Line 168:
Line 169: #End Region
Line 170:
Line 171: #Region "Public Methods"
Line 172:
Line 173: ''' -----------------------------------------------------------------------------
Line 174: ''' <summary>
Line 175: ''' LogStart logs the Application Start Event
Line 176: ''' </summary>
Line 177: ''' <remarks>
Line 178: ''' </remarks>
Line 179: ''' <history>
Line 180: ''' [cnurse] 1/27/2005 Moved back to App_Start from Logging Module
Line 181: ''' </history>
Line 182: ''' -----------------------------------------------------------------------------
Line 183: Public Shared Sub LogStart()
Line 184: Dim objEv As New EventLogController
Line 185: Dim objEventLogInfo As New LogInfo
Line 186: objEventLogInfo.BypassBuffering = True
Line 187: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_START.ToString
Line 188: objEv.AddLog(objEventLogInfo)
Line 189:
Line 190: End Sub
Line 191:
Line 192: ''' -----------------------------------------------------------------------------
Line 193: ''' <summary>
Line 194: ''' StartScheduler starts the Scheduler
Line 195: ''' </summary>
Line 196: ''' <remarks>
Line 197: ''' </remarks>
Line 198: ''' <history>
Line 199: ''' [cnurse] 1/27/2005 Moved back to App_Start from Scheduling Module
Line 200: ''' </history>
Line 201: ''' -----------------------------------------------------------------------------
Line 202: Public Shared Sub StartScheduler()
Line 203: ' instantiate APPLICATION_START scheduled jobs
Line 204: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
Line 205: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
Line 206: scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
Line 207: Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start)
Line 208: newThread.IsBackground = True
Line 209: newThread.Start()
Line 210: End If
Line 211: End Sub
Line 212:
Line 213: #End Region
Line 214:
Line 215: #Region "Application Event Handlers"
Line 216:
Line 217: ''' -----------------------------------------------------------------------------
Line 218: ''' <summary>
Line 219: ''' Application_Start
Line 220: ''' Executes on the first web request into the portal application,
Line 221: ''' when a new DLL is deployed, or when web.config is modified.
Line 222: ''' </summary>
Line 223: ''' <param name="Sender"></param>
Line 224: ''' <param name="E"></param>
Line 225: ''' <remarks>
Line 226: ''' - global variable initialization
Line 227: ''' </remarks>
Line 228: ''' <history>
Line 229: ''' </history>
Line 230: ''' -----------------------------------------------------------------------------
Line 231: Private Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs)
Line 232:
Line 233: Dim Server As HttpServerUtility = HttpContext.Current.Server
Line 234:
Line 235: 'global variable initialization
Line 236: ServerName = Server.MachineName
Line 237:
Line 238: If HttpContext.Current.Request.ApplicationPath = "/" Then
Line 239: ApplicationPath = ""
Line 240: Else
Line 241: ApplicationPath = HttpContext.Current.Request.ApplicationPath
Line 242: End If
Line 243: ApplicationMapPath = System.AppDomain.CurrentDomain.BaseDirectory.Substring(0, System.AppDomain.CurrentDomain.BaseDirectory.Length - 1)
Line 244: ApplicationMapPath = ApplicationMapPath.Replace("/", "\")
Line 245:
Line 246: HostPath = ApplicationPath & "/Portals/_default/"
Line 247: HostMapPath = Server.MapPath(HostPath)
Line 248:
Line 249: AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll"
Line 250:
Line 251: 'Check whether the current App Version is the same as the DB Version
Line 252: CheckVersion()
Line 253:
Line 254: 'Cache Mapped Directory(s)
Line 255: CacheMappedDirectory()
Line 256:
Line 257: 'log APPLICATION_START event
Line 258: LogStart()
Line 259:
Line 260: 'Start Scheduler
Line 261: StartScheduler()
Line 262:
Line 263: 'Process any messages in the EventQueue for the Application_Start event
Line 264: Dim oEventController As New EventQueue.EventQueueController
Line 265: oEventController.ProcessMessages("Application_Start")
Line 266:
Line 267:
Line 268: End Sub
Line 269:
Line 270: ''' -----------------------------------------------------------------------------
Line 271: ''' <summary>
Line 272: ''' Application_End
Line 273: ''' Executes when the Application times out
Line 274: ''' </summary>
Line 275: ''' <param name="Sender"></param>
Line 276: ''' <param name="E"></param>
Line 277: ''' <remarks>
Line 278: ''' </remarks>
Line 279: ''' <history>
Line 280: ''' </history>
Line 281: ''' -----------------------------------------------------------------------------
Line 282: Private Sub Application_End(ByVal Sender As Object, ByVal E As EventArgs)
Line 283:
Line 284: ' log APPLICATION_END event
Line 285: LogEnd()
Line 286:
Line 287: ' stop scheduled jobs
Line 288: StopScheduler()
Line 289:
Line 290: End Sub
Line 291:
Line 292:
Line 293: ''' -----------------------------------------------------------------------------
Line 294: ''' <summary>
Line 295: ''' Application_BeginRequest
Line 296: ''' Executes when the request is initiated
Line 297: ''' </summary>
Line 298: ''' <param name="Sender"></param>
Line 299: ''' <param name="E"></param>
Line 300: ''' <remarks>
Line 301: ''' </remarks>
Line 302: ''' <history>
Line 303: ''' </history>
Line 304: ''' -----------------------------------------------------------------------------
Line 305: Private Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Line 306:
Line 307: 'First check if we are upgrading/installing
Line 308: If Request.Url.LocalPath.EndsWith("Install.aspx") Then
Line 309: Exit Sub
Line 310: End If
Line 311:
Line 312: Try
Line 313:
Line 314: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
Line 315: AndAlso Services.Scheduling.SchedulingProvider.ReadyForPoll Then
Line 316:
Line 317: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
Line 318: Dim RequestScheduleThread As Threading.Thread
Line 319: RequestScheduleThread = New Threading.Thread(AddressOf scheduler.ExecuteTasks)
Line 320: RequestScheduleThread.IsBackground = True
Line 321: RequestScheduleThread.Start()
Line 322:
Line 323: Services.Scheduling.SchedulingProvider.ScheduleLastPolled = Now
Line 324:
Line 325: End If
Line 326:
Line 327: Catch exc As Exception
Line 328: LogException(exc)
Line 329: End Try
Line 330:
Line 331: End Sub
Line 332:
Line 333: #End Region
Line 334:
Line 335: End Class
Line 336:
Line 337: End Namespace
Line 338:
|
|
|
|
|
| |
|
|
|
It would be preferable to enclose the error message
|
|
|
|
| |
|
|
Joined: 11/7/2006
Posts: 3
|
|
|
pabanas wrote
I am first time installing DOTNETNUKE 4.3.6 . I followed all instructions as said in the manual to install the software . But when I first gave the URL in Internet Explorer http://localhost/dotnetnuke . I get the following error . I request if any one can help me .PLease kindly find the error message below
Server Error in '/dotnetnuke' 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 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:\dotnetnuke436\App_Code\Global.asax.vb Line: 68
Show Detailed Compiler Output:
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\1bfc15e8\8953e702\assembly\dl3\abcbe481\000d7540_ee08c701\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\bc289b00\00ed5f01_9df6c601\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\537d9d7e\002f3b26_ee08c701\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\4f89b3fe\0078ba35_ee08c701\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\4f0fea96\002c7f3a_ee08c701\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\ec952593\008e906c_ee08c701\DotNetNuke.HttpModules.DNNMembership.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\74d7c1bb\00b3123e_ee08c701\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\79c0fb1e\00d5d823_ee08c701\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2974dead\00fc914d_ee08c701\DotNetNuke.XMLLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\0b0ee88b\0056f44f_ee08c701\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\1a0cb519\00d21c38_ee08c701\DotNetNuke.Search.DataStore.DLL" /R:"C:\WINDOWS\assembly\GAC\VSLangProj\7.0.3300.0__b03f5f7f11d50a3a\VSLangProj.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\7100aff8\00b6ce29_ee08c701\DotNetNuke.Authentication.ADSI.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.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\1bfc15e8\8953e702\assembly\dl3\84fb0367\006a932e_ee08c701\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.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\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\e8ae4210\0018e05b_ee08c701\DotNetNuke.Caching.BroadcastPollingCachingProvider.SQLDataProvider.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\1bfc15e8\8953e702\assembly\dl3\de30832c\001e5833_ee08c701\DotNetNuke.Authentication.ADSIProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\dfc64ad1\0007fd68_ee08c701\DotNetNuke.HttpModules.Exception.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\eedf6338\004e4520_ee08c701\CountryListBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\83b97b9e\00f9d561_ee08c701\DotNetNuke.HttpModules.UsersOnline.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\CRVsPackageLib\10.2.3600.0__692fbea5521e1304\CRVsPackageLib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\61924cae\00be7d59_ee08c701\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_GlobalResources.sxqyjebz.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\59aa0daf\007b7621_ee08c701\DotNetNuke.WebUtility.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2cef9287\0067d742_ee08c701\DotNetNuke.SolpartMenuNavigationProvider.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\1bfc15e8\8953e702\assembly\dl3\360bb196\00b05652_ee08c701\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportSource\10.2.3600.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\6a53410e\00c13945_ee08c701\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2ede8720\00a12406_9df6c601\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\a17f5470\00533864_ee08c701\DotNetNuke.HttpModules.UrlRewrite.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.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\1bfc15e8\8953e702\assembly\dl3\ac233eda\00152470_ee08c701\DotNetNuke.Provider.Membership.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\b510ee2f\0047c203_9df6c601\FreeTextBox.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\c4074fb8\001b9c47_ee08c701\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.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\1bfc15e8\8953e702\assembly\dl3\58504345\0010312c_ee08c701\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\6ca5fd6d\001a9102_9df6c601\SolpartWebControls.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\IEHost\2.0.0.0__b03f5f7f11d50a3a\IEHost.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\d837c43a\00641b57_ee08c701\DotNetNuke.SqlDataProvider.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\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\7124ed3e\00ad9a66_ee08c701\DotNetNuke.HttpModules.Personalization.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Shared\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Shared.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\bbc3b6f9\0075fe49_ee08c701\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\53976f02\000ab954_ee08c701\DotNetNuke.Ftb3HtmlEditorProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\9bfd8f12\00a12406_9df6c601\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\2987a8cf\0072425e_ee08c701\DotNetNuke.HttpModules.Authentication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\assembly\dl3\29d82929\00c4f530_ee08c701\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.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 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke\1bfc15e8\8953e702\App_Code.cl-kihz0.2.vb"
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:\dotnetnuke436\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared.
If Config.GetSetting("AutoUpgrade") Is Nothing Then
~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared.
AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(120) : error BC30451: Name 'LogException' is not declared.
LogException(exc)
~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(144) : error BC30002: Type 'PortalController' is not defined.
Dim objPortalController As New PortalController
~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(148) : error BC30002: Type 'PortalInfo' is not defined.
Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(166) : error BC30451: Name 'Scheduling' is not declared.
Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(204) : error BC30451: Name 'Scheduling' is not declared.
If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(205) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.
Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(206) : error BC30451: Name 'Scheduling' is not declared.
scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
~~~~~~~~~~
E:\dotnetnuke436\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:\dotnetnuke436\App_Code\Global.asax.vb(264) : error BC30002: Type 'EventQueue.EventQueueController' is not defined.
Dim oEventController As New EventQueue.EventQueueController
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(314) : error BC30451: Name 'Scheduling' is not declared.
If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(317) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.
Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\dotnetnuke436\App_Code\Global.asax.vb(328) : error BC30451: Name 'LogException' is not declared.
LogException(exc)
~~~~~~~~~~~~
|
Show Complete Compilation Source:
Line 1: '
Line 2: ' DotNetNuke® - http://www.dotnetnuke.com
Line 3: ' Copyright (c) 2002-2006
Line 4: ' by DotNetNuke Corporation
Line 5: '
Line 6: ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
Line 7: ' documentation files (the "Software"), to deal in the Software without restriction, including without limitation
Line 8: ' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
Line 9: ' to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Line 10: '
Line 11: ' The above copyright notice and this permission notice shall be included in all copies or substantial portions
Line 12: ' of the Software.
Line 13: '
Line 14: ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
Line 15: ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
Line 16: ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
Line 17: ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Line 18: ' DEALINGS IN THE SOFTWARE.
Line 19: '
Line 20: Imports System.Security
Line 21: Imports System.Security.Principal
Line 22: Imports System.Threading
Line 23: Imports System.Web.Security
Line 24: Imports System.IO
Line 25:
Line 26: Imports DotNetNuke.Security.Roles
Line 27: Imports DotNetNuke.Services.Log.EventLog
Line 28: Imports DotNetNuke.Services.Upgrade
Line 29:
Line 30:
Line 31: Namespace DotNetNuke.Common
Line 32:
Line 33: ''' -----------------------------------------------------------------------------
Line 34: ''' Project : DotNetNuke
Line 35: ''' Class : Global
Line 36: '''
Line 37: ''' -----------------------------------------------------------------------------
Line 38: '''
Line 39: '''
Line 40: '''
Line 41: '''
Line 42: '''
Line 43: '''
Line 44: ''' [sun1] 1/18/2004 Created
Line 45: '''
Line 46: ''' -----------------------------------------------------------------------------
Line 47: Public Class [Global]
Line 48: Inherits System.Web.HttpApplication
Line 49:
Line 50: #Region "Private Methods"
Line 51:
Line 52: ''' -----------------------------------------------------------------------------
Line 53: '''
Line 54: ''' CheckVersion determines whether the App is synchronized with the DB
Line 55: '''
Line 56: '''
Line 57: '''
Line 58: '''
Line 59: ''' [cnurse] 2/17/2005 created
Line 60: '''
Line 61: ''' -----------------------------------------------------------------------------
Line 62: Private Sub CheckVersion()
Line 63: Dim Server As HttpServerUtility = HttpContext.Current.Server
Line 64: Dim Request As HttpRequest = HttpContext.Current.Request
Line 65: Dim Response As HttpResponse = HttpContext.Current.Response
Line 66:
Line 67: Dim AutoUpgrade As Boolean
Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69: AutoUpgrade = True
Line 70: Else
Line 71: AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
Line 72: End If
Line 73:
Line 74: 'Determine the Upgrade status and redirect to Install.aspx
Line 75: Select Case GetUpgradeStatus()
Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77: If AutoUpgrade Then
Line 78: Response.Redirect("~/Install/Install.aspx?mode=Install")
Line 79: Else
Line 80: CreateUnderConstructionPage()
Line 81: Response.Redirect("~/Install/UnderConstruction.htm")
Line 82: End If
Line 83: Case Globals.UpgradeStatus.Error
Line 84: If AutoUpgrade Then
Line 85: Response.Redirect("~/Install/Install.aspx?mode=none")
Line 86: Else
Line 87: CreateUnderConstructionPage()
Line 88: Response.Redirect("~/Install/UnderConstruction.htm")
Line 89: End If
Line 90: End Select
Line 91: End Sub
Line 92:
Line 93: Private Sub CreateUnderConstructionPage()
Line 94: ' create an UnderConstruction page if it does not exist already
Line 95: If Not File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Then
Line 96: If File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm")) Then
Line 97: File.Copy(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm"), System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm"))
Line 98: End If
Line 99: End If
Line 100: End Sub
Line 101:
Line 102: ''' -----------------------------------------------------------------------------
Line 103: '''
Line 104: ''' LogEnd logs the Application Start Event
Line 105: '''
Line 106: '''
Line 107: '''
Line 108: '''
Line 109: ''' [cnurse] 1/28/2005 Moved back to App_End from Logging Module
Line 110: '''
Line 111: ''' -----------------------------------------------------------------------------
Line 112: Private Sub LogEnd()
Line 113: Try
Line 114: Dim objEv As New EventLogController
Line 115: Dim objEventLogInfo As New LogInfo
Line 116: objEventLogInfo.BypassBuffering = True
Line 117: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString
Line 118: objEv.AddLog(objEventLogInfo)
Line 119: Catch exc As Exception
Line 120: LogException(exc)
Line 121: End Try
Line 122:
Line 123: ' purge log buffer
Line 124: LoggingProvider.Instance.PurgeLogBuffer()
Line 125: End Sub
Line 126:
Line 127: ''' -----------------------------------------------------------------------------
Line 128: '''
Line 129: ''' CacheMappedDirectory caches the Portal Mapped Directory(s)
Line 130: '''
Line 131: '''
Line 132: '''
Line 133: '''
Line 134: ''' [cnurse] 1/27/2005 Moved back to App_Start from Caching Module
Line 135: '''
Line 136: ''' -----------------------------------------------------------------------------
Line 137: Private Sub CacheMappedDirectory()
Line 138: 'Cache the mapped physical home directory for each portal
Line 139: 'so the mapped directories are available outside
Line 140: 'of httpcontext. This is especially necessary
Line 141: 'when the /Portals or portal home directory has been
Line 142: 'mapped in IIS to another directory or server.
Line 143: Dim objFolderController As New Services.FileSystem.FolderController
Line 144: Dim objPortalController As New PortalController
Line 145: Dim arrPortals As ArrayList = objPortalController.GetPortals()
Line 146: Dim i As Integer
Line 147: For i = 0 To arrPortals.Count - 1
Line 148: Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
Line 149: objFolderController.SetMappedDirectory(objPortalInfo, HttpContext.Current)
Line 150: Next
Line 151:
Line 152: End Sub
Line 153:
Line 154: ''' -----------------------------------------------------------------------------
Line 155: '''
Line 156: ''' StopScheduler stops the Scheduler
Line 157: '''
Line 158: '''
Line 159: '''
Line 160: '''
Line 161: ''' [cnurse] 1/28/2005 Moved back to App_End from Scheduling Module
Line 162: '''
Line 163: ''' -----------------------------------------------------------------------------
Line 164: Private Sub StopScheduler()
Line 165: ' stop scheduled jobs
Line 166: Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
Line 167: End Sub
Line 168:
Line 169: #End Region
Line 170:
Line 171: #Region "Public Methods"
Line 172:
Line 173: ''' -----------------------------------------------------------------------------
Line 174: '''
Line 175: ''' LogStart logs the Application Start Event
Line 176: '''
Line 177: '''
Line 178: '''
Line 179: '''
Line 180: ''' [cnurse] 1/27/2005 Moved back to App_Start from Logging Module
Line 181: '''
Line 182: ''' -----------------------------------------------------------------------------
Line 183: Public Shared Sub LogStart()
Line 184: Dim objEv As New EventLogController
Line 185: Dim objEventLogInfo As New LogInfo
Line 186: objEventLogInfo.BypassBuffering = True
Line 187: objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_START.ToString
Line 188: objEv.AddLog(objEventLogInfo)
Line 189:
Line 190: End Sub
Line 191:
Line 192: ''' -----------------------------------------------------------------------------
Line 193: '''
Line 194: ''' StartScheduler starts the Scheduler
Line 195: '''
Line 196: '''
Line 197: '''
Line 198: '''
Line 199: ''' [cnurse] 1/27/2005 Moved back to App_Start from Scheduling Module
Line 200: '''
Line 201: ''' -----------------------------------------------------------------------------
Line 202: Public Shared Sub StartScheduler()
Line 203: ' instantiate APPLICATION_START scheduled jobs
Line 204: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
Line 205: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
Line 206: scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
Line 207: Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start)
Line 208: newThread.IsBackground = True
Line 209: newThread.Start()
Line 210: End If
Line 211: End Sub
Line 212:
Line 213: #End Region
Line 214:
Line 215: #Region "Application Event Handlers"
Line 216:
Line 217: ''' -----------------------------------------------------------------------------
Line 218: '''
Line 219: ''' Application_Start
Line 220: ''' Executes on the first web request into the portal application,
Line 221: ''' when a new DLL is deployed, or when web.config is modified.
Line 222: '''
Line 223: '''
Line 224: '''
Line 225: '''
Line 226: ''' - global variable initialization
Line 227: '''
Line 228: '''
Line 229: '''
Line 230: ''' -----------------------------------------------------------------------------
Line 231: Private Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs)
Line 232:
Line 233: Dim Server As HttpServerUtility = HttpContext.Current.Server
Line 234:
Line 235: 'global variable initialization
Line 236: ServerName = Server.MachineName
Line 237:
Line 238: If HttpContext.Current.Request.ApplicationPath = "/" Then
Line 239: ApplicationPath = ""
Line 240: Else
Line 241: ApplicationPath = HttpContext.Current.Request.ApplicationPath
Line 242: End If
Line 243: ApplicationMapPath = System.AppDomain.CurrentDomain.BaseDirectory.Substring(0, System.AppDomain.CurrentDomain.BaseDirectory.Length - 1)
Line 244: ApplicationMapPath = ApplicationMapPath.Replace("/", "\")
Line 245:
Line 246: HostPath = ApplicationPath & "/Portals/_default/"
Line 247: HostMapPath = Server.MapPath(HostPath)
Line 248:
Line 249: AssemblyPath = ApplicationMapPath & "\bin\dotnetnuke.dll"
Line 250:
Line 251: 'Check whether the current App Version is the same as the DB Version
Line 252: CheckVersion()
Line 253:
Line 254: 'Cache Mapped Directory(s)
Line 255: CacheMappedDirectory()
Line 256:
Line 257: 'log APPLICATION_START event
Line 258: LogStart()
Line 259:
Line 260: 'Start Scheduler
Line 261: StartScheduler()
Line 262:
Line 263: 'Process any messages in the EventQueue for the Application_Start event
Line 264: Dim oEventController As New EventQueue.EventQueueController
Line 265: oEventController.ProcessMessages("Application_Start")
Line 266:
Line 267:
Line 268: End Sub
Line 269:
Line 270: ''' -----------------------------------------------------------------------------
Line 271: '''
Line 272: ''' Application_End
Line 273: ''' Executes when the Application times out
Line 274: '''
Line 275: '''
Line 276: '''
Line 277: '''
Line 278: '''
Line 279: '''
Line 280: '''
Line 281: ''' -----------------------------------------------------------------------------
Line 282: Private Sub Application_End(ByVal Sender As Object, ByVal E As EventArgs)
Line 283:
Line 284: ' log APPLICATION_END event
Line 285: LogEnd()
Line 286:
Line 287: ' stop scheduled jobs
Line 288: StopScheduler()
Line 289:
Line 290: End Sub
Line 291:
Line 292:
Line 293: ''' -----------------------------------------------------------------------------
Line 294: '''
Line 295: ''' Application_BeginRequest
Line 296: ''' Executes when the request is initiated
Line 297: '''
Line 298: '''
Line 299: '''
Line 300: '''
Line 301: '''
Line 302: '''
Line 303: '''
Line 304: ''' -----------------------------------------------------------------------------
Line 305: Private Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Line 306:
Line 307: 'First check if we are upgrading/installing
Line 308: If Request.Url.LocalPath.EndsWith("Install.aspx") Then
Line 309: Exit Sub
Line 310: End If
Line 311:
Line 312: Try
Line 313:
Line 314: If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
Line 315: AndAlso Services.Scheduling.SchedulingProvider.ReadyForPoll Then
Line 316:
Line 317: Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
Line 318: Dim RequestScheduleThread As Threading.Thread
Line 319: RequestScheduleThread = New Threading.Thread(AddressOf scheduler.ExecuteTasks)
Line 320: RequestScheduleThread.IsBackground = True
Line 321: RequestScheduleThread.Start()
Line 322:
Line 323: Services.Scheduling.SchedulingProvider.ScheduleLastPolled = Now
Line 324:
Line 325: End If
Line 326:
Line 327: Catch exc As Exception
Line 328: LogException(exc)
Line 329: End Try
Line 330:
Line 331: End Sub
Line 332:
Line 333: #End Region
Line 334:
Line 335: End Class
Line 336:
Line 337: End Namespace
Line 338:
|
|
|
|
|
| |
|
|
Joined: 5/24/2006
Posts: 91
|
|
|
He hasn't yet detailed the error he is getting, but my guess is that he is receiving the 'endless browser seeking' error. (Firefox = can't complete the URL process. IE6 = endless browser spinning)
It has to do with custom porting in 4.3.6 install.
If that is the case, you can find a fix for this bug here: here: ( http://tinyurl.com/va3vt ) --
|
|
|
|
| |
|
|
Joined: 11/7/2006
Posts: 3
|
|
|
Server Error in '/dotnetnuke' 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 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:\dotnetnuke436\App_Code\Global.asax.vb Line: 68
|
|
|
|
| |