2009-12-04 113 views
1

我收到以下錯誤,一邊瀏覽我的網頁您無權查看此頁

我檢查,看到anaymous訪問已啓用的綜合aunthentication已被關閉......

能你請幫忙?

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) 


Open in New WindowSelect All 
Tags: 
Add Tags 
    Add Tags 

Zones: 
Microsoft IIS Web Server, .Net Application Servers, Programming for 

我web.conf樣子如下:

<!-- 
      The <authentication> section enables configuration 
      of the security authentication mode used by 
      ASP.NET to identify an incoming user. 
     --> 
    <authentication mode="Windows"/> 

回答

1

您也應該檢查你的網站本身的目錄和文件的NTFS權限。確定這是否是問題的最簡單方法是給每個人讀取權限。測試它。然後刪除Everyone條目。如果這樣可以解決問題,請找出承載您的Web應用程序的IIS應用程序池使用的用戶帳戶,然後將該用戶帳戶添加到NTFS權限列表中,以授予該用戶的讀取權限。

相關問題