CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.club_web_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 11/29/2005 8:33:56 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 10 Views: 10 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
11 Items, 1 Pages 1 |< << Go >> >|
ducksoup98
Asp.Net User
how to create an admin user account?11/29/2005 8:33:56 PM

0/0

i have downloaded and installed the club site starter kit but when i registered i dont get any admin previliages.   isnt it by default, the first user registered would have the admin rights and able to modify the site?

i even registered as admin/admin but still no luck.  how can i create an admin account?

thank you in advance
RCorgiat
Asp.Net User
Re: how to create an admin user account?11/29/2005 9:13:43 PM

0/0

he IDE, above the toolbar click on Website
Then ASP.NET Configuration. This will open a new browser page called ASP.Net Web Site Administration Tool
Here you click on Security. In the Security section there are three areas to setup users, roles and access rules.
You need to first create a role calle 'Administrators', fukky spelled out, 'Admin' or 'Admins' will not work.
After that you can add that role to any users you like.

Rick

ducksoup98
Asp.Net User
Re: how to create an admin user account?11/30/2005 5:42:00 PM

0/0

thanks for your respond.  however, i dont see asp.net configuration.  there are no he IDE (misspell, perhaps?).  care to elaborate little further?  once again thank you advance!
ronnyr
Asp.Net User
Re: how to create an admin user account?12/2/2005 6:08:34 PM

0/0

Hi there,

You can find ASP.NET Configuration at the right top of the Solution Explorer.

Hope this helps...

Ron.  


Best regards,

Ron.

Texrat
Asp.Net User
Re: how to create an admin user account?12/14/2005 4:15:06 AM

0/0

Not if you're using VWD, which many of us are.

I see no way to do this whatsoever in VWD.

RCorgiat
Asp.Net User
Re: how to create an admin user account?12/15/2005 2:21:29 AM

0/0

Start VWD and load up the clubsite.

At the top of the screen look for File - Edit - View - Website

Click on Website. Click on the last (bottom) choice, ASP.NET Configuration

This will open a web page where you can setup security roles and apply them to users.

 

Rick

beta_2
Asp.Net User
Re: how to create an admin user account?12/19/2005 7:39:22 PM

0/0

This option is only available when the Site is created locally.  If your "New Website" location is http:// from the File--> New Website menu, the ASP.Net Configuration option does not seem to appear.  Any suggestions?



beta_2
Asp.Net User
Re: how to create an admin user account?12/20/2005 3:47:18 PM

0/0

I have found a solution to creating this account with the use of the ASP.Net Configuration option locally.

Tried and tested.  Thanks.

btech_rohit
Asp.Net User
Re: how to create an admin user account?12/30/2005 6:31:43 PM

0/0

To create the admin user account in club starter kit.

First run the website, create some users using the Membership link on the website.
(Creating 1 or 2 users is compulsory before u start using web admin tool is Club kit....In other kits the order does not matter but here it matters for reasons i dont know...)

Now 2 cases..

Option 1 (you are running the project locally on your machine)

File - Edit - View - Website
click website
ASP.NET Configuration
Upgrade the roles of members to Administrators whom you want as admins

Option 2 (on remote server)

2 approaches here...
          Slow Approach..(safest).(File>open website>ftp site). Enter proper details.
          It will take few minutes to open..(10-12 mins on 56 kbps modem)
           Now follow the option 1.

         Fastest approach.  (Do only when  u undertstand the below code)
       Open Query analyser . It is client tool shipped with SQL server. Many hosting companies include in their CTRL panel also.

  1. Copy the following T-SQL statement into the Query Analyser window:

    SELECT RoleId FROM aspnet_Roles WHERE RoleName = 'Administrators'

    Click Submit and save the return value for use in step 3. Click Reset.

  2. Copy the following T-SQL statement into the Query Analyser window:

    SELECT UserId FROM aspnet_Users WHERE UserName = '<username>'

    Replace <username> with the user name of the account to which administrator privileges will be granted. Retain the single quotation marks around this case-sensitive value. Click Submit and save the return value for use in step 3. Click Reset.

  3. Copy the following T-SQL statement into the Query Analyser window:

    INSERT INTO aspnet_UsersInRoles (RoleId, UserId) VALUES ('<roleID>', '<userID>')

    Replace <roleID> with the return value from step 1. Replace <userID> with the return value from step 2. Retain the single quotation marks around these values. Click Submit.



          





Club Site Starter Kit ASP.NET 2.0

http://www.rohitjain.com
syahzul
Asp.Net User
Re: how to create an admin user account?1/30/2006 7:46:38 AM

0/0

someone in this forum give me that answer when i start to use club starter kit in remote server.
 
go to Member_Register.aspx, find:

Membership.UpdateUser(user)
FormsAuthentication.SetAuthCookie(CreateUserWizard1.UserName, False)
 
add:

Roles.AddUserToRole(CreateUserWizard1.UserName, "Administrators")
 
now go to your website, create your account there. after that delete those line you add before. i've try it, and it's work.
davidgor
Asp.Net User
Re: how to create an admin user account?2/5/2006 10:12:18 PM

0/0

If you have access to the stored procedures, you can run the following in query manger;

exec aspnet_UsersInRoles_AddUsersToRoles '/','John Doe','Administrator','1/28/2006 6:17:30 PM'

The parameters are ApplicationName, UserName, RoleName,  CurrentTimeUtc

 

11 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

How do you create a admin account - ng.asp-net-forum ... How do you create a admin account, > ROOT > NEWSGROUP > Asp.Net Forum > ... I am trying to loggin into admin account. Where do you create a user profile? In iis? ...
How to create a File Transfer program? - .net_languages.visual_basic_ ... Asp.Net User. How to create a File Transfer program? 12/22/2003 10:14:01 AM. 0/0. Hi every1! ... Log in Create account Help ... No Lists found for Juggle, a ...
How to create and configure user accounts in Windows XP This article describes how to create and configure user accounts using the new User Accounts tool. Note : This tool is not available on a computer that is a member ...
How To Create an Admin Account - Zimbra :: Wiki How To Create an Admin Account. From Zimbra :: Wiki. Jump to: ... existed user account into an admin account (in this example futur-admin will become an admin) ...
Limited User and Administrator Accounts - Microsoft Security ... user accounts in Windows XP and know the difference between a Limited user ... guide to setting up a new user account, see Create and customize user accounts. ...
How To Create An Admin Account? - The Elder Geek on Windows XP How To Create An Admin Account?, User accounts. Options. porty. View Member Profile ... I don't mean 'How do I create a new user with admin privileges? ...
How to limit access to the DotNetNuke admin menu How to create a new site admin' security role ... How to Assign a Security Role to a User Account. Assigning Security Roles to Pages and Modules ...
How to create a domain user account? -uCertify ... the following steps to create a domain user account:Run Active Directory Users ... Support Technician MCITP: Database Admin MCPD:.NET 2.0 MCPD.NET Upgrade from ...
How to Create Users and Groups ... "Admin" or "Administrator" because there are several administration accounts ... will send an email to your new user informing the user of the account name and ...



 
All Times Are GMT