zoukankan      html  css  js  c++  java
  • Event Log中顯示信息“Membership credential verification failed.”去除方法

    If you receive this error in the error log of your project here is its description and solution.

    Prerequisites: Your application must have custom login functionality based on Forms Authentication method implemented. Also built-in functionality for Roles, Users and Membership must be used.

    Problem: The visible issue is that the user cannot login to the application and the following error appears in the Event Viewer (Start -> Control Panel -> Administrative Tool -> Event Viewer):

    Error in Event Viewer:
    Event code: 4006
    Event message: Membership credential verification failed.
    Event time: 28/08/2006 12:30:12
    Event time (UTC): 28/08/2006 09:30:12
    Event ID: 04b22a752da345baabe19236fb25675f
    Event sequence: 2
    Event occurrence: 1
    Event detail code: 0

    Here is the solution: The “ApplicationName” value in “aspnet_Applications” database table and the “applicationName” property value for all providers in web.config (Membership provider, Role provider, Profile provider etc.) must have the same value.

  • 相关阅读:
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    算法の序列
  • 原文地址:https://www.cnblogs.com/dimg/p/1346373.html
Copyright © 2011-2022 走看看