1. Ray Kellum
  2. PowerServer
  3. Monday, 6 November 2023 12:25 PM UTC

PowerBuilder IDE and Runtime version 2022 R2 Build 2819

I'm deploying to an Azure Storage Account, Azure Static Web Site, and Azure App Service for a simple application. I deployed successfully a week or so ago and everything was working well. I altered the app to include new datawindows and am now getting the error "Select Error: Datawindow d_xxx was not found". I'm using azcopy to copy app files to the storage container. I can see the DW in the $web/1.02/xxx.pbd folder, but there's obviously something simple that I'm missing. 

Any ideas?

Thanks,

Ray Kellum

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Monday, 6 November 2023 13:20 PM UTC
  2. PowerServer
  3. # Permalink

did you change your version number?  1.02 might be a prior version.

did you do a full deploy/build?  You also need to deploy/update/build the web apis.  you can also check the c# model code to make sure your datawindow sql exists there.

Comment
  1. Ray Kellum
  2. Monday, 6 November 2023 14:15 PM UTC
Mike S,

Thank you for your reply! You got me looking in the right direction. When I incremented the version number I also (stupidly) changed the project name slightly. So, when I was uploading with FTP, I was uploading the old version every time. I altered the path and everything is working now.

Really appreciate it!

Ray
  1. Helpful
  1. mike S
  2. Monday, 6 November 2023 14:49 PM UTC
i'm thrilled you have your app working with azure static web site. In PS2022 R1 I had setup static web site for my PS application, but had run into some problems with it which seems to have since been resolved.

I'm glad to see appeon adding a tutorial for setting it up this way!



this is a pretty great/cheap way to test and run applications - you can setup the container app to scale to zero so you aren't paying for unused time.



Have you tried the edge deployment option for this? this should speed up the downloads by quite a bit after the initial update.







  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.