2011-11-05 40 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

相關問題