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.
You can read more in this article.
application name, asp.net, event viewer, membership verification failed







Hey,
In my WebSite I have ApplicationName = “\”
and ApplicationName = “\” in machine.config which is the default value
but my website still not working
Could you describe your problem in more details?
What you mean by “In my WebSite I have ApplicationName = “\””, the web.config, the database?
Do you use forms authentication and built-in functionality for Memberships?
If you receive errors, you can paste them here and I’ll try to help you.