aspose file tools*
The moose likes JDBC and the fly likes select permission denied on object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "select permission denied on object "table"" Watch "select permission denied on object "table"" New topic
Author

select permission denied on object "table"

nabou diack
Greenhorn

Joined: Oct 17, 2001
Posts: 13
Hi I had an rmi application which was working well on access and i'm trying to make it run on sql server but I'm having lots of troubles.
I have granted all the rigrts to the tables but when I try to connect from another computer than the server I get this error:
select permission denied on object "table"
When I'm on the server I get the following errors:
Invalid descriptor index
and
Connection is busy witn results for another hstmt.
Can anyone please help?
Thanks
Daniel Dunleavy
Ranch Hand

Joined: Mar 13, 2001
Posts: 276
This may not help but...
Part of the security of sql server would ask if it should use the NT login or the SQL SERVER login to verify security. In which case you should choose the sql server login.
Hope it solves the problem
Dan
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

try the solution posted here. Sometimes different databases have subtle(but annoying) differences. http://www.javaranch.com/ubb/Forum3/HTML/000460.html
also, did you change drivers when you changed databases? If you did, then what driver were you using, and what driver did you change to? This could account for the differences you are experiencing too.
Jamie
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

try the solution posted here. Sometimes different databases have subtle(but annoying) differences. http://www.javaranch.com/ubb/Forum3/HTML/000460.html
also, did you change drivers when you changed databases? If you did, then what driver were you using, and what driver did you change to? This could account for the differences you are experiencing too.
Jamie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: select permission denied on object "table"