" /> Unable to connect framework 8.5 with MSSQL - Genesys CTI User Forum

Author Topic: Unable to connect framework 8.5 with MSSQL  (Read 4644 times)

Offline Django

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Unable to connect framework 8.5 with MSSQL
« Reply #15 on: February 26, 2020, 09:18:54 AM »
Advertisement
Thanks.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Unable to connect framework 8.5 with MSSQL
« Reply #16 on: February 26, 2020, 11:06:21 AM »
Fixed?

Enviado de meu SM-N9600 usando o Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Unable to connect framework 8.5 with MSSQL
« Reply #17 on: February 26, 2020, 11:07:21 AM »
[quote author=Janis link=topic=11542.msg52541#msg52541 date=1582182605]
I'd recommend to use Wireshark on port 1433. You will see more information about your problem.
[/quote]SQL is encrypted... You can't see the negotiation using standard Wireshark

Enviado de meu SM-N9600 usando o Tapatalk


Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Unable to connect framework 8.5 with MSSQL
« Reply #18 on: February 26, 2020, 11:12:11 AM »
I was able to get the error from there when password was wrong in the .cfg file.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Unable to connect framework 8.5 with MSSQL
« Reply #19 on: February 26, 2020, 11:14:30 AM »
Wasn't SQL Profiler?

Enviado de meu SM-N9600 usando o Tapatalk


Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Unable to connect framework 8.5 with MSSQL
« Reply #20 on: February 26, 2020, 11:20:55 AM »
No. But you are very likely right in case when login was successful but later do not have some internal rights in MSSQL like it was in this case. Checking MSSQL logs would be more universal method.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Unable to connect framework 8.5 with MSSQL
« Reply #21 on: February 26, 2020, 11:24:12 AM »
Not because rights, it is because sql natively encrypts all communications even before login... So... Kinda hard to imagine how you could catch a wrong password using Wireshark. Because of the protocol, not because of the negotiation.


Enviado de meu SM-N9600 usando o Tapatalk


Offline Janis

  • Full Member
  • ***
  • Posts: 123
  • Karma: 4
Re: Unable to connect framework 8.5 with MSSQL
« Reply #22 on: February 26, 2020, 11:39:17 AM »
Made a quick test. Here is the content of captured packet received from MSSQL server:


[code]H*~
)CT%E\@:_C9 jPhmTHLogin failed for user 'sa'. MSSQL2012[/code]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Unable to connect framework 8.5 with MSSQL
« Reply #23 on: February 26, 2020, 11:40:37 AM »
[emoji102] Welp... Hehe what a surprise
Thanks for taking the time to show me! Appreciate it
Thanks!

Enviado de meu SM-N9600 usando o Tapatalk