2009-12-07 92 views
1

我收到以下錯誤,同時瀏覽我的asp.net頁面部署在IIS您無權查看此頁

You are not authorized to view this page 
You do not have permission to view this directory or page using the credentials that you supplied. 
-------------------------------------------------------------------------------- 

Please try the following: 

Contact the Web site administrator if you believe you should be able to view this directory or page. 
Click the Refresh button to try again with different credentials. 
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. 
Internet Information Services (IIS) 

-------------------------------------------------------------------------------- 

Technical Information (for support personnel) 

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401. 
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Authentication, Access Control, and About Custom Error Messages. 

我已經檢查在網站上的NTFS權限和發現Everyone組具有讀取並執行特權。

但沒有IUSER組的文件夾此文件夾中配置

匿名訪問並啓用了沒有集成的身份驗證。

+1

查看服務器的事件日誌/ iis日誌以查看該請求正在發生的情況。如果Web配置使用Windows身份驗證,則不應在Web應用程序上啓用匿名訪問。 – 2009-12-07 12:05:00

+0

是的我的網頁正在使用Windows身份驗證 – SmartestVEGA 2009-12-07 12:08:43

+0

是否可以刪除「everyone」組並添加iuser並取消匿名訪問和集成身份驗證 – SmartestVEGA 2009-12-07 12:11:18

回答

1

您是否已將適當的權限添加到wwwroot中的文件中。

最簡單的方法是右鍵單擊資源管理器中的wwwroot文件夾,然後單擊屬性。然後在安全選項卡上,單擊高級按鈕。在下一個彈出窗口中,選中「替換所有子對象的權限」複選框,然後單擊「應用」。

確定沒有出現所有的對話框,並給你的網站另一個嘗試。

+0

我有從網站..is導致此問題的活動目錄檢索? – SmartestVEGA 2009-12-07 14:32:11

+0

我不跟着你?抱歉 – 2009-12-07 17:12:03

相關問題