1. Chen Mey Lee
  2. PowerServer
  3. Tuesday, 25 May 2021 03:19 AM UTC

Hi,

Do you know why below error return when connection to ODBC-ASE 64 bit  database ? 

Fail: PowerServer[0]

ErrorMessage: Database connection or transaction is not opened, commit is invalid .MoveNext()

-- End of stack trace from previous location where exception was thrown at .MoveNext()

 

Chris Pollach Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 15:05 PM UTC
  2. PowerServer
  3. # 1

Hi Chen May;

  PS2021 is technically a "whole new ball game" compared to PS2020. I would like to suggest that you open a Support Ticket for this issue. Especially, since PS2021 is currently a "beta". This will allow our Appeon Engineering team to fully delve into your issue. It could be something new that PS2021 was not anticipating. Of course, that is what a Beta is design to do ... expose these anomalies. Many thanks in advance!

Regards ... Chris

Comment
  1. Chen Mey Lee
  2. Thursday, 27 May 2021 07:57 AM UTC
Thanks, Bug 6684 created.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 27 May 2021 13:17 PM UTC
Thanks Chen May ... I now see that Support is in the process of trying to recreate the issue.
  1. Helpful
There are no comments made yet.
Chen Mey Lee Accepted Answer Pending Moderation
  1. Wednesday, 26 May 2021 05:35 AM UTC
  2. PowerServer
  3. # 2

 

Hi Chris,

I using PowerServer2021 beta 2.

Use below setting to connect database :-

SQLCA.dbms = 'ODBC'

SQLCA.dbparm = "ConnectString='DSN=xxx;UID=xxx;PWD=xxx'", driver='ase'

Below is my Connection-Cache.json :-

"Connections": [
    {
      "CacheName": "DEVK_KL_DEFDB",
      "ConnectionType": "Odbc",
      "Server": "",
      "Host": "",
      "Port": 0,
      "Database": "",
      "UserID": "",
      "Password": "",
      "MinPoolSize": 0,
      "MaxPoolSize": 100,
      "ConnectionTimeout": 15,
      "CommandTimeout": 30,
      "IsDynamicDbConnect": true,
      "OtherOptions": "",
      "EnablePooling": false,
      "ConnectionLifetime": 0,
      "OdbcName": "DEVK_KL_DEFDB",
      "DataSource": "",
      "OdbcDriver": "ASE"
    },

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 May 2021 18:01 PM UTC
  2. PowerServer
  3. # 3

Hi Chen May;

  If this is for PowerServer version 2020 or below - have you tried the native (recommended) ASE driver in PS instead of ODBC?

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.