I moved a live DNN site to a new live server and the first time you go to the site you get the error below. Refresh and the site and it works fine! Any ideas?
DNN 04.08.04
Going to http://xxxxx.com takes you to:
http://xxxxx.com/Install/Install.aspx?mode=upgrade
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: BC30456: 'UpgradeStatus' is not a member of 'globals'.
Source Error:
Line 340:
Line 341: Select Case GetUpgradeStatus()
Line 342: Case Globals.UpgradeStatus.Install
Line 343: InstallApplication()
Line 344:
Source File: C:\Inetpub\vhosts\xxxxxxx.com\httpdocs\Install\Install.aspx.vb Line: 342
Show Detailed Compiler Output:
C:\WINDOWS\SysWOW64\inetsrv> "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\root\c01a3de2\a81bf1d0\assembly\dl3\d5cb6ad9\0012a841_d7cbc801\DotNetNuke.HttpModules.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\root\c01a3de2\a81bf1d0\assembly\dl3\86afcc93\00022c8d_5db8c801\DotNetNuke.Modules.Store.Admin.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b21e4328\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Tax.DefaultTaxProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\8338fbf0\00694e58_d7cbc801\DotNetNuke.DNNDropDownNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\44a282b8\008b143e_d7cbc801\DotNetNuke.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\5978b392\001a615a_1bb8c801\RadMenu.Net2.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b4f70f6e\00022c8d_5db8c801\DotNetNuke.Modules.Store.Catalog.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\c8a795ea\00993b45_d7cbc801\DotNetNuke.Provider.DNNProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\62d90ad2\0001c54e_d7cbc801\DotNetNuke.DNNScheduler.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\272babe4\0055b9db_87b4c801\DotNetNuke.Modules.Links.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\6656958a\00694e58_d7cbc801\DotNetNuke.XMLLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\f5313322\001d135d_d7cbc801\DotNetNuke.Caching.FileBasedCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\f2cf76cb\00cdb2a4_5f84c801\CountryListBox.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\c01a3de2\a81bf1d0\assembly\dl3\6c9a6510\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Tax.DefaultTaxProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\74f8f44c\002ef64f_d7cbc801\DotNetNuke.SolpartMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\1c4aca2b\001e40f5_19b9c801\DotNetNuke.Modules.Media.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\c01a3de2\a81bf1d0\assembly\dl3\f342c3d3\00022c8d_5db8c801\DotNetNuke.Modules.Store.Cart.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\bb38c702\005446a8_5f84c801\DotNetNuke.Services.Syndication.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\59d03d09\00022c8d_5db8c801\DotNetNuke.Modules.Store.Cart.EmailProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\a4895f58\00bd5230_cd69c801\SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\dc7600f4\001e40f5_19b9c801\DotNetNuke.Modules.Media.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\9a5c7cb7\00e2ba54_d7cbc801\DotNetNuke.DNNMenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\9f9d771d\00f0e15b_d7cbc801\DotNetNuke.Provider.DBLoggingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b654875c\00dfba8d_14e5c801\ZLDNN.DNN.Modules.MultiMediaGalleryPro.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\0db59b07\00f8aa38_cd69c801\DotNetNuke.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b8f5decd\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\829e6c34\00022c8d_5db8c801\DotNetNuke.Modules.Store.Cart.AuthorizeNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\7c0945ca\00cb1baf_14e5c801\ZLDNN.DNN.Modules.MediaList.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b697861e\00022c8d_5db8c801\DotNetNuke.Modules.Store.WebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\75bb5b0f\004d004a_d7cbc801\DotNetNuke.Search.DataStore.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\root\c01a3de2\a81bf1d0\assembly\dl3\537a7496\00022c8d_5db8c801\DotNetNuke.Modules.Store.Customer.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Code.sb-22u4z.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\0e534394\005ee33c_d7cbc801\DotNetNuke.Membership.Dataprovider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\6053774d\00cb1baf_14e5c801\ZLDNN.DNN.Modules.MediaList.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\76536790\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Shipping.DefaultShippingProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\49287351\00a7624c_d7cbc801\DotNetNuke.Search.Index.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\6c160549\0055b9db_87b4c801\DotNetNuke.Modules.Links.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\5fba2f76\00e2ba54_d7cbc801\DotNetNuke.DNNTreeNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\df94acbd\00022c8d_5db8c801\DotNetNuke.Modules.Store.Catalog.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\root\c01a3de2\a81bf1d0\assembly\dl3\9a1a01de\00022c8d_5db8c801\DotNetNuke.Modules.Store.Admin.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.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\c01a3de2\a81bf1d0\assembly\dl3\8573b714\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\a37dd246\00f8aa38_cd69c801\SolpartWebControls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\0ee69e8e\00022c8d_5db8c801\DotNetNuke.Modules.Store.Cart.PayPalProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\d8edcf35\002b3a64_d7cbc801\DotNetNuke.ASP2MenuNavigationProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\97d823bc\00e2cfeb_3df0c801\PortVistaOrderform.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\d1f4ae41\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Shipping.DefaultShippingProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.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\c01a3de2\a81bf1d0\assembly\dl3\ed419f91\00f39d47_d7cbc801\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\a763dd65\00f8aa38_cd69c801\System.Web.Extensions.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\15b27a6a\00022c8d_5db8c801\DotNetNuke.Modules.Store.Components.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\7660333c\00aa1e38_d7cbc801\DotNetNuke.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\5397d642\0017b532_cd69c801\DotNetNuke.FckHtmlEditorProvider.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\c01a3de2\a81bf1d0\assembly\dl3\fa8661c6\00ce3523_cd69c801\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\b085e3c6\00a4a660_d7cbc801\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_global.asax.krzfm8gk.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\fabdaea1\00022c8d_5db8c801\DotNetNuke.Modules.Store.Providers.Address.DefaultAddressProvider.SqlDataProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\2513a9ea\00022c8d_5db8c801\DotNetNuke.Modules.Store.Cart.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\799f7d2f\00022c8d_5db8c801\DotNetNuke.Modules.Store.Customer.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\bf656364\00dfba8d_14e5c801\ZLDNN.DNN.Modules.MultiMediaGalleryPro.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\assembly\dl3\bb3a57d4\006fc62f_d7cbc801\DotNetNuke.WebUtility.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Web_19mzqmli.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,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\c01a3de2\a81bf1d0\App_Web_19mzqmli.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Web_19mzqmli.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Web_19mzqmli.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Web_19mzqmli.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c01a3de2\a81bf1d0\App_Web_19mzqmli.4.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.
C:\Inetpub\vhosts\xxxxxxx.com\httpdocs\Install\Install.aspx.vb(342) : error BC30456: 'UpgradeStatus' is not a member of 'globals'.
Case Globals.UpgradeStatus.Install
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\vhosts\xxxxxxx.com\httpdocs\Install\Install.aspx.vb(347) : error BC30456: 'UpgradeStatus' is not a member of 'globals'.
Case Globals.UpgradeStatus.Upgrade
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\vhosts\xxxxxxx.com\httpdocs\Install\Install.aspx.vb(352) : error BC30456: 'UpgradeStatus' is not a member of 'globals'.
Case Globals.UpgradeStatus.None
~~~~~~~~~~~~~~~~~~~~~
C:\Inetpub\vhosts\xxxxxxx.com\httpdocs\Install\Install.aspx.vb(362) : error BC30456: 'UpgradeStatus' is not a member of 'globals'.
Case Globals.UpgradeStatus.Error
~~~~~~~~~~~~~~~~~~~~~
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210