Upgrading Stash (2.12) to BitBucket Server. Fatal Error: This driver is not configured for integrated authentication.

I am attempting to upgrade an instance of Stash 2.12 to the latest version of Bitbucket (4.6). Once I upgrade the latest version of Bitbucket, I get:

 

A fatal error has occurred

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • The database, as currently configured, is not accessible. 
    This driver is not configured for integrated authentication. ClientConnectionId:653d7fa9-85b6-40c2-8ea8-be74f8acbeee

I tried installing Java jdk1.8 which did not help. I do get references in the log file to "no sqljdbc_auth in java.library.path". Any help regarding how I can get this up and running?

 

Edit: Should mention that I am using SQL Server Express 2012

2 answers

1 accepted

Based on the JVM being used to run Bitbucket Server, rename either the x64 or x86 DLL to sqljdbc_auth.dll in lib/native. I just renamed the x64 file to sqljdbc_auth.dll and everything worked fine (needed to reboot Bitbucket, of course).

 

Reference:

https://confluence.atlassian.com/bitbucketserver/connecting-bitbucket-server-to-sql-server-776640385.html

Based on the stackoverflow answer for a similar problem, sounds like you have to copy a *.dll file into your JRE's "java.library.path" which is typically equivalent to the $PATH environment variable on windows.  And the *.dll file has to be compiled to the same architecture that your JRE is using (e.g., 64bit vs. 32bit):

http://stackoverflow.com/questions/6087819/jdbc-sqlserverexception-this-driver-is-not-configured-for-integrated-authentic

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,026 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you