Activating ASP.NET 2.0 Personal Web Site User Account
Print this Article
Last Updated:
August 12, 2008 11:01 AM
ASP.NET 2.0 user accounts must be manually activated through the Hosting Control Center after creation.
For more information about the ASP.NET 2.0 Personal Web Site, see the Introduction to the Personal Web Site Starter Kit on MSDN.
To Activate an ASP.NET 2.0 User Account
- Log in to your Account Manager.
- In the My Products section, select Hosting.
- Next to the hosting account you want to modify, click Manage Account.
- In the Databases section of the Hosting Control Center, click the SQL Server icon.
- Next to the name of your SQL Server database, click Open Manager. The SQL Server Web Admin tool displays.
- In the tree on the left, expand the Connection folder and select Connection.
- Enter the User Name and Password for your database. You created your user name and password when you set up your SQL server database.
- Expand the Tools folder on the left and select Query Analyzer.
- Copy the following T-SQL statement into the Query Analyzer window:
SELECT UserId FROM aspnet_Users WHERE UserName = '<username>'
Replace <username> with the user name of the desired account. Retain the single quotation marks around this case-sensitive value. Click Submit and save the return value for use in step 10. Click Reset.
- Copy the following T-SQL statement into the Query Analyzer window:
UPDATE aspnet_Membership SET IsApproved = 1 WHERE UserId = '<userID>'
Replace <userid> with the return value from step 9. Retain the single quotation marks around this value. Click Submit.