Packaging and copying the client app – PB Docs 2022
Packaging and copying the client app This section will walk you through packaging and copying the client app to the web root of the IIS web site. Before you take the steps below to package the client app, make sure you have built the application successfully by following instructions in Tutorial 1 > “Task 4:…
Preparing the environment – PB Docs 2022
Preparing the environment Step 1: To build and deploy the PowerServer project using the command-line tool (instead of within PowerBuilder IDE), install the following software. Windows 11 or 10, or Windows Server 2022, 2019, or 2016 PowerBuilder Utilities 2022 R2 The command-line tool (PBAutoBuild220.exe) is included in PowerBuilder Utilities. PowerBuilder Runtime 2022 R2 PowerServer Toolkit…
Introduction – PB Docs 2022
Introduction PowerServer deployments are different from traditional PowerBuilder client/server application deployments in the following ways: During the PowerServer project compilation and deployments: All DataWindows/DataStores are automatically converted to .NET models, and then automatically exposed via REST/JSON APIs; All embedded SQLs will be deployed to the server side, and then automatically exposed via REST/JSON APIs; All…
Creating the ODBC data source – PB Docs 2022
Creating the ODBC data source This section is required only when the SQL Anywhere or ASE database is used. A database connection needs to be established between the development PC and the database server (for converting DataWindows to models), and between the web server and the database server (for retrieving data). Currently the SQL Anywhere…
Customize cloud app launcher – PB Docs 2022
Customize cloud app launcher Contents Instead of uploading the default app launcher, you can create your own launcher and upload it. To create and customize the launcher: Select Tools > Cloud App Launcher Profile from the menu bar. The Cloud App Launcher Profiles window appears. Click the New button to add a new launcher profile….
Creating the Container Instance – PB Docs 2022
Creating the Container Instance In the Azure portal, create a new Container Instance resource and fill in the main values in the Basics tab. In the Image source option, select Azure Container Registry, and then select the repository and image you just uploaded. In Networking, set the Networking type option to Public, the DNS name…
Creating a cache – PB Docs 2022
Creating a cache After the ODBC data source is created successfully, you should be able to select it in the Database Configuration dialog box. You can create a database connection cache for the SQL Anywhere database with the following steps: In the Database Configuration dialog box, select SQL Anywhere (ODBC) from the Provider list. Enter…
How to switch to the test mode – PB Docs 2022
How to switch to the test mode Open the Applications.json file in the compiled Web APIs > AppConfig folder (or the solution > UserExtensions project > AppConfig folder). Change the “RunMode” attribute value from “0” to “1”. With the “RunMode” set to 1, when the installable cloud app is started, the app will prompt the…
Importing the production license – PB Docs 2022
Importing the production license If you are deploying to a production server, you might want to use a production license for PowerServer, instead of using a developer license. To use a production license, you will need to export the license file from the Appeon web site and then import the license to the PowerServer project….
Deploying the project – PB Docs 2022
Deploying the project Save the PowerServer project settings; and build and deploy the PowerServer project (using the Build & Deploy Project button) for the changes to take effect. Make sure the deployment is successful. If you encounter any permission errors (similar to below) during the deployment process, check the Troubleshooting Guide for solutions.
|
1 2 |
Failed to connect to the server. Please run as administrator, or make sure the current user has permission to write files to the web root path. Failed to publish the installable cloud app. |
When…