1) http://blog.nolanbailey.com/2008/03/08/mysql-aspnet-membership-and-role-provider/194
Very good but not complete enough for my level eg:
"<add name="MySQLMembershipProvider" autogenerateschema="true" ...."
2)
http://aspnet101.com/aspnet101/tutorials.aspx?id=63
Looks initially promising and the kind of solution simplicity I would
expect in reality but...
the first stage of the proceeedings doesnt work out for me on my vista
machine....
c:\Windows\Microsoft.NET\Framework>aspnet_regsql -W
'aspnet_regsql' is not recognized as an internal or external command,
operable program or batch file.
3)
http://www.codeproject.com/KB/database/mysqlmembershipprovider.aspx?fid=234396&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2476367
Many credible sources point to this page but running MySQL
Administrator and trying to execute the sql to alter tables I run into
syntax errors the origins of which I dont yet understand.
4) http://www.dotnetsurfers.com/Blog/2007/12/12/UsingMySQLWithAspnetForAuthenticationauthorization.aspx
Not sufficiently detailed.
Can anyone point me to a reasonable set of instructions to SETUP ASP
MEMBERSHIP AND ROLES ON A MySQL db on a SHARED REMOTE SERVER, USING
Visual Studio 2008 and its Login, New Member etc wizards and
templates?
I would really appreciate any help.
Dan - posted also to comp.MySQL
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"DanWeaver" <danof...@googlemail.com> wrote in message
news:76228ffb-c313-4d0c...@q24g2000prf.googlegroups.com...
I believe a few steps are necessary and Im not sure of the order or
exactly how to go about them:
A) Create the DB schema on a (shared host) MySQL db... Does anybody
have the SQL already made?
B) Set up the asp project to have a reference to the correct provider
ie do something in web.config relating to <providers> and <connection
string>...
C) Change the ASP.NET Web Site Administration Tool to 'know' that
we're now using a remote provider...
D) Any other mystical steps involving importing namespaces etc...
Any takers?
This should solve most of your needs. It has both the scripts to create the
database and the custom membership provider. This is an "out of box"
implementation, meaning it mimics the standard ASP.NET implementation.
Note that the article states you need the latest MySQL Connector:
http://www.mysql.com/products/connector/net/
There is a cost if this is a commercial site.
If this is not acceptable, thsi one might work:
http://www.codeproject.com/KB/aspnet/Suite_MySQL_Provider.aspx
And the MySQL forum has one as well:
http://forums.mysql.com/read.php?38,63403,63403
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"DanWeaver" <danof...@googlemail.com> wrote in message
news:00e73621-bc2e-444e...@z24g2000prf.googlegroups.com...
I believe the WSAT tool is only available locally.....I learnt this the hard
way.
Thus my opinion is that is is a hobbyist tool, and not worth the effort.
You probably don't want to hear this, but I'll give you the advice anyways.
Go here:
http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/010307-1.aspx
And take a hour or so ... and get the crappy Access Membership Provider
working.
Try not to just look at the code setup/config setup, but actually get it
working.
You'll learn the key items needed to swap out to a custom one.
..
Then approach the MySql version with that knowledge.
Once you get one working..the others seem easier.
I suggest the Access one becaue at least you have one that differs
signficantly from Sql Server...but is decently documented.
..
I did this (a year and half ago) and that little exercise still sits with
me....as I can swap out to a custom one quickly now.
This might help as well.
http://www.devx.com/asp/Article/29256/0/page/3
"DanWeaver" <danof...@googlemail.com> wrote in message
news:00e73621-bc2e-444e...@z24g2000prf.googlegroups.com...
Greg- the KB code project looks worth a shot- the MySQLcode is like
French to me!
Sloane- thanks for the sage and frank advice, Ill have a good look at
the 4guys.
Cheers,
Dan