Question about Forms Authenication Sample

The instructions say to replace the "LocalMachine" towards the end of
the createuserstore.sql. But i don't see any mention of "LocalMachibe" in the
script at all. Any ideas?


INSTRUCTIONS:

Locate "LocalMachine" towards the end of the script and replace it
with your own computer name. For Windows 2003 users, replace
LocalMachine\ASPNET with NT AUTHORITY\NETWORK SERVICE (except when in
IIS 5 compatibility mode).

Bottom of createuserstore SCRIPT:

exec ('sp_grantlogin [' + @ASPUserName + ']');

-- Add a database login for the UserAccounts database for the ASPNET
account
exec ('sp_grantdbaccess [' + @ASPUserName + ']');

-- Grant execute permissions to the LookupUser and RegisterUser stored
procs
exec ('grant execute on LookupUser to [' + @ASPUserName + ']');
exec ('grant execute on RegisterUser to [' + @ASPUserName + ']');

[1068 byte] By [RyanSwann] at [2008-1-7]

SQL Server

Site Classified