I'm trying to update my site.
I' doing some tentative in localhost to avoid service fault.
I've installed my website in current version on local host and all is ok.
After this I try to update localhost to version 4.6.2 and all work good.
Then I tried to update this new version to 4.9.1 and this is what happened
1) Downloaded version 4.9.1 (installation version) and overwrited 4.6.2 version (with working site).
2) Updated the web.config file with the right connection string, set to false the autoupdate, update the information for the validation key, decryptionkey etc.
3) Started the update process with http://localhost/<sitename>/install/install.aspx
First launch I obtain :
******************
Server Error in '/<sitename>' Application.
The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.
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.InvalidOperationException: The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.]
System.Data.SqlClient.SqlCommand.DeriveParameters() +947206
System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +88
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +212
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +303
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200
DotNetNuke.Data.SqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +87
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3362
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1935
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
************************
I launch another time the installation and it run with this error:
Installing DotNetNuke
Version: 04.09.01
Installation Status Report
00:00:00.093 - Installing Version: 4.4.0
00:00:00.093 - Executing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.234 - Executing Script: DotNetNuke.Schema.SqlDataProvider Error! (see DotNetNuke.Schema.log for more information)
00:00:09.812 - Executing Script: DotNetNuke.Data.SqlDataProvider Error! (see DotNetNuke.Data.log for more information)
00:00:10.656 - Installing MemberRole Provider:
00:00:10.656 - Executing Script: InstallCommon
00:00:12.828 - Executing Script: InstallMembership
00:00:13.578 - Executing Script: InstallProfile
00:00:14.062 - Executing Script: InstallRoles
00:00:14.921 - Upgrading to Version: 4.9.1
00:00:14.953 - Executing Script: 04.04.01.SqlDataProvider Success
00:00:15.171 - Executing Script: 04.05.00.SqlDataProvider Success
00:00:16.359 - Executing Script: 04.05.01.SqlDataProvider Success
00:00:16.625 - Executing Script: 04.05.02.SqlDataProvider Success
00:00:17.250 - Executing Script: 04.05.03.SqlDataProvider Success
00:00:17.375 - Executing Script: 04.05.04.SqlDataProvider Success
00:00:17.437 - Executing Script: 04.05.05.SqlDataProvider Success
00:00:17.515 - Executing Script: 04.06.00.SqlDataProvider Success
00:00:18.781 - Executing Script: 04.06.01.SqlDataProvider Success
00:00:18.796 - Executing Script: 04.06.02.SqlDataProvider Success
00:00:18.890 - Executing Script: 04.07.00.SqlDataProvider Success
00:00:19.593 - Executing Script: 04.08.00.SqlDataProvider Success
00:00:19.875 - Executing Script: 04.08.01.SqlDataProvider Success
00:00:20.500 - Executing Script: 04.08.02.SqlDataProvider Success
00:00:20.546 - Executing Script: 04.08.03.SqlDataProvider Success
00:00:20.562 - Executing Script: 04.08.04.SqlDataProvider Success
00:00:20.609 - Executing Script: 04.09.00.SqlDataProvider Success
00:00:20.843 - Executing Script: 04.09.01.SqlDataProvider Success
00:00:21.312 - Performing General Upgrades
00:00:21.796 - Loading Host Settings:
00:00:22.140 - Configuring SuperUser:
00:00:22.390 - Synchronizing Host Files:
00:00:23.218 - Installing Modules:
00:00:23.234 - Installing Module File HTML_04.08.01_Install: Success
00:00:23.937 - Installing Module File Links_04.00.01_Install: Success
00:00:25.453 - Executing Additional Scripts:
00:00:25.453 - Creating Portal: My Website
00:00:25.859 - Error: Error creating Profile Definitions
00:00:25.875 - Portal failed to install:Error!
00:00:25.875 - Installing Optional Resources:
00:00:25.906 - Installing Package File LiveID_01.00.00_Install: Success
00:00:26.234 - Installing Package File OpenID_01.00.00_Install: Success
Installation Complete
Click Here To Access Your Portal
*******************************************
Then I try to enter in portal and I have this error :
Server Error in '/TorvaRugby' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +91
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +4099
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
**********************************************************************
File DotNetNuke.Schema.log and DotNetNuke.Data.log are empty. !!!!!!!!!!!!!
I've checked that there was right permission on directory and files.
I tryed to find some documentation about this problem but I didn't found anything that solve it.
Anyone can help me?
Thanks
Alex