Page 1 of 1
ASP Membership / Role Provider
Posted: Mon 26 Jun 2006 21:34
by poirazis
I am using CoreLab.MySql.Web, Version=3.50.10.0
I would really appreciate some more documentation or a small sample on how I can use these. I read the documentation, and supposedly did what it said. I copy/pasted the parts that are supposed to be in the web.config file and only changed the connection string. I also run the SQL scripts that create the tables , and the tables are there. I cannot though administer the website and create users and roles. Instead I get an error that the Role provider is already declared in my web.config. Is there a to-do checklist, a step by step tutorial or a sample available ?
Regards
Michael Poirazi
Posted: Tue 27 Jun 2006 08:07
by Alexey
We do not have such example.
The steps are stated clear in the "Using MySQLDirect .NET in ASP.NET Provider Model" article of MySQLDirect .NET help documentation. Please follow them.
How do you try to create users?
I might be able to help
Posted: Mon 03 Jul 2006 06:38
by geoffHome
Michael did you solve your problem?
I got my stuff to work but all your problems were very familiar.
Couldn't believe no code samples existed.
Busy right now but will dig out my sample(s) if you haven't sorted your problem by now.
Problem not solved
Posted: Mon 03 Jul 2006 11:53
by poirazis
Hey there
unfortunately i was unable to solve my problem. I would really appreciate if you have a sample to send me over!
Thank you very much!
Regards
Michael Poirazi
I don't really know what I'm doing but this configuration ended up working
Posted: Mon 03 Jul 2006 21:43
by geoffHome
I recently tried to get another application working but kept running into problems but this one worked.
I'm shocked that one of the developers couldn't come up with a simple template-recipe of how to use their product.
This is the web.config
// ***I'm pretty sure there was some sort of naming inconsistency so had to do the following
-->
thank you!
Posted: Tue 04 Jul 2006 15:09
by poirazis
Thank you very much,
I will try that tomorrow when I am back in the office.
I must also say that I am a bit suprised with the support here. I would expect a simple sample or a step-by-step procedure...
I greatly appreciate your help.
Thank you again
Michael
Posted: Wed 05 Jul 2006 11:21
by Paul
"Using MySQLDirect .NET in ASP.NET Provider Model" topic of MySQLDirect .NET describes what to do for using ASP.NET Providers and what information to include in configuration file for particular provider. You can store configuration information in global machine.config file or in Web.config file of your application.
When the configuration is described in both files, settings from Web.config file are applied.
In your example you have to specify more information in roleManager and membership sections as described in documentation. Please write the following
We will include sample project to the next version of MySQLDirect .NET