Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何解决';中的服务器错误/';应用程序索引尚未初始化?_C#_Asp.net_Sitecore_Sitecore8_Azureportal - Fatal编程技术网

C# 如何解决';中的服务器错误/';应用程序索引尚未初始化?

C# 如何解决';中的服务器错误/';应用程序索引尚未初始化?,c#,asp.net,sitecore,sitecore8,azureportal,C#,Asp.net,Sitecore,Sitecore8,Azureportal,如果我访问我的主页,显示如下错误: Server Error in '/' Application. Index has not been initialized. Description: An unhandled exception occurred. Exception Details: System.InvalidOperationException: Index has not been initialized. Source Error: An unhandled excep

如果我访问我的主页,显示如下错误:

Server Error in '/' Application.
Index has not been initialized.
Description: An unhandled exception occurred. 

Exception Details: System.InvalidOperationException: Index has not been initialized.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

当我像这样重新启动Porta Azure时,会出现上述错误:

Server Error in '/' Application.
Index has not been initialized.
Description: An unhandled exception occurred. 

Exception Details: System.InvalidOperationException: Index has not been initialized.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

我怎样才能解决这个问题


在我重新启动azure门户之前,没有出现任何错误。请使用其控制器检查索引视图

2.可能您的对象引用不是对象的实例

3.检查控制器

此错误由控制器生成