Click here to Skip to main content
16,011,685 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I am facing a problem in my web application while accessing it from a computer other then the web server an error is come that is "can not access database from user sa excess is denied" i thing this is something related to stored procedure because after pasting link in the address bar first page comes but when i click the next button after giving all the inputs application shows this database excess denied.
Posted
Comments
Sergey Alexandrovich Kryukov 26-Mar-12 1:20am    
What is "excess database"?
--SA
StM0n 26-Mar-12 1:46am    
Damn... you beat me by 24 min...

1 solution

To excess a database, you might need to memorize about a Petabyte of data.

I think the user you are trying to log in with to the database does not have privileges to that particular database. Try logging in as a superuser and see if your user got sufficient privileges.

Edit: (Considering OPs comment on this answer) See if this helps you: http://stackoverflow.com/questions/2330439/access-is-denied-when-attaching-a-database[^]
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 26-Mar-12 2:23am    
:-)
My 5. I wonder is OP understands it or not... :-)
--SA
tnitin55 26-Mar-12 5:40am    
sa is a default user in sql server2005 so i think it has all the privileges.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900