Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

How to create Profile,Membership and Role provider with SQL2000/2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RedHair - 13 Feb 2006 08:20 GMT
How to create Profile,Membership and Role provider with SQL2000/2005
thanks.
DWS - 14 Feb 2006 17:25 GMT
Red,
aspnet_regsql

I can do that with SQL Sever 2003 so maybe it will work for you.  Your
implementation may be different depending on how you currently connect to the
database.  This example uses a sql server userid.   Create the database used
by the asp.net application providers.  From the vs2005 command prompt run
aspnet_regsql and follow the wizzard steps.

Tell the asp.net application where the tables are.  "LocalSqlServer" you
override that in the web.config with something like the following pointing to
the catalog where you created the tables.

<connectionStrings>
 <remove name="LocalSqlServer" />
 <add name="LocalSqlServer" connectionString="Data Source=kogdws;Initial
Catalog=webmstsql2;Persist Security Info=True;User
ID=redhaird;Password=redhaird" />
 </connectionStrings>

Good Luck
DWS

> How to create Profile,Membership and Role provider with SQL2000/2005
> thanks.
RedHair - 21 Feb 2006 02:03 GMT
Thanks, I'll try this tip.

"DWS" <DWS@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:E99E36B4-8BFA-404F-A90C-507E3F024227@microsoft.com...
> Red,
> aspnet_regsql
[quoted text clipped - 24 lines]
>> How to create Profile,Membership and Role provider with SQL2000/2005
>> thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.