问题标签 [powerbuilder-build-deploy]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
546 浏览

sybase - Powerbuilder ORCA API 部署

我正在尝试使用 orca api 将我的 powerbuilder 项目部署到 EAServer。但我遇到错误-21 PBORCA_CBBUILDERROR (Deployment failed with errors)。此外,未调用回调函数(BuildErrProc)。我该如何克服这个问题?顺便说一句,我使用的是 WindowsXP-32bit、Powerbuilder 11.2、EAServer 5.5、QT-4.8.0 开源 vs2010。

0 投票
2 回答
603 浏览

sybase - Powerbuilder - EAServer ORCA API 部署

我面临一个 orca 脚本部署错误。Orca 返回错误代码 -20。我怎么解决这个问题?顺便说一句,我可以使用 Powerbuilder IDE 成功部署我的项目。系统配置:WindowsXP-32bit、Powerbuilder 11.2、EAServer 5.5。下面是 orca 脚本输出。

0 投票
1 回答
2927 浏览

powerbuilder - 图像生成器

我即将将我的 PBL 编译为工作 PBD。我的问题是如何正确调用图像文件夹。例如,工具栏、图标、某些命令按钮的图片正确且动态地显示。例如,我将我的安装在 C:\MyProgram\ 但是当我的用户将其放在 C:\Program Files\HisProgram .. 我必须声明图像应该和我在同一个地方。C:\images\ 因为现在我在我的测试机器上尝试它时缺少工具栏图标。我尝试了资源 pbr,但它还必须定义图像的正确位置。有什么技巧可以参考我吗?

我尝试了 GetCurrentDirectory() 但我正在寻找一种更合适的方式

GetCurrentDirectory 链接我发现 http://www.pbsql.info/2011/01/relative-path-to-images-problem-in.html

0 投票
1 回答
2134 浏览

web-services - 从 PowerBuilder 中将 PowerBuilder Web 服务部署到 IIS 时遇到问题

我在 PowerBuilder 12 中开发了一个 Web 服务。我可以使用项目绘制器将其推送到在我的本地计算机 (localhost) 上运行的 IIS 7,它工作正常。我也可以将它部署到 msi,将 msi 复制到服务器并安装它,它就可以工作了。我不能做的是从 PowerBuilder 中的画家直接部署到在 Web 服务器上运行的 IIS 7。当我尝试时,我得到:

和错误选项卡说:

我已确保安装了 IIS 6 兼容性。有任何想法吗?

更新
根据 DisplacedGuy,我在服务器上安装了 Web Deploy 3.0。我还确保端口 8172 已打开。但我仍然收到相同的错误消息。

当我按下部署按钮时,我已经能够通过 Process Monitor 确定 PowerBuilder 正在执行的一些步骤。简化版:它正在创建一个复制到服务器的 vbs 文件。然后它在服务器上运行这个脚本。该脚本输出一个包含有关 IIS 的信息的文本文件。然后它将这个文本文件复制回我的电脑。正是在这一点上,我得到了“IIS 不可访问”的方法。

0 投票
1 回答
1481 浏览

powerbuilder - 如何刷新 EXE 的资源文件?

我正在尝试在我们现有的一个 powerbuilder 应用程序中包含一个自定义图标。我可以通过构建一个包含资源文件的运行时库来做到这一点。

看起来我之前的开发人员没有这个问题,因为我不必为了部署代码更改而使用资源文件进行构建。

使用资源文件构建运行时库有哪些替代方法?我们正在使用 PowerBuilder 11。

0 投票
1 回答
1971 浏览

powerbuilder - Powerbuilder 32 位应用程序 Windows 7 ODBC ASA 8.0

我有一个使用 ASA 8.0 和 ODBC 连接的 32 位 Powerbuilder 9.0 应用程序,在 windows XP 下一切正常,但在 windows 7 下它失败了,我尝试了各种注册表设置组合来尝试让它工作,但无济于事,我已经阅读了许多关于不同 windows\system 或 wow64 文件夹中不同 odbc32.exe 的文章,但我似乎从来没有正确地击中头部。我正在使用 Inno 来构建安装文件。我对此感到有点绝望,以至于使用不同的数据库

谢谢

科林

0 投票
2 回答
6932 浏览

migration - PowerBuilder compatibility on Windows 7

I'm having problems migrating a PowerBuilder application from XP to Windows 7.

We've built the application in PowerBuilder on Windows XP, and when we attempt to install components in to component services on Windows 7 machines, we get compatibility errors. Everything works great on Windows XP. But I think because the DLL's on 7 are so different, it's having problems.

If the program was built using a PowerBuilder IDE in a Windows 7 environment, would that possibly fix the problem?

The application is divided into
- a server component running on Server 2003
- a client component which installs sucessfully on Win7
- proxy components that are generated into an MSI when the server components are installed.

The problem is only the proxy. The MSI doesn't want to work on Windows 7. Without the proxy installed on the client desktops, the client can't communicate with the server.

When I run the MSI in compatibility mode on Windows 7, I get some details of the error. Here they are

Program Compatibility Issues found Incompatible Application Fix application CCS_Proxy_XP_Exports

Issues found Incompatible Application CCS_Proxy_XP_Exports is incompatible.

Fix application CCS_Proxy_XP_Exports Provides steps to fix the incompatible application. CompatMode CompatMode UserVerifySolution User Verification of Solution Verify_NO

Detection details Collection information Computer Name: ########## Windows Version: 6.1 Architecture: amd64 Time: Wednesday, November 14, 2012 11:56:36 AM

Publisher details Program Compatibility Make older programs run in this version of Windows. Package Version: 1.5 Publisher: Microsoft Windows

