由於我們從IIS 7.0移至IIS 7.5,因此Windows身份驗證不再適用於遠程請求。如果我在網絡服務器上打開網站,一切正常。IIS 7.5 Windows身份驗證失敗,並顯示401
的web.config:
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>
IIS設置:
Authentication (enabled): ASP.NET Impersonation, Windows Authentication (all others are disabled)
ApplicationPool: Managed Pipeline Mode -> Classic, Identity -> ApplicationPoolIdentity
失敗請求跟蹤:
MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName: WindowsAuthenticationModule
Notification: 2
HttpStatus: 401
HttpReason: Unauthorized
HttpSubStatus: 1
ErrorCode: 2148074254
ConfigExceptionInfo:
Notification: AUTHENTICATE_REQUEST
ErrorCode No credentials are available in the security package (0x8009030e)
甲ny的建議?
後,我禁用它,我會得到兩個FailedTrace請求: 1: 請求摘要 URL爲http://計算機:80/ 的應用程序池AppPoolName 身份驗證NOT_AVAILABLE 來自令牌的用戶 活動ID {00000000-0000-0000-0A00-0080000000FC} MODULE_SET_RESPONSE_ERROR_STATUS 401.2 第二: 請求摘要: URL爲http://計算機:80/ 應用程序池AppPoolName NTLM認證令牌從域\用戶名 活動ID {00000000-0000-0000-0C00-0080000000FC} 用戶 MODULE_SET_RESPONSE_ERROR_STATUS 401.5 看起來第一個請求是PreAuthentication,但我禁用了KernelMode。 – Dave 2010-07-19 06:02:20
我們嘗試了以下客戶端,但沒有成功,Windows XP(Safari,Firefox,IE)和Windows 7(Chrome,IE) – Dave 2010-07-19 06:17:32