473,387 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

How to create Profile,Membership and Role provider with SQL2000/2005
thanks.
Feb 13 '06 #1
2 1568
DWS
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

"RedHair" wrote:
How to create Profile,Membership and Role provider with SQL2000/2005
thanks.

Feb 14 '06 #2
Thanks, I'll try this tip.

"DWS" <DW*@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:E9********************************* *@microsoft.com...
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

"RedHair" wrote:
How to create Profile,Membership and Role provider with SQL2000/2005
thanks.

Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Shimon Sim | last post by:
Hi I am working on application that need to hold custom user information - Last and first name, email, some other domain related information. I used to create Base class for all my pages. The base...
4
by: techsupport | last post by:
I have some experience with .NET Remoting, as well as ASP.NET 2.0, and have been wanting to remote a custom membership and profile provider. I want to take advantage of the new controls in ASP.NET...
1
by: Liming | last post by:
Hello, I'm a newbie to .NET 2.0 framework from Java, so please bear with me. Is there a way to do a generic Provider model or if anyone knows a product out there that does this? I know .NET...
6
by: shapper | last post by:
Hello, What is the profiler provider type when using a Microsoft Access database? Thanks, Miguel
2
by: Annie | last post by:
Hello guys, I have set the MEMBERSHIP, ROLEMANAGER and PROFILE in my config file as below. I just want to use my own sql server 2000 table instead of MSDB.
2
by: =?Utf-8?B?RGlya0dvZXM=?= | last post by:
I have added some profile properties to my web.config: <profile enabled="true"> <properties><add name="firstname"/></properties> </profile> However when I try to access the property in a code...
1
by: =?Utf-8?B?aGZkZXY=?= | last post by:
Hello, I have a web application that makes use of the SQL Membership and Role providers. My app has admin screens to manage users (membership), roles, and supplementary user data. I have just...
4
by: Scott M. | last post by:
When profile data is stored in ASP .NET, where is the user data persisted? For how long is it persisted: is it session persisted or permanent (like a cookie)?
1
by: shapper | last post by:
Hello, On my CMS I am signed as administrator and I am creating a Membership user and its profile: MembershipCreateStatus status; MembershipUser user = Membership.CreateUser("Joe", "Pass",...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.