All Apps and Add-ons

Splunk DB Connect 2: Why am I getting Internal Server Error trying to connect to MS SQL Server 2012?

samtawfik
New Member

Having an issue connecting to MS SQL server 2012 (local). Error : "⚠ Internal Server Error"

Here is my db_connections.conf file modified:

[splunkcn]
connection_type = mssql
database = ZiteDB
host = CAWCDELL158\SQLEXPRESS
identity = splunkDB
jdbcUseSSL = 0
jdbcUrlFormat = jdbc:jtds:sqlserver://<host>:<port>/<database>;useCursors=true;domain=<domain_name>;useNTLMv2=true
domain_name = MSSQLSERVER12
disabled = 0
port = 50375

Here is my DB Connect V2 configuration: No issue on my identities screen.

App: Splunk DB Connect v2
Host: CAWCDELL158\SQLEXPRESS
Database Types: MS SQL Server Using jTDS driver
Default Database: ZiteDB
Identity: splunkDB
Port: 50375

I am suspecting the issue is in the conf file, specific to the Domain Name.
Thanks in advance.

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee
0 Karma

samtawfik
New Member

jTDS driver is installed, as well as JRE 8.

0 Karma

youngc_splunk
Splunk Employee
Splunk Employee

Sam, maybe we should use DB Connect 1 until someone answers this DB Connect 2 issue.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...