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

G

Guest

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
 
R

RedHair

Thanks, I'll try this tip.

DWS said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top