StackoverflowException on first login


I have created a new ASP.NET 4.0 site.
I have setup membership using the initial user configuration: initialUser="admin" initialPassword="admin" initialRole="Administrators" but when I try to login w3wp process throws the following exception:
The file Roles.xml gets created but not the Users.xml.
When i remove the initial attributes and create the Users asing the ASP.NET Configuration Tool, then I can login normally.


EcH0MaTRiX wrote Oct 27, 2010 at 4:01 PM

I've had pretty good experience with the membership providers, but I had no idea there was initial user attributes, and I don't recall if I saw support for those in the code. It could be the problem.

When Roles.xml gets created, did it populate the file correctly with an "Administrators" role and "admin" user?

Jarlac wrote Oct 27, 2010 at 4:38 PM

The sample for Initial user is here: http://aspnetxmlproviders.codeplex.com/wikipage?title=How%20To%20Setup%20Initial%20User&referringTitle=Home

The Roles.xml file gets populated with "Administrators" role but users, and the Users.xml file never gets created

wrote Feb 13, 2013 at 11:09 PM