Re: SQLServerException error
What does this have to do with JDBC?
db
Re: SQLServerException error
Where else should this be posted then?
Re: SQLServerException error
You said
Quote:
I try to initialize the database by running a batch file
Did you perhaps mean a Java program, not a batch file at all?
db
Re: SQLServerException error
Open "SQL Sever Configuration manager" tool and check that TCP/IP is Enabled in "SQL server Network configuration" section.
Re: SQLServerException error
I checked SQL Sever Configuration manager tool and TCP/IP is enabled.And with respect to running batch file,the batch file which i am trying to run calls a Java class called InitializeDatabase where there is the code to initalize the db ,and from this file I am getting the error.I mean the error is mentioned in this java class.
Re: SQLServerException error
I fixed my error.In the SQLServer config Manager ->SQLServerNetworkConfiguration ->Protocols for <instancename>->TCP/IP->IPAddresses tab I set the IPAll to 1433 and the error got fixed.Thanks for the help though.
Re: SQLServerException error
Quote:
Originally Posted by
Lucy
I fixed my error.In the SQLServer config Manager ->SQLServerNetworkConfiguration ->Protocols for <instancename>->TCP/IP->IPAddresses tab I set the IPAll to 1433 and the error got fixed.Thanks for the help though.
So as I suspected, it wasn't a JDBC matter at all.
db