RE: accessing membership DB from windows (not ASP) app
- From: David Thielen <thielen@xxxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 09:56:01 -0800
Hi;
I think you may have misunderstood me - I didn't mean I was creating a
singleton - I think that SqlRoleProvider may do that itself.
I tried wrapping it in my own RoleProvider class but still have the same
problem - the SqlRoleProvider class keeps trying to access the first
connection string I put in the config file no matter how many times I change
it and refresh it.
Can you ask the dev team how we are supposed to do this? There must be a way
to create that first user outside of ASP.NET because how can a user log in to
create the first user?
And if the user selects the wrong database the first time, we must have a
way to change it.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
"Luke Zhang [MSFT]" wrote:
Hello Dave,.
Do you mean create a singleton RoleProvider? It will still load the
original value of connection string and didn't use the updated one. I think
you may consider create your customized RoleProvider and override the
Initialize() method. For example. like this:
http://msdn2.microsoft.com/en-us/library/317sza4k.aspx
Sincerely,
Luke Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: accessing membership DB from windows (not ASP) app
- From: Luke Zhang [MSFT]
- RE: accessing membership DB from windows (not ASP) app
- References:
- accessing membership DB from windows (not ASP) app
- From: David Thielen
- RE: accessing membership DB from windows (not ASP) app
- From: Luke Zhang [MSFT]
- RE: accessing membership DB from windows (not ASP) app
- From: Luke Zhang [MSFT]
- accessing membership DB from windows (not ASP) app
- Prev by Date: forms auth, authenticate against already encrypted password?
- Next by Date: Re: forms auth, authenticate against already encrypted password?
- Previous by thread: RE: accessing membership DB from windows (not ASP) app
- Next by thread: RE: accessing membership DB from windows (not ASP) app
- Index(es):
Relevant Pages
|
Loading