Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrade 7.0.3 to 7.2.1 went wrongupgrade 7.0.3 to 7.2.1 went wrong
Previous
 
Next
New Post
3/25/2014 5:26 PM
 

Today I have tried to copy and to update the installation (see title), but did not get it to work. I have copied the backup files into the initial calatogue again and can access the page. unfortunately I cannot login anymore. Both user name and passwords are still in the database but somehow I get an "unexpected error" message when trying to login, when I try to login as user nothing happens at all. Looking into the version of the database it looks like I have upgraded successfully (but maybe this part of the database is just for registering available updates?).

What could be wrong? Is there any way to access the database that I can see in WebMatrix even with SQL Management Studio to do a "real backup", I mean one that you do without Webmatrix? How to access the database of the copy I did before upgrade? Is there any chance to access it just for checking if it is still the old version and I did not do a copy Paste fault anywhere?

Another way to go: Make the hidden pages visible somehow by adjusting the database and manually reedit in a sane installation again.

I have found that my backup copy files were created before I unzipped the update. That means that my backup copy should still be a healthy version. Anyhow, I cannot login and access the management and site administration features. Please help! What could have gone wrong during the restore process?

All help is appreciated!

I have made a new installation of 7.0.3 on webmatrix, taken a copy and then upgraded to 7.2.1. It worked fine right away.

Anyhow it looks like my work is stuck in the old version where it is not possible to log in any more.

Gunther

PS: I have posted at stackoverflow , too, please do not get confused.

 

 
New Post
3/25/2014 7:50 PM
 
the most likely reason for not being able to login is that when you did an upgrade you used an install package and not an upgrade package - as such you would have overwritten your installation web.config, which contains a unique encryption key to ensure your password safety. You can often tell this by going to Website\Config and looking a the backed up web.config files. Look through them and if the oldest backed up one has a different decryptionKey from your current web.config then you used an install package instead of an upgrade package. You can test this by copying the older decryptionKey into your web.config and overwriting your current one (please back up the current one first) - hopefully you can log in again.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/26/2014 5:43 AM
 
Hi, thanks for the input!
Unfortunately the keys are identical, both the validation key and the encryption key. I am also missing the message that login was not successful.

The problem persists - unfortunately.

Thank you anyhow!
Gunther
 
New Post
3/26/2014 8:14 PM
 
in that case can you please get more details on the "unexpected error" - you can find the full stack trace stored in the EventLog table (note: I'm assuming that when you replaced the files you also rolled back the database?)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/27/2014 7:24 AM
 

Hi, thanks for the description

I have followed chris hammonds video step by step. There is no way to roll back the database other han just copy it in webmatrix so far I can see.

The log:

I find no way at attach the text files I extracted from the log so I paste the parts that I think are essential

I have got 2 events firing after startup:

Scheduler exception: System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'dbo.CoreMessaging_GetNextMessagesForDispatch'.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   at DotNetNuke.Data.PetaPoco.PetaPocoExt.ExecuteReader(Database database, String sql, Object[] args)
   at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteReader(String connectionString, CommandType type, String sql, Object[] args)
   at DotNetNuke.Data.SqlDataProvider.ExecuteReader(String procedureName, Object[] commandParameters)
   at DotNetNuke.Services.Social.Messaging.Data.DataService.GetNextMessagesForDispatch(Guid schedulerInstance, Int32 batchSize)
   at DotNetNuke.Services.Social.Messaging.Internal.InternalMessagingControllerImpl.GetNextMessagesForDispatch(Guid schedulerInstance, Int32 batchSize)
   at DotNetNuke.Services.Social.Messaging.Scheduler.CoreMessagingScheduler.DoWork()
ClientConnectionId:6a29a25d-ff58-4951-b566-322a08245c3a

Scheduler event failure:  Could not find stored procedure 'dbo.CoreMessaging_GetNextMessagesForDispatch

After login attempt I have 2 more events in the log:

Login Superuser: <LogProperty><PropertyName>IP</PropertyName><PropertyValue>::1</PropertyValue></LogProperty>

Page load exception on login: DotNetNuke.Services.Exceptions.PageLoadException: Error converting data type nvarchar to bit. ---&gt; System.Data.SqlClient.SqlException: Error converting data type nvarchar to bit.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp; task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp; task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at PetaPoco.Database.Execute(String sql, Object[] args)
   at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteNonQuery(String connectionString, CommandType type, String sql, Object[] args)
   at DotNetNuke.Data.SqlDataProvider.ExecuteNonQuery(String procedureName, Object[] commandParameters)
   at DotNetNuke.Data.DataProvider.UpdateUser(Int32 userId, Int32 portalID, String firstName, String lastName, Boolean isSuperUser, String email, String displayName, Boolean updatePassword, Boolean isApproved, Boolean refreshRoles, String lastIpAddress, Boolean isDeleted, Int32 lastModifiedByUserID)
   at DotNetNuke.Security.Membership.AspNetMembershipProvider.UpdateUser(UserInfo user)
   at DotNetNuke.Entities.Users.UserController.UpdateUser(Int32 portalId, UserInfo user, Boolean loggedAction)
   at DotNetNuke.Entities.Users.UserController.UserLogin(Int32 portalId, UserInfo user, String portalName, String ip, Boolean createPersistentCookie)
   at DotNetNuke.Modules.Admin.Authentication.Login.ValidateUser(UserInfo objUser, Boolean ignoreExpiring)
   at DotNetNuke.Modules.Admin.Authentication.Login.UserAuthenticated(Object sender, UserAuthenticatedEventArgs e)
   at DotNetNuke.Services.Authentication.AuthenticationLoginBase.OnUserAuthenticated(UserAuthenticatedEventArgs ea)
   at DotNetNuke.Modules.Admin.Authentication.Login.OnLoginClick(Object sender, EventArgs e)
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---

 

Hope this gives you a hint, I do not understand so much of what there could be wrong.

 Gunther

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrade 7.0.3 to 7.2.1 went wrongupgrade 7.0.3 to 7.2.1 went wrong


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out