Asp Administration Console

D

Dzemal Tipura

Hi I have a few questions about Admin Console in ASP 2.0
1. When I create user thought console is save him to aspnetdb file in
app_data folder. When I public web site do I have to copy on web server that
folder and that two files .mdf and .log?
2. How can I add extra fields when creating new user like Address, Street,
etc. and that they appears in all necessary login controls
3. If I have to transfer mdf and log files in which he saves users, roles
and others to some web server does web server must have sql 2005 installed?
4. How can I save users, roles and everything to my db in sql 2000 ?
Thx

--
Dzemal Tipura, MCP, MCAD
WIZARD COMPUTERS d.o.o.
Mar¹ala Tita 36
88000 Mostar
Bosna i Hercegovina
 
P

PeterKellner

Hi I have a few questions about Admin Console in ASP 2.0
1. When I create user thought console is save him to aspnetdb file in
app_data folder. When I public web site do I have to copy on web server that
folder and that two files .mdf and .log?
2. How can I add extra fields when creating new user like Address, Street,
etc. and that they appears in all necessary login controls
3. If I have to transfer mdf and log files in which he saves users, roles
and others to some web server does web server must have sql 2005 installed?
4. How can I save users, roles and everything to my db in sql 2000 ?
Thx

Take a look at the article and code generator I published that lets
you deal with the extra fields via profile. It creates an
ObjectDataSource that you can use in a GridView or other control for
view and editing membership data including Profile info.

Here is the article

http://peterkellner.net/?p=29

and here is a live demo of a sample Profile (notice FirstName and
LastName fields which are not part of membership)


http://livedemos.peterkellner.net/AJAXDemo/DefaultWithProfile.aspx

And, finally, here is the code generator to use your own by cutting
and pasting in the a piece of your web.config that looks like what
I've pasted at the bottom

http://painfreeods.peterkellner.net/Default.aspx

<system.web>
<profile defaultProvider="SqlProfileProvider">
<providers>
<remove name="AspNetSqlProfileProvider"/>
<add name="SqlProfileProvider"
type="System.Web.Profile.SqlProfileProvider"
connectionStringName="LocalSqlServer"/>
</providers>
<properties>
<add name="FirstName" type="string"/>
<add name="LastName" type="string"/>
<add name="AdvancedMode" type="bool"/>
<group name="Address">
<add name="Street" type="string"/>
<add name="City" type="string"/>
<add name="State" type="string"/>
<add name="Zip" type="string"/>
</group>
</properties>
</profile>

Good Luck!
</system.web>
Peter Kellner
http://peterkellner.net
 

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

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top