• Asp.net 2.0

    Posted on October 23rd, 2008 admin 1 comment

    Asp.net 2.0 – ease in creating users and roles

    I assume that are in these following scenarios:

    1. You are paying a company to host your website (ex: www.hostony.com, www.bravehost.com)

    2. Your hosting is Windows-based (run by IIS)

    3. You have a MSSQL server instance database and you know these information: server name, username, password, database name

    Step 1: Creating MSSQL Provider table for membership and roles

    1. Navigate to [drive:]\%windir%\Microsoft.NET\Framework\v2.0.50727 and run a utility called aspnet_regsql.exe
    2. Supply MSSQL credentials
    3. Follow GUI prompts and finish the utility

    BINGO, you now have an empty Provider table

    Read the rest of this entry »