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

This widget could not be displayed.

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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
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