Ajuda

Alojamento clássico e Alojamento Web Ajuda

Activating ASP.NET 2.0 Personal Web Site User Account

This article only applies to Web & Classic Hosting. For more information, see What type of hosting account do I have?

ASP.NET 2.0 user accounts must be manually activated through the Hosting Control Panel after creation.

For more information about the ASP.NET 2.0 Personal website, see the Introduction to the Personal website Starter Kit on MSDN.

To Activate an ASP.NET 2.0 User Account

  1. Log in to your Account Manager.
  2. Click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Databases section of the Hosting Control Panel, click the SQL Server icon.
  5. Next to the name of your SQL Server database, click Admin Tool. The SQL Server Web Admin tool displays.
  6. In the tree on the left, expand the Connection folder and select Connection.
  7. Enter the User Name and Password for your database. You created your user name and password when you set up your SQL server database.
  8. Expand the Tools folder on the left and select Query Analyzer.
  9. Copy the following T-SQL statement into the Query Analyzer window:

    SELECT UserId FROM aspnet_Users WHERE UserName = ''

    Replace 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.

  10. Copy the following T-SQL statement into the Query Analyzer window:

    UPDATE aspnet_Membership SET IsApproved = 1 WHERE UserId = ''

    Replace with the return value from step 9. Retain the single quotation marks around this value. Click Submit.


Este Artigo Foi Útil?
Obrigado pelos seus comentários. Para falar com um representante do serviço de apoio ao cliente, utilize o número de telefone da assistência ou a opção de conversação acima.
Ficamos contentes por o termos ajudado! Podemos fazer mais alguma coisa por si?
Pedimos desculpas. Indique-nos o que era confuso ou o motivo pelo qual a solução não resolveu o seu problema.