Originally posted by Chetan Parekh:
Just close your eyes.
Concentrate on breathe and count 25-24-23-22-21-...1 in the mind.
"console application"? - not sure what you mean by that. Do you just mean a stand alone Java application?
No, you're not. You're not specifying a user name and password, neither in your URL nor in the getConnection() call. That's why jTDS is trying to use the native DLL to authenticate: by not specifying a user name and password you're asking it to use the current Windows user's credentials to log in.
Originally posted by Praveen palukuri:
hi,
I've a doubt that how can i assign a bean value to jsp variable. i'd tried the below code:
<% String status = "<bean:write name='usersearch' property='userStatus'/>"; %>
But it's giving an error. If any one knows please help me.
Regards,
Praveen.
Originally posted by Maximilian Stocker:
When you come back see my previous post about SQL server authentication vs Windows authentication.
Originally posted by Maximilian Stocker:
Okay I did more research and found the error. You are attempting to use Windows authentication. Use SQL Server authentication instead.
Originally posted by Maximilian Stocker:
The JTDS driver is FAR less buggy than the ms one. I have never seen that error before with JTDS and since there are no native components to the JTDS driver I would conclude that the error you posted has nothing to do with the driver. That error is something else wrong.
Please post the top part of your stack trace and the offending code. There is another bug in your program/setup which you currently have misidentified.
Originally posted by Maximilian Stocker:
Also the MS link works fine for me. I can get to the page and download the setup file so if it doesn't work for you something is wrong with your internet connection or browser.