I also encountered errors while upgrading from 4.5.5 to 4.8. After editing release.config of install version of 4.8 with relevant values from my 4.5.5 version's web.config (connectionstring,InstallationDate, validationKey,decryptionKey etc.) and renaming it to web.config, then copying the 4.8 site files and folders over my existing 4.5.5 installation and running http://localhost/dotnetnuke/install/install.aspx, I get :
Installation Status Report
00:00:00.140 - Installing Version: 4.4.0
00:00:00.156 - Executing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.312 - Executing Script: DotNetNuke.Schema.SqlDataProvider Error! (see DotNetNuke.Schema.log for more information)
00:00:07.703 - Executing Script: DotNetNuke.Data.SqlDataProvider Error! (see DotNetNuke.Data.log for more information)
00:00:08.531 - Installing MemberRole Provider:
00:00:08.531 - Executing Script: InstallCommon
00:00:09.406 - Executing Script: InstallMembership
00:00:10.281 - Executing Script: InstallProfile
00:00:10.546 - Executing Script: InstallRoles
00:00:10.906 - Upgrading to Version: 4.8.0
00: - Executing Script: 04.04.01.SqlDataProvider Success
00:00:11.250 - Executing Script: 04.05.00.SqlDataProvider Success
00:00:12.859 - Executing Script: 04.05.01.SqlDataProvider Success
00:00:13.125 - Executing Script: 04.05.02.SqlDataProvider Success
00:00:13.437 - Executing Script: 04.05.03.SqlDataProvider Success
00:00:13.546 - Executing Script: 04.05.04.SqlDataProvider Success
00:00:13.625 - Executing Script: 04.05.05.SqlDataProvider Success
00:00:13.656 - Executing Script: 04.06.00.SqlDataProvider Success
00:00:14.828 - Executing Script: 04.06.01.SqlDataProvider Success
00:00:14.843 - Executing Script: 04.06.02.SqlDataProvider Success
00:00:14.859 - Executing Script: 04.07.00.SqlDataProvider Success
00:00:15.140 - Executing Script: 04.08.00.SqlDataProvider Success
00:00:15.265 - Performing General Upgrades
00:00:17.343 - Loading Host Settings:
00:00:17.578 - Configuring SuperUser:
Further down, I get :
Server Error in '/dotnetnuke' Application.
Value cannot be null.
Parameter name: type
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application: <configuration> <system.web> <compilation debug="true"/> </system.web> </configuration> Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ArgumentNullException: Value cannot be null. Parameter name: type] System.Activator.CreateInstance(Type type, Boolean nonPublic) +2768503 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +17 DotNetNuke.Security.Membership.Data.DataProvider.CreateProvider() +38 DotNetNuke.Security.Membership.Data.DataProvider..cctor() +13 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.Data.DataProvider' threw an exception.] DotNetNuke.Security.Membership.Data.DataProvider.Instance() +0 DotNetNuke.Security.Profile.DNNProfileProvider..cctor() +5 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Profile.DNNProfileProvider' threw an exception.] [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582 DotNetNuke.Security.Profile.ProfileProvider.CreateProvider() +38 DotNetNuke.Security.Profile.ProfileProvider..cctor() +13 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Profile.ProfileProvider' threw an exception.] DotNetNuke.Security.Profile.ProfileProvider.Instance() +0 DotNetNuke.Entities.Profile.ProfileController..cctor() +21 [TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Profile.ProfileController' threw an exception.] DotNetNuke.Entities.Profile.ProfileController.GetUserProfile(UserInfo& objUser) +0 DotNetNuke.Entities.Users.UserInfo.get_Profile() +31 DotNetNuke.Services.Upgrade.Upgrade.GetSuperUser(XmlDocument xmlTemplate, Boolean writeFeedback) +258 DotNetNuke.Services.Upgrade.Upgrade.InstallDNN(String strProviderPath) +227 DotNetNuke.Services.Install.Install.InstallApplication() +375 DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) +274 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Please help. Also, it seems like http://localhost/dotnetnuke/install/install.aspx?mode=upgrade doesn't work (my autoupgrade in web.config=false). It instead returns "Site Unavailable"