Working on Kentico Upgrade; cannot log in

Gabriel Fuller asked on August 21, 2019 17:59

I am currently working on an upgrade of Kentico from Kentico 10 all the way to Kentico 12.0.35, which is the currently installed Version and hotfix. The issue is that when I go to the login page to login, it does not work. If I enter a bad username and password, it quickly returns an invalid login. If I enter a good username and password, the login page spins indefinitely and never logs me in. When looking at the code in CMSPages/logon.aspx and CMSPages/login.aspx.cs I see that the submit button never fires the postback to perform the login. When I click the button, no method in the .cs file is called to begin the process. It is almost as if the Postback is not working. Any ideas?

Recent Answers


Brenden Kehren answered on August 21, 2019 18:17

Applying a hotfix like that should not cause issues with authentication. BUT what I'd do is clear the cache, restart IIS and try again. Most likely something is cached and holding on to old data.

Also check the event logs manually by running a SQL query on the event log table to see what events are being recorded. Lastly, check the IIS server logs to see what is being logged for an error.

0 votesVote for this answer Mark as a Correct answer

Gabriel Fuller answered on August 21, 2019 18:22

Someone else worked on the upgrade to 12. When I tested their upgrade to 12, it would not let me log in so I tried moving forward with the update to 12.0.35 and it still did not work.

I checked the Kentico Event Log and got nothing useful there.

How do I clear cache if I cannot login to the system? If you are referring to the Browser, I am using Google Chrome in InCognito.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 21, 2019 18:48

Ahh ok, your initial post said you upgraded from 10 -> 10.0.35 which is only a hotfix application. Moving from 10 -> 12 is a bit different. Do you konw if the upgrade was successful from 10 -> 11 and again from 11 -> 12? You can see by looking in the event log for upgrade start and finish records for both upgrades.

If the upgrade failed, then most likely there is something else causing problems. If the upgrade succeeded, again, clear your cache in your browser, even if you're using a private window. Also restart the app pool for the website. If you have any custom code or redirects in the web.config, you may want to review to see if it was properly upgraded or if the redirects are causing problems.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on August 21, 2019 21:24

It sound like your browser cache. You may try to open admin in incognito window to see if it solves the issue.

0 votesVote for this answer Mark as a Correct answer

Gabriel Fuller answered on August 21, 2019 21:42

The upgrade from 10 to 11 and 11 to 12 were completed without error. And I have been using InCognito and refreshing local cache. As I said, the postback to actually do the login on the login.aspx.cs code-behind page is never being called.... this is so confusing.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 21, 2019 21:50

As I mentioned:

  • custom code
  • custom web.config changes/properties

If all else fails, work with Kentico Support to get your issue resolved.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.