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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...