I use a database on a remote server through webservices with ado.net functions.
When I login as a user that has db_admin rights, everything works fine.
now i asked the administrator of the server to create u new user for me, with only SELECT permission. He created a user with the db_datareader role.
When I try to query the database with this new user through ADO.NET, I get the same message on every SELECT statement: invalid object name '[tablename]', for any table in the database.
I don't understand why this doesn't work, and especially I don't understand the error message. When there are insufficient right, I would expect another errormessage. Why a message that tells me that a table that DOES exist doesn't exist? The server administrator cannot help me any further.
When I try the same routine on a local MSql database, it all works fine. The difference is that I grant all the permissions through ADO with transact-sql and the server administrator used the Microsoft Enterprise Manager
Does someone know any explanation?
When I login as a user that has db_admin rights, everything works fine.
now i asked the administrator of the server to create u new user for me, with only SELECT permission. He created a user with the db_datareader role.
When I try to query the database with this new user through ADO.NET, I get the same message on every SELECT statement: invalid object name '[tablename]', for any table in the database.
I don't understand why this doesn't work, and especially I don't understand the error message. When there are insufficient right, I would expect another errormessage. Why a message that tells me that a table that DOES exist doesn't exist? The server administrator cannot help me any further.
When I try the same routine on a local MSql database, it all works fine. The difference is that I grant all the permissions through ADO with transact-sql and the server administrator used the Microsoft Enterprise Manager
Does someone know any explanation?