The web site doesn't contain any content. Sign in to administration and edit the content.

Adam Steffes asked on August 15, 2014 00:28

I'm unable to connect to my Kentico development database using local code running on my local IIS. However, the exact same code is being run successfully on our development server via an automatic deployment.

When attempting to access the site via a local host address that points to my IIS instance, I receive the following message: "The web site doesn't contain any content. Sign in to administration and edit the content."

When I sign in as a Global administrator, I receive the following message: "Information:Your UI profile is not granted with permission to access this section. Please contact the administrator."

I'm using Kentico version v8.0.17. I've attempted to log in with several different accounts without any luck. I've also restored a copy of the database locally and run into the same issue. I've also tried changing host names, and tried accessing all aliases of the site that's on the database all to no avail.

Any suggestions on how to get around this issue?

Correct Answer

Brenden Kehren answered on August 15, 2014 13:51

Hey Adam, did you import the site from a different instance or version? Was a site deleted from this particular instance?

Regarding the no site issue, can you confirm when you did your backup it restored the data into the database you have defined in the connection string? That's always my first check, run some simple queries on the cms_site table as well as any custom tables or doc types you've created.

I've come across the "Information:Your UI profile is not granted with permission to access this section. Please contact the administrator." message when I've imported a 7.x site into an 8.x site. The problem is in v8 Kentico introduced an actual role the global admins have to be assigned to and the particular user you've logged in with isn't part of that new admin role. In fact, you can't even select it. What I did was exported the Global "CMS Global Administrator" role from a earlier instance of v8 and imported it into my trouble site and was able to get things linked back up and fixed.

Good luck!

2 votesVote for this answer Unmark Correct answer

Recent Answers


Adam Steffes answered on August 15, 2014 15:03

Hey Brenden!

Thanks for your help. After much poking around I ended up wiping out my IIS instance of the site and recreated it. That did the trick. No idea what caused all of this pain, but that fixed it.

Thanks again.

1 votesVote for this answer Mark as a Correct answer

Zach Mathias answered on September 23, 2014 20:53

Hey Brenden,

Just an FYI, I've received the same error Adam listed above more than once. Removing the site from IIS and recreating it seems to fix the issue. It's strange since that would imply a server error, yet the application itself seems to be compiling and running, only to display the Kentico errors Adam described above. I tried resetting IIS, resetting the app pool, and shutting down the app/app pool, all without success. Maybe next time I'll play around with the .NET temp file cache to see if Windows isn't purging it as expected during an app/IIS reset.

0 votesVote for this answer Mark as a Correct answer

Zach Mathias answered on October 23, 2014 20:25

Follow up: it is indeed the .NET temp file cache. Stopping IIS, clearing out the cache, and starting it back up seems to fix the issue.

0 votesVote for this answer Mark as a Correct answer

Elmar Höfinghoff answered on April 25, 2016 16:09

Yes, I could solve this issue by clearing the IIS cache, too. Unfortunatelly I had to stop the complete IIS to be able to delete the cached files. After I stopped the IIS, I executed this powershell script as administrator:

Get-ChildItem “C:\Windows\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files” -Recurse | Remove-Item -Recurse
0 votesVote for this answer Mark as a Correct answer

Sergio Ricardo Medeiros answered on November 9, 2016 13:09

Hello, People on the link below find information that helped me with this problem. http://stackoverflow.com/questions/35940427/why-wont-my-kentico-v9-0-website-display-in-chrome-or-firefox

"The web site doesn't contain any content. Sign in to administration and edit the content."

Procedure: Access admin In applications select SETTINGS> CONTENT> Multilingual option check the options: Combine with default culture and Combine files with default culture

I hope it helps!

Note: Sorry for my English translated by Google.

0 votesVote for this answer Mark as a Correct answer

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