Page 1 of 1
AspNetMySqlMembershipProvider applicationName property
Posted: Sun 30 Apr 2006 19:24
by kevink
It appears as though the applicationName property doesn't work on the AspNetMySqlMembershipProvider. It also seems that changing the Membership.ApplicationName in code has no effect. Is there any other way to change the application name that the provider uses?
Posted: Wed 03 May 2006 15:03
by eric1980
I was able to set the ApplicationName in the web.config file. You need to include ApplicationName="someApplicationName" as an attribute to the tag. Seems to be working fine for me but I haven't tested roles yet.
Posted: Thu 04 May 2006 17:12
by kevink
I am not sure about where in the web.config file you are talking about adding the Application Name. The membership section in my web.config file looks like this:
In the Microsoft SQL Server add provider section they add applicationName like this:
If I put in an applicationName property like they do:
I get the following error when I view the web page in a browser:
Parser Error Message: Unrecognized attribute: applicationName
Posted: Thu 04 May 2006 17:17
by kevink
Ok, I see.
The property is ApplicationName and not applicationName.
That is a little bit confusing since all the other attributes have the same case as in the SQL Server provider.