This project is read-only.

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 5: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 5:38 PM

The sample for Initial user is here:

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

wrote Feb 14, 2013 at 12:09 AM