Forum
× Components and Libraries for Database Development, discussions, problems and suggestions

Question MSSQLConnection - Error 137 after reconnect

  • Rafał
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 2 days ago #13694 by Rafał
Hi All,

I Updated CT from 6.7 to 6.9 version. I have problem with TMSSQLConnection component.
After open project in CT when I click "Connected" on MSSQLConnection, connection is done. When i disconnect and click "Connect" again i receive below error:

MSSQLConnection1: Error 137:

It always appears when I connect again.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago - 1 week 2 days ago #13696 by Sternas Stefanos
Replied by Sternas Stefanos on topic MSSQLConnection - Error 137 after reconnect
Thanks Sir
please give us more info
your OS, code sample, etc

PilotLogic Architect and Core Programmer
Last edit: 1 week 2 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Rafał
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 1 day ago - 1 week 1 day ago #13707 by Rafał
Replied by Rafał on topic MSSQLConnection - Error 137 after reconnect
Win 8.1, MSSQL : Microsoft SQL Server 2008 R2 (SP3) - 10.50.6220.0 (X64)

In first time after click button:
procedure TForm1.Button1Click(Sender: TObject);
begin
  if MSSQLConnection1.Connected=False then
    MSSQLConnection1.Connected:=True                         ---- It breake here
  else
    MSSQLConnection1.Connected:=False;
end;



when i click Continue and click again then show:

Attachments:
Last edit: 1 week 1 day ago by Rafał.

Please Log in or Create an account to join the conversation.