這個問題: Creating directories in medium trust environment? 是一種相同的,但得到的答覆並沒有真正的幫助。 在我的網站上,我在一個名爲「Products2」的主目錄中有一大堆產品圖像,其中包含基於圖像的各種子目錄0/0/0/1,0/0/0/2等在物品ID上。 我有一些問題與 Security Exception Description: The a
我想將MIME類型添加到新創建的虛擬目錄中,該目錄位於「默認網站」下。 using (ServerManager manager = new ServerManager())
{
ServerManager manager = new ServerManager();
var vdir = manager.Sites["Default Web Site"].Applications["/"]
我將DNN Community Edition(5.6)中的文件移動到具有相同路徑的另一個磁盤。我調整了IIS服務器的主目錄的本地路徑到新的位置(從C:到D :)。 當去到主頁的服務器出現故障,無法找到與該網站相關聯的門戶網站: [NullReferenceException: Object reference not set to an instance of an object.]