Welcome, Guest
Username: Password: Remember me
Components and Libraries for Database Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

MSSQLConnection - Error 137 after reconnect 5 years 2 months ago #13694

  • Rafał
  • Rafał's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
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.

MSSQLConnection - Error 137 after reconnect 5 years 2 months ago #13696

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
please give us more info
your OS, code sample, etc
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

MSSQLConnection - Error 137 after reconnect 5 years 2 months ago #13707

  • Rafał
  • Rafał's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 0
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:

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

Last edit: by Rafał.
  • Page:
  • 1