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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,827 views 26 12
Join discussion

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