SQLServer Exception

hello there,

i installed sql server 2005 on my laptop and when i try to run my java jarred application.i get this error.but on my desktop i dont have any problem.please help

com.microsoft.sqlserver.jdbc.SQLServerException: Codepage 1,256 is not supported
 by the Java environment.
        at com.microsoft.sqlserver.jdbc.SQLCollation.readCollation(Unknown Sourc
e)
        at com.microsoft.sqlserver.jdbc.SQLCollation.<init>(Unknown Source)
        at com.microsoft.sqlserver.jdbc.IOBuffer.processEnvChange(Unknown Source
)
        at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.processLogon(Unknown
 Source)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Unknown Source
)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknow
n Source)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover
(Unknown Source)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Sour
ce)
        at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at com.MainForm.<init>(com/MainForm)
        at com.MainForm.main(com/MainForm)
zolfAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

quincydudeCommented:
0
zolfAuthor Commented:

this says to change my sqljdbc to someother jdbc jar.but i am using this on more then 2 computers and it is working good.only on one computer i have this problem.what could it be,please help
0
quincydudeCommented:
Check if the jre version installed is the same among all 3 computers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

manuel_mCommented:
please check which versions of java you have installed.
are you connecting to the same SQL-server? Or do you have your databases on each local machine?

The problem is that the collation of your table is set to Codepage 1256 (Arabic). Are all collations in your db set to Codepage 1256 or are there other collations ?

0
zolfAuthor Commented:

>>are you connecting to the same SQL-server? Or do you have your databases on each local machine?
Each has its own local db
0
zolfAuthor Commented:
>>The problem is that the collation of your table is set to Codepage 1256 (Arabic). Are all collations in your db set to Codepage 1256 or are there other collations ?

only one table has this
0
manuel_mCommented:
And all local dbs have the same table with the Codepage 1256 collation?
0
zolfAuthor Commented:

>>And all local dbs have the same table with the Codepage 1256 collation?
what do you mean
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.