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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

428 views 6 9
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