Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Server error: Page '/ (en-US)' not found.' View modes: 
User avatar
Member
Member
markcoatsworth - 9/9/2013 8:53:36 AM
   
Server error: Page '/ (en-US)' not found.'
Hello,

We have a website running Kentico 7. At random intervals (usually once a day) the site crashes with the following server error:

Message: [PageInfoProvider.GetPageInfo]: Page '/ (en-US)' not found.'
Stack Trace:
at CMS.DocumentEngine.PageInfoProvider.GetPageInfo(String siteName, String aliasPath, String cultureCode, String urlPath, Int32 nodeId, Boolean combineWithDefaultCulture)
at CMS.PortalControls.CMSPortalManager.LoadContent(Boolean reloadData)
at CMS.PortalControls.CMSPortalManager.CMSPortalManager_Init(Object sender, EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Whenever this happens, the site will be down for ~10 minutes and then somehow it always fixes itself. The error logs don't give any indication why this is happening. Also, we only have one culture in the site.

There was another thread about this problem which suggested checking the "Combine with default culture" settings key:
http://devnet.kentico.com/Forums.aspx?forumid=46&threadid=21277

However this did not work. If you have any other suggestions how to fix this, I would be very grateful!

Mark

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/9/2013 10:56:49 AM
   
RE:Server error: Page '/ (en-US)' not found.'
Is someone changing core (App_Code, App_WebReferences, etc.) files? Is your hosting provider restarting the app pool? What is your environment?

User avatar
Member
Member
markcoatsworth - 9/10/2013 8:14:26 AM
   
RE:Server error: Page '/ (en-US)' not found.'
Nobody is changing any of the files. In fact I don't think anybody is making any changes to the site whatsoever.

We have a dedicated hosting server that we fully control, running Windows 2012, and IIS8. In fact we're running several other Kentico environments on the same server, these chug along with no problems.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/10/2013 10:11:29 AM
   
RE:Server error: Page '/ (en-US)' not found.'
In the Site Manager>Settings>Content do you have a default alias path and culture? What about in the Site Manager>Settings>URLs & SEO, what are your settings for Culture and SEO? I think a combination of reviewing those and setting those properly, you should resolve your problem.

User avatar
Member
Member
markcoatsworth - 9/10/2013 10:48:05 AM
   
RE:Server error: Page '/ (en-US)' not found.'
Thanks FroggEye, appreciate the suggestions! We do indeed have a default alias path and culture set. Under Site Manager > Settings > URLs & SEO, I've set the "Force domain culture" option to true.

I'll let this run for a couple of days and will follow up here with results.

User avatar
Member
Member
markcoatsworth - 9/10/2013 11:06:54 AM
   
RE:Server error: Page '/ (en-US)' not found.'
Actually I've figured out what was causing this. It's a totally different problem than I thought it was.

Recently we've been having problems with our web servers going offline temporarily and then coming back to life. This particular site was throwing the "Page '/ (en-US)' not found." error; other sites have been showing different messages.

Turns out it's a database connection issue. We recently moved a bunch of our infrastructure onto SQL Azure and we're now experiencing the infamous SQL Azure Transport Level Error that is described in detail here:

http://www.structuretoobig.com/post/2010/02/03/SQL-Azure-Transport-Level-Error.aspx

So the error message was deceiving -- it's not a culture problem. Rather, Kentico was temporarily unable to access SQL Azure. I can't find any other threads on this issue in the forums, so I'll post a solution later if I find a good one.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/11/2013 7:27:35 AM
   
RE:Server error: Page '/ (en-US)' not found.'
Gotta love those "features" that aren't mentioned huh? Glad you found the source, good luck on the solution

User avatar
Member
Member
markcoatsworth - 9/17/2013 4:27:00 PM
   
RE:Server error: Page '/ (en-US)' not found.'
Yup, thanks for all your help working through this! The solution I found worked. Wrote a full post about it here:

http://devnet.kentico.com/Forums/f65/t40490/Kentico-and-SQL-Azure-Transport-Level-Errors.aspx

Just in case anyone else finds this looking up the same error.