wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes SQL Server Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "SQL Server Exception" Watch "SQL Server Exception" New topic

SQL Server Exception

karan chandok

Joined: Jul 15, 2011
Posts: 25
My java program is giving the below exception after making connection with sql server

com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'tbl_relay_to_sites_time_stats'.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.sendExecute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteUpdate(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(Unknown Source)

table is there in db
Someone please help me
Srigopi Ram

Joined: Sep 16, 2011
Posts: 1
Possibly the database is missing a synonym (a public one) on this table.
I agree. Here's the link: http://aspose.com/file-tools
subject: SQL Server Exception
It's not a secret anymore!