Change ASP.NET Config

I wanted to please ask how can I change the settings listed in ASP.NET Configuration once a website is deployed.  I ordinarily add users using the ASP.NET configuration tool in Visual Studio.  

However, once the web application is deployed how do I change the settings without going into Visual Studio?  I am using ASP.NET 2.  If someone could please let me know the steps to take, that would be appreciated.

Thanks.
LVL 1
jjrr007Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lotusnotesnewbieCommented:
Are you using the inbuilt ASP.NET DB or your own database?
0
tomasgruenerCommented:
if the users are stored in the configuration file, try to edit web.config
0
jjrr007Author Commented:
Thanks for your patience and time.  I am using the ASP.NET database.  Which table or stored procedure should I use to add users?  I would like to minimize the chances of a bug occurring later.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

lotusnotesnewbieCommented:
you can easily code it in one or two forms. Use the inbult CreateUserWizard Control to create new users, or use the Membership functions.

Membership class in using System.Web.Security;
Just add membership class and intellisence it will list a lot of options almost everything you can doing using the configurator.
Like Creating /Updating /Deleting users.
eg:
Membership.CreateUser
Membership.DeleteUser
Membership.UpdateUser
0
jjrr007Author Commented:
lotusnotesnewbie,

I prefer to not use Visual Studio to add new users, because the application is deployed.

The user info is stored in the tables/stored procedures created in the database by asp.net.  Should I use a stored procedure to create a user or maybe just update a table?  If so which one?  I want to ensure that no bugs come up later due to creating user(s).  Thanks.
0
lotusnotesnewbieCommented:
:) All the commands mentioned above use internally the stored procedures and tables that you had just requested. If you still want to go by stored procedures, I can send the list
0
jjrr007Author Commented:
lotusnotesnewbie,

Thanks for your time.  In your post, 22938120, are those commands in Visual Studio that I could use to create the user.  In other words, you are recommending that I can create a page or new application to create the user(s)?

0
lotusnotesnewbieCommented:
Yes the commands are in Visual Studio. Yeah you can create a page to create/update/delete the users. This is the easiest way

Or else here is the list of stored procedures that you can use:

aspnet_Membership_ChangePasswordQuestionAndAnswer
aspnet_Membership_CreateUser
aspnet_Membership_FindUsersByEmail
aspnet_Membership_FindUsersByName
aspnet_Membership_GetAllUsers
aspnet_Membership_GetNumberOfUsersOnline
aspnet_Membership_GetPassword
aspnet_Membership_GetPasswordWithFormat
aspnet_Membership_GetUserByEmail
aspnet_Membership_GetUserByName
aspnet_Membership_GetUserByUserId
aspnet_Membership_ResetPassword
aspnet_Membership_SetPassword
aspnet_Membership_UnlockUser
aspnet_Membership_UpdateUser
aspnet_Membership_UpdateUserInfo
aspnet_Roles_CreateRole
aspnet_Roles_DeleteRole
aspnet_Roles_GetAllRoles
aspnet_Roles_RoleExists
aspnet_Setup_RemoveAllRoleMembers
aspnet_Users_CreateUser
aspnet_Users_DeleteUser
aspnet_UsersInRoles_AddUsersToRoles
aspnet_UsersInRoles_FindUsersInRole
aspnet_UsersInRoles_GetRolesForUser
aspnet_UsersInRoles_GetUsersInRoles
aspnet_UsersInRoles_IsUserInRole
aspnet_UsersInRoles_RemoveUsersFromRoles

You can check for the parameters by right clicking on each stored procedure.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jjrr007Author Commented:
Thanks. To create/delete a user do I only need the two stored procedures listed here:

aspnet_Users_CreateUser
aspnet_Users_DeleteUser

Are there any other sprocs to create/delete a user?  I just want to minimize the chances of a bug coming up in the program.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.