簡體   English   中英

在IIS7上設置虛擬目錄

[英]Setting up a virtual directory on IIS7

我正在設置服務器,以便我們可以在其上安裝ASP.Net Web應用程序。

我右鍵單擊IIS7管理器中的“站點”,然后選擇“添加虛擬目錄”,然后單擊“測試設置”按鈕,顯示以下消息:

The server is configured to use pass-through authentication with a built-in 
account to access the specified physical path. However, IIS Manager cannot 
verify whether the built-in account has access. Make sure that the application 
pool identity has Read access to the physical path. If this server is joined to 
a domain, and the application pool identity is NetworkService or LocalSystem, 
verify that <domain>\<computer_name>$ has Read access to the physical path. 
Then test these settings again.

該消息沒有告訴我們如何執行任何這些操作。

我正在設置的服務器上已安裝Windows7 Home Premium。 該計算機設置了所有默認設置,並且具有計算機名稱,例如MyComputer-PC(不是真實名稱)。 沒有設置域。

您能告訴我們如何執行郵件中描述的操作嗎?

1)轉到IIS,單擊包含您的虛擬目錄的IIS條目。 在右側的“基本設置”上單擊以查看其正在使用的設備池。

2)轉到IIS,轉到應用程序池。 右鍵單擊您的應用程序池,然后檢查高級設置-> Identity屬性,以找出正在使用的用戶。

3)轉到IIS條目映射到的文件夾,確保將用戶添加到此目錄。 如果要授予其寫權限,請給它寫權限。 否則,使其讀並執行即可。

信息很清楚,說明需要做什么。 轉到IIS的“應用程序池”部分,然后打開默認應用程序池的高級設置。 檢查在Identity屬性中指定的用戶名。

轉到您實際存儲虛擬目錄的位置,然后轉到文件夾屬性->安全性。 確保用戶具有適當的訪問權限。

基本上,如果您不打算將文件寫入站點目錄,則可以忽略此消息。

此消息表示IIS無法檢查它的系統Windows帳戶是否對您的站點文件夾具有足夠的權限。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM