Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# okvee 6/30/2008 11:22 AM
I change the culture,then....

“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

No root node found for culture en-US and site 1.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: Cuyahoga.Core.NodeNullException: No root node found for culture en-US and site 1.

源错误:


行 96: else if (results.Count == 0)
行 97: {
行 98: throw new NodeNullException(String.Format("No root node found for culture {0} and site {1}.", culture, site.Id));
行 99: }
行 100: else


源文件: E:\Cuyahoga-1.5.2-src\Core\DataAccess\SiteStructureDao.cs 行: 98

thanks
wang
# martijnb 6/30/2008 12:11 PM
If you change the default culture of a site, you also have to change the culture of the root node, or add a new root node with the new culture.