Re: Asp Administration Console



On Wed, 12 Jul 2006 13:56:00 +0200, "Dzemal Tipura"
<dzemal.tipura@xxxxxxxxxx> wrote:

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
.



Relevant Pages

  • Re: 0x8004011b when trying to download the address book.
    ... OABInteg-Admin_04:43:16 PM profile was created in the Windows Messaging Subsystem on CORP-EXCH-1. ... Message Class Differential found: 8 ... Starting Test 9 - OAB System Folder Check ...
    (microsoft.public.exchange.clients)
  • Re: OAB Sync issue with Exchange 2007 and Outlook 2007
    ... It sounds as if there is a reference to the old OAB in the profile. ... Checking for OAB Registry Keys ... Starting Test 9 - OAB System Folder Check ...
    (microsoft.public.exchange.admin)
  • Re: User gets married, changes name & wants log-in changed
    ... Changed the user's name in AD (Active Directory) just fine. ... their "profile home" folder on the AD server without incident. ... You can just rename the folder for the user. ... knows you by your sid ...
    (microsoft.public.windows.server.active_directory)
  • Re: Roaming Problems
    ... yes on the original setup profiles and folder ... redirection where both in the same folder ... Did you put your roaming profile directory in the same folder as your ...
    (microsoft.public.windows.server.sbs)
  • Re: Error 0x80040119 Offline address book
    ... Make sure when you are running the tool you are using an Online profile. ... It looks like we were able to open the root folder however none of the OAB ... information store 1 time when the store reads from the active directory. ...
    (microsoft.public.exchange.admin)