2011-11-05 76 views
0

当我建立BlogEngine项目中,我得到这个错误:WIN7 IIS应用程序错误

"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

如何解决呢?

回答

1

该错误通常表明您没有将您的网站标记为IIS中的应用程序。在IIS中,右键单击包含IIS中的站点的文件夹和“转换为应用程序”(或您的IIS版本中的等效项)。将其添加到适合blogengine正在运行的.net版本的应用程序池中。

+0

我是新手。你可以解释如何标记网站作为一个应用程序在IIS – ozkank

+1

@wide,我做了,阅读答案:) –

+1

......当他说“在IIS”他的意思是从运行运行inetmgr.exe。 – bryanmac