A
Abhishek Srivastava
Hello All,
I have had this problem many times. Most of the times I have blindly
added all possible permissions combinations untill it got solved (many
times I just added asp.net account to the administrator groups).
But this time I am working on a server machine and therefore I cannot
add all the possible combinations of permissions.
The error comes everytime my ASP.Net application tryies to connect to
SQL Server.
So far the only permission I have added is
1. Went inside enterprise manager.
2. Under the node of my SQL server I opened Security, Logins
3. right clicked and said new login
4. in the name said nt229141\aspnet
gave access to only BlogDB database (which is the one used by my
application.)
A popup came up saying that aspnet has not been given access to the
default database. So he would not be able to access the default
database.
I proceeded since this application only needs to access BlogDB.
What is it which I didn't do correctly? Why am I still getting access
denied?
I am using Windows 2003 server.
regards,
Abhishek.
I have had this problem many times. Most of the times I have blindly
added all possible permissions combinations untill it got solved (many
times I just added asp.net account to the administrator groups).
But this time I am working on a server machine and therefore I cannot
add all the possible combinations of permissions.
The error comes everytime my ASP.Net application tryies to connect to
SQL Server.
So far the only permission I have added is
1. Went inside enterprise manager.
2. Under the node of my SQL server I opened Security, Logins
3. right clicked and said new login
4. in the name said nt229141\aspnet
gave access to only BlogDB database (which is the one used by my
application.)
A popup came up saying that aspnet has not been given access to the
default database. So he would not be able to access the default
database.
I proceeded since this application only needs to access BlogDB.
What is it which I didn't do correctly? Why am I still getting access
denied?
I am using Windows 2003 server.
regards,
Abhishek.