AspNetMySqlMembershipProvider applicationName property

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
kevink
Posts: 10
Joined: Tue 20 Dec 2005 18:30

AspNetMySqlMembershipProvider applicationName property

Post by kevink » Sun 30 Apr 2006 19:24

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?

eric1980
Posts: 2
Joined: Wed 03 May 2006 14:59

Post by eric1980 » Wed 03 May 2006 15:03

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.

kevink
Posts: 10
Joined: Tue 20 Dec 2005 18:30

Post by kevink » Thu 04 May 2006 17:12

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

kevink
Posts: 10
Joined: Tue 20 Dec 2005 18:30

Post by kevink » Thu 04 May 2006 17:17

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.

Post Reply