Kentico home page shows 404 but admin works fine

Jamie O asked on August 24, 2017 11:20

I'm new to Kentico and can't seem to get the home page to load correctly, it just returns a 404. I have a site setup in IIS and I have know the app pool has access to the database I'm using for Kentico because when I change it I do see the Kentico error page about SQL access. Once I fix SQL access and reload the page, it shows a 404 again.

For example, if I access dev.mydomain.com in a browser, I get the browser 404. If I access dev.mydomain.com/admin it takes me to the Kentico admin section correctly.

There is a site setup in the Kentico settings with the correct domain alias. I have a licence for that alias too. All the tables in the DB appear correct.

What I've tried/checked so far:

  • There is a home page setup in the content tree
  • I have a default alias set to the home page path
  • runAllManagedModulesForAllRequests="true" is set in web.config

Any suggestions would be much appreciated.

Correct Answer

Jamie O answered on August 24, 2017 12:23

It looks like the \CMSPages\PortalTemplate.aspx file had become corrupted somehow. Replacing that has fixed this issue.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Cheryl Faye answered on August 24, 2017 13:52

Yes it is working fine now. I am relieved as such a big issue Write My Assignment For Me has been resolved right away. Phewww !!

0 votesVote for this answer Mark as a Correct answer

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