After referring someone else to this post I realized that I never answered your questions. I am sorry!
MEight:Thanxs '%orton'
I was able to grantlogin to
'machineName\ASPNET', however, got an error stating that permissions
already existed for 'machineName\ASPNET' when I tried to grantdbaccess.
Then you really didn't need to do anything further with *that* command.
MEight:
I do have EnterpriseManager<snip>
But when I went
back ino the database/users, I didn't see 'machineName\ASPNET' in the
User list. Why is that?
Enterprise Manager is not good about refreshing data. Either
close Enterprise Manager completely and reopen it, or start at your
server right-clicking and choosing Refresh on each node all of the way
down until you get to the node for the data you are concerned
with.
MEight:
Where can I look to see the results of
executing the sp_grantlogin & sp_grantdbaccess? Shouldn't there be
a list for that somewhere?
You can see this in Enterprise Manager (after forcing the data to refresh), or you can execute the
sp_helplogins system stored procedure from Query Analyzer (or the osql commandline utility):
EXEC sp_helplogins
MEight:
And just to make sure that I
understand what is happening. The sp_grantlogin simply gives the user
'machineName\ASPNET' permission to login into the SQLServer (1st
level). Then sp_grantdbacess gives the user 'machineName\ASPNET'
permission to access the specified database (from the use yourDatabase)
Yes, you've got it! You can read up on what MSDN has to say about
sp_grantlogin and
sp_grantdbaccess for more information.
If you haven't done so already, you should install
SQL Server 2000 Books Online. This is a great free SQL Server reference.