2010-12-23 32 views
0

Membership.ValidateUser在VS2010中返回true,但在IIS6中返回false。它會是什麼?sqlmembershipprovider在VS2010開發服務器中工作,但在IIS6中不工作

+0

applicationName屬性c應該是一個潛在的原因:http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and- other-Providers.aspx。但如下所述,它可能是錯誤的數據庫。 – gbs 2010-12-23 18:57:01

回答

1

僅舉幾例

  • 錯誤的數據庫連接
  • 錯誤的配置文件
  • 錯誤憑證進入
  • 用戶名輸入錯誤

...辛苦沒有更多的信息說

相關問題