Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select permission denied on object "table"

 
nabou diack
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic