Problem with TRIAL version Role and Membership providers

Problem with TRIAL version Role and Membership providers

Postby chris@byteme » Mon 24 Jul 2006 16:29

Hi guys

I'm still testing - I've put together an app using the auth providers and they work great on my dev machine. But when I upload to my server I can't log into the app using any of the user names. This applies ONLY to the providers, normal database calls seem to go through just fine.

Any ideas?

Chris
chris@byteme
 
Posts: 14
Joined: Thu 06 Oct 2005 06:23

Postby Guest » Mon 24 Jul 2006 20:48

Okay...

I've managed to resolve this - the issue is that the MySqlDirect.Net provider attribute for "applicationName" is "ApplicationName". The capitalisation is different and very important - this component works perfectly once you change this attribute. My web.config file contains the following:




type="CoreLab.MySql.Web.Providers.MySqlMembershipProvider"
description="MySqlDirect membership provider"
connectionStringName="myconnectionstring"
ApplicationName="/myappname" />





type="CoreLab.MySql.Web.Providers.MySqlRoleProvider"
description="MySqlDirect role provider"
connectionStringName="myconnectionstring"
ApplicationName="/myappname" />



Hopefully that saves a couple of hours research for somone!

Chris...
Guest
 


Return to dotConnect for MySQL