在对象 'View_CMS_Tree_Joined' 上提示 'noexpand'

Hint 'noexpand' on object 'View_CMS_Tree_Joined'

我正准备尝试从 Kentico 9 升级到 10。我不得不将列从 varchar 更改为 nvarchar。

为此,我必须更新一个索引,使其不使用该列,然后删除一个视图,然后在更新该列后重新添加视图,然后再次更新索引

现在,当我访问该网站时,出现以下错误:

Hint 'noexpand' on object 'View_CMS_Tree_Joined' is invalid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Hint 'noexpand' on object 'View_CMS_Tree_Joined' is invalid.

如何解决此问题以便开始升级?

谢谢

我缺少视图的索引,我认为右键单击 > 脚本视图 > 创建到新的查询编辑器 window 会给我重新创建视图及其索引的代码,但它只创建了两个指标之一。