Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

com.microsoft.sqlserver.jdbc.SQLServerException: Invalid O..

 
   Database Help (Home) -> JDBC Driver RSS
Next:  JDBC driver has issues with VARCHAR(24)  
Author Message
Murthy

External


Since: Feb 19, 2008
Posts: 1



(Msg. 1) Posted: Tue Feb 19, 2008 11:19 pm
Post subject: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid Object Na
Archived from groups: microsoft>public>sqlserver>jdbcdriver (more info?)

we are trying to fetch records using the select statement from the SQL Server
2005 Server using the jdbc driver 1.2 . but when the batch is executed,
getting the error ".com.microsoft.sqlserver.jdbc.SQLServerException: Invalid
object name".
connection url we are using is
DB_URL=jdbc:sqlserver://172.23.51.182\\devenv:1253.


Earlier we are using SQL Server 2000 and the batch is running fine.
the connection url is
DB_URL=jdbc:microsoft:sqlserver://172.23.51.47:1433

would like to know whether there is any difference with the connection url.

any help in this regard would be appreciable.

Regards,
Murthy.

 >> Stay informed about: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid O.. 
Back to top
Login to vote
binvij

External


Since: Mar 18, 2008
Posts: 2



(Msg. 2) Posted: Tue Mar 18, 2008 7:50 pm
Post subject: RE: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid Object Na [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The connection url that you have seems to be correct, but for testing purpose
can you try the following :

jdbc:sqlserver://172.23.51.182;instanceName=devenv;portNumber=1253;

Also your 2000 connection string does not seem to have an instance . So is
devenv your instance name ?

--
Bindesh Vijayan[MSFT]


"Murthy" wrote:

> we are trying to fetch records using the select statement from the SQL Server
> 2005 Server using the jdbc driver 1.2 . but when the batch is executed,
> getting the error ".com.microsoft.sqlserver.jdbc.SQLServerException: Invalid
> object name".
> connection url we are using is
> DB_URL=jdbc:sqlserver://172.23.51.182\\devenv:1253.
>
>
> Earlier we are using SQL Server 2000 and the batch is running fine.
> the connection url is
> DB_URL=jdbc:microsoft:sqlserver://172.23.51.47:1433
>
> would like to know whether there is any difference with the connection url.
>
> any help in this regard would be appreciable.
>
> Regards,
> Murthy.

 >> Stay informed about: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid O.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]U.. - Folks, I was getting this exception occasionally and tracked in down to the application server C drive being full. Looks like the drivers are writing to logs (event ?) on this drive. Freeing up space removed the problem. Hope this helps someone. ..

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for - Hi, I am trying to connect SQL Server 2000 through Java type 4 Driver, i am getting following error. (Server is running on Windows XP Pro SP2 OS.) 15:08:29,782 INFO [DatasourceConnectionProvider] Using datasource: java:/MSSQLDS 15:08:29,782 INFO ..

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for - Hi, I am trying to connect SQL Server 2000 through Java type 4 Driver, i am getting following error. (Server is running on Windows XP Pro SP2 OS.) 15:08:29,782 INFO [DatasourceConnectionProvider] Using datasource: java:/MSSQLDS 15:08:29,782 INFO ..

SQLServerException - I am getting a SQLServerException:The statement must be executed before any results can be obtained. The statement must be executed before any results can be obtained. randomly when doing an insert of a table and needing back the IDENTITY field. It..

JDBC 1.2 client against SQL 2005 JDBC 2.0 server? - We need to the server-side of this driver by running xa_install.sql. The client app running on WebSphere (on an app server) will be using version 1.2 of the JDBC driver. Is it safe to install the 2.0 version on the database server, or should we stick...
   Database Help (Home) -> JDBC Driver All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]