Program Compatibility Make older programs run in this version of Windows. Package Version: 1.0 Publisher: Microsoft Corporation

If I view more details on the event log, I get the following

“Product: Client Communications (Application Proxy) -- Error 1928. Error registering COM+ Application. Contact your support personnel for more information.”</p>

0 投票
1 回答
417 浏览

runtime - Powerbuilder (ver 7) 运行时问题

我们有一个旧的 Powerbuilder 应用程序在 Server 2000 上运行,需要移动它。我在将 Powerbuilder 应用程序 7.0 版移动到更新的平台 - Server 2003 时遇到问题。

我们基本上移动了包含应用程序和所有 Dll 的目录。然后我注册了允许它的那些。我们还必须设置 Informix 客户端软件并验证它能够连接到数据库。

该应用程序基本上采用 2 个参数,然后检查远程数据库中的数据,然后生成一个返回码以供另一个应用程序使用。我们得到的返回码是出乎意料的,我在查找号码时没有运气:

-1073741811

该应用程序从命令行运行。当我运行该应用程序时,我收到一个 Windows 错误,其中提到了 Sybase 和 msvcr80.dll 以及一个转储,以及上面提到的返回代码 - 这是清单文本中的错误:

我对 msvcr80.dll 请求感到惊讶,因为这个应用程序是在 2003 年左右编写的,我认为 c 编译器还没有到版本 8。我使用了 Dependency Walker,没有看到任何抱怨。不过,我可能在 DLLHell 中处理这件事……有人知道要寻找什么吗?

提前致谢!

0 投票
1 回答
803 浏览

git - 如何在使用 PowerGen 构建的 PowerBuilder 项目中设置可执行文件的 Productverion 和 Fileversion 属性

我即将将我们的 PowerBuilder 应用程序的 Continues Integration 构建环境从 OrcaScript 11 更改为 PowerGen 8.5,因为在将源代码控制从 TFS 更改为 Git 之后,完整的 Bootstrap 导入似乎是唯一的解决方案。

应用程序会构建,但它始终会生成版本为 1.0.0.1 的可执行文件。

在 OrcaScript 中,可以通过添加以下内容在 Orca 文件中进行设置:

其中 EXE_VER 是通过命令行发送的输入参数:

但我现在的问题是,在使用 E. Crane Computing 的 PowerGen 8.5 进行构建时如何做到这一点?

0 投票
2 回答
7508 浏览

windows-7 - Windows XP 32 位到 Windows 7 64 位上的 PowerBuilder 10.5 应用程序

我目前有一个 32 位 PowerBuilder 应用程序,我们正在尝试将其移植到 Windows 7 64 位环境。意识到 PowerBuilder 10.5 是在 Window7 出现之前构建的,以及这个应用程序构建在 Windows XP 32 位环境中的明显事实。

32 位 PowerBuilder 应用程序在 Windows 7 64 位计算机上部署时会出现以下错误消息。 应用程序终止。错误:在对象objectwindow的函数ivvisiblecolumn的第 44 行中指定的 DataWindow 行/列无效

数据库配置文件设置指向 OLEDB,后端数据库是 MSSQL 2008。目前该应用程序确实在 Windows7 64 位环境中运行,并且似乎仅在查询模式下工作。这意味着我们可以读取数据窗口上的一些记录,但是一旦您尝试进行交易,它就会爆炸。

我的问题是 - 是否可以让 32 位应用程序在 64 位环境中运行?

到目前为止,客户要求提出可能的解决方案,但没有升级到 PowerBuilder 12.5 的想法。本质上,他们希望保持在 10.5,但让应用程序从 32 位环境运行到 64 位……如果你明白我的意思的话,苹果到橙子。需要进一步调查代码是否无法在 64 位中运行,或者 64 位中 powerbuilder 客户端运行时的 dll 问题。他们真的试图远离任何应用程序重写,因为应用程序比基督成为木匠时更古老。我认为该应用程序最初是在 PB 6.5 中构建的。

到目前为止,我有以下想法,但我对此并不陌生: - 我了解 Windows 7 带有虚拟机 IIRC。我认为它被称为WOW64。是否可以在服务器上创建虚拟机并让用户在 64 位机器中运行 32 位应用程序?然后创建某种快捷方式供用户简单地点击?

  • 我们确实有一台虚拟 XP 机器和一台虚拟 Windows7 64 位机器用于测试。PowerBuilder 10.5 实际安装在 Windows 7 上并且似乎运行良好。然而,在运行模式或调试下运行应用程序会导致许多错误,如您所想。
  • 该应用程序已在 XP 中构建并在 Windows 7 上运行,但结果出现上述错误消息。
  • 我还没有研究在兼容模式下运行,但是团队告诉我它不起作用。
  • 我还没有看过 UAC 或 ALC 用户管理。这会影响 64 位系统吗?

  • 我知道这与应用程序无关,但是...我已经看到在某些情况下,32 位应用程序只需针对某些 DLL 文件即可在 Windows 64 位环境中工作。一个示例是 Microsoft Flight Simulator X,其中 32 位游戏会在 64 位 Windows 7 中崩溃。解决方案是简单地获取一个名为 uiautomationcore.dll 的 Vista 64 位 DLL 文件并将其复制到 Windows 环境中。游戏还必须安装在 C: 的根目录上才能运行。

有人对我如何解决这个问题有任何建议吗?

如果我在这里的笔记含糊不清,我深表歉意。

更新:有人在 64 位机器上使用过 PB 10.5 运行时文件吗?我想知道 powerbuilder 客户端运行时是否将其 dll 安装到应用程序 C:\XXX 的正确位置或找不到它?想知道如何解决这个问题。