Here's the quick skinny on our situation:
We attempted to upgrade from 5.2.2 to 5.4.0. Everything stated "successful". However, we could not log in to the site as the UserName and Password would no longer work. After a full day of attempting various remedies, no joy. So, we decided to go back a week in our backup tapes and restore the entire folder housing DNN.
Now, we get the following Compilation Error:
Parameter count does not match Parameter Value count.
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.ArgumentException: Parameter count does not match Parameter Value count.
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:
[ArgumentException: Parameter count does not match Parameter Value count.]
Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) +146
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +228
DotNetNuke.Data.SqlDataProvider.GetPortals(String CultureCode) +96
DotNetNuke.Entities.Portals.PortalController.GetPortals() +39
DotNetNuke.Common.Initialize.CacheMappedDirectory() +38
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +643
DotNetNuke.Common.Initialize.Init(HttpApplication app) +152
DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +674
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
The folder was completely deleted, server restarted, and folder restored from backup tape. Obviously, there is some setting outside the folder that is holding an attribute causing this error.
Help?
Cricket