Discussions tagged SQL Server

This is the server we are using The application loads. After the password is entered these are the messages that appear and I believe in this order.   This is AEM data source. There is only 4 items that appear in the ODBC Data Source dropd...
We are currently trying out a trial version of PB 2019.  We are running against a SQL SERVER 2016 DB. Using the IDE we're able to connect, retrieve and update to the database.  When the .EXE is built we can only connect and retrieve from the DB.  No ...
Hello  I have several datawindows coming from an old application with graphic SQL written win Powerbuilder outer Join syntax (*= or =*). For example: select student.name, student_email.email from student, student_email where student.id *= student_e...
I am getting an error when exporting a datawindow using the C# Model Generator to a snapdevelop web api.  When I open the C# Model Generation window I am asked to select/setup a database connection profile which I am able to do.  The test connection ...
Hi All, We have numerous SQL Server Data Sources defined in our Appeon Powerserver AEM, to connect to various SQL Server Database. In our Mobile App, we use the Cachename to connect our SQLCA object to the DB. We now have a requirement to display ...
Hello all, I'm a longtime (more than 22+ years) PowerBuilder developer. We have upgraded to PowerBuilder 2017 R2 through Appeon. I have a question about the support for “Impersonation” using a different Windows AD System account after logging into ...
because of the need to disable TLS 1.0, i'm moving to the latest sql driver that supports tls 1.2 (unless anyone has better suggestions) SQLCA.DBParm = "ConnectString='DSN=" + ls_dsn + ";UID=" + sle_userid.text + ";PWD=" + ls_password +"',DelimitIde...
I have just changed our application to use a DSN-less connection to ODBC, and I am struggling with how to trap an incorrect password condition.  Previously (our current production code), we had an OLE DB connection.  We have a login screen, and if th...
Hi All, We have just realized that the Native SQL Server driver in Powerbuilder has Multiple Active Result Sets (MARS) enabled by default.  We haven't really noticed any issue except that every time the application connects, it uses 2 connections.  ...
Hello I'm migrating a PB2017 application to support datatype from CHAR to NCHAR and I have problems using SNC connection migrating from  PB 6.5 and Native MS SQL driver. This is the connection string: SQLCA.DBMS = "SNC SQL Native Client(OLE DB)"SQL...
I need the ODBC Driver for SQL Server so I can use encryption TLS 1.2.  I've encountered two problems with inserting and updating datawindows.  I have tables and columns where there is a column on a table that cannot be null but has a database defau...
Dear supporter:        As we deploy Powerbuilder application with SNC connection for SQLSERVER2017, few PC encountered error message below to indicated that the SNC not connected, as we download and installed SQLserver SNC driver 2008, and deploy t...
Hi, I'm having an issue uploading a image Blobs to a MS SQL Server and can't figure out where I'm going wrong (Using Powerbuilder 2017 R3, both in Desktop App and Appeon Mobile). The Upload Blob is working and creating the database records but it l...
Hi, How are people copying files (images or other files) from Appeon Mobile apps to their server? I am trying trying to use UPDATEBLOB to store the image in the database but the below code is throwing the following error: "Error Code: 10999. Object...
Hi everyone,After almost 20 years we've decided to migrate all our applications from ASE to MS SQL Server.  We've been able to use SQL Server Migration Assistant to migrate the database and I'm looking at updating my Powerbuilder code to work with SQ...
Using MS SQL SERVERif in the SQL of the Datawindow there is a comment then when the retrieve() will not work and no error dysplay will be great if in the log after the deploy of the application is a warning  ...
How to retrieve datawindow in PowerServer Web? Below are my configuration: **Open event script of my window  if AppeonGetClientType() = 'PB' thenSQLCA.DBMS = "ODBC"SQLCA.AutoCommit = FalseSQLCA.DBParm = "ConnectString='DSN=PB Demo DB V2017R2 Unico...
DB Connection Issues w/ Mobile deploy w/ Native Microsoft SQL Server  Summary Have not been able to deploy as mobile application and go beyond the database connection. Have tried using native and ODBC and have failed numerous times. PB2017 Help con...
Hello, I am getting this error while I am trying to run the powerbuilder(Version 12.5) application. I make sure the data source name,user name and password is correct. But still I am getting this error. FYI - My SQL authentication mode is SQL and W...
I am creating a new datawindow using a SQL Select. Because of some limitations in SQLServer, I need start with a WITH  (Common Table Expression) I can't seem to get PowerBuilder to understand the result set and get no columns (Or PB Crash)   PB12.6...
  • Page :
  • 1