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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...