Quantcast
Channel: SCN : Discussion List - SAP PowerBuilder
Viewing all 286 articles
Browse latest View live

PB 12.5, Oracle 11R2 and DataWindow Update properties

$
0
0

Hi Everyone,

 

as stated in the subject, I'm using PowerBuilder with Oracle 11R2.  Every time I try to define update properties for the DataWindow object, PB cannot find the table:

 

 

The part of DBTrace log for this action shows:

(b973c50): GET EXTENDED ATTRIBUTES: TABLE=abaprojekt OWNER=ilv

(b973c50): SELECT OWNER, TABLE_NAME, TABLE_TYPE FROM SYS.ALL_CATALOG WHERE TABLE_TYPE IN ('TABLE','VIEW')AND OWNER =:1 AND TABLE_NAME =:2 (0.000 MS / 5846.140 MS)

(b973c50): SELECT OWNER, SYNONYM_NAME FROM SYS.ALL_SYNONYMS WHERE OWNER = :1 AND SYNONYM_NAME = :2 (0.000 MS / 5846.140 MS)

(b973c50): SELECT OWNER, SYNONYM_NAME FROM SYS.ALL_SYNONYMS WHERE OWNER = 'PUBLIC' AND SYNONYM_NAME = :1 (0.000 MS / 5846.140 MS) (105.759 MS / 5951.899 MS)

 

I thought, it could be because of the fact, that Oracle threats nonquoted names as upper case and PB tries to use lower case.  But if I changed ilv.abaprojekt to ILV.ABAPROJEKT in the "Table to update" field - nothing changed.

 

Does anyone have possibly an idea, what could cause this behaviour?

 

PB connects as SYSTEM and all the tables and views do exist in the database painter.

 

I really appreciate any help,

regards,

Andrzej


Trouble scope_identity()

$
0
0

Working with PB12.6 and SQL Server 2008

Trying to get identity column from Table T1 which fires a trigger to insert in Table T2. I need to get id from T1 but instead get the T2 value.

I tried inserting 'Identity= =Scope_identity()' in the extended properties in the Database profile. Any help would be greatly appreciated. Thanks

ioleobject.ConnectToNewObject fails in 64 bit Classic 12.6

$
0
0

We have a simple object that we have been using ofr years to create Word Format Documents by merging with XML.

 

It works in PB 10.5 and PB 12.6 Classic in 32 Bit  - but is "Unable to Create Object" when run from a 64 bit PB executeable

 

li_rc = ioleobject.ConnectToNewObject("XMLDocGen.buildtemplate")

 

ANy ideas as to what the issue might be?

powerbuilder 10.5 compiler error maria db sql statement..

$
0
0

PowerBuilder 10.5 Users

Being tested in PowerBuilder 10.5 Connect the maria DB

ODBC connection is good
datawindow generation is well
But if you use the sql statement on the script generates a compilation error .

Compile Error statement is as follows:

select count (id) from test


The error is a function provided by Maria DB in the sentence above.
max, min, count , etc ... all functions are the compilation errors
Only on the script ...

I do not know why.
Please Tell .

SoapConnection Object

$
0
0

Hi

 

I'm working with PowerBuilder 11.5 Build 2506 and I have to work with a Web Service (WSDL) , Why when I want to create a Soap Connection object I have gotten this message when compile ....Ilegal data type: SoapConnection

 

SoapConnection ll_w

How do I contact SAP Support trying to install PB v12.6?

$
0
0

I have a current USP in force. My installation stalls once I get to the PowerBuilder component. I think I have all the prerequisites. Documentation available.

Running 12.6 as a published app on ms server 2012

$
0
0

My logon window to the product is a response window, running as a published app on some ms 2012 servers the window doesn't become visible, on others it does.  If the user clicks where they should type in their password and does then the product lets them in and all other windows are visible throughout the product. So the window is there and active just not visible.

Moving code that was in the show event to the activate event seemed to fix the issue, however if the user logs off and we open the same logon window it is invisible again.

This does not occur when running on a fat client, or if it is an app on a published desktop, only if it is shared as a published app

Powerbuilder 11.5 and Windows 10

$
0
0

Has anyone got Powerbuilder 11.5 running on Windows 10? For me, the initial splash shows but PB does not start up.


PB11.2 Application crashing with Oracle client driver 11.4.0.2

$
0
0

Application that was developed in PB11.2 is failing when connected to Oracle 11g DB using Oracle client driver 11.4.0.2. The application was working fine when it was connected to Oracle client driver 10.2.0.1 in the same server and db as Oracle 10g combination.

 

So the Oracle db was upgraded from 10g to 11g and Oracle client driver was upgraded from 10.2 to 11.4.0.2. Now, the application connects to Oracle 11 driver using pbo10110.dll, I understand this dll may not be compatible with Oracle 11 driver. Have any one had any luck or suggest a work around for this other ?

 

I believe an upgrade to PB12.6 will resolve this issue since it has pbora11xx.dll and we are planning to upgrade to PB12.6, but that will take time to migrate, test and deploy the applications to production. But this issue is occurring today in Production, so I am looking for a quick fix. Please let me know what you think and help me please.

 

 

Spec:

Terminal Server - Windows 2008 SP2 32 bit Enterprise without Hyper-V

Application developed using Powebuilder 11.2 Build 8616

Oracle Client driver 11.4.0.2 with patch 22064588

Oracle 11G DB 11.2.0.4.6

 

Error received - some times system hangs before the application quits, some times application quits with an error message as shown below

 

error message 1

Problem signature:

  Problem Event Name:   BEX

  Application Name:     NameofApp.exe

  Application Version:  2.9.7.3

  Application Timestamp:      5485fddb

  Fault Module Name:    StackHash_6bc7

  Fault Module Version: 0.0.0.0

  Fault Module Timestamp:     00000000

  Exception Offset:     0012aab8

  Exception Code: c0000005

  Exception Data: 00000008

  OS Version:     6.0.6002.2.2.0.18.38


Error Message 2


Problem signature:

  Problem Event Name: AppHangB1

  Application Name: NameofApp.exe

  Application Version: 2.9.7.3

  Application Timestamp: 566b6cdf

  Hang Signature: 19f8

  Hang Type: 0

  OS Version: 6.0.6002.2.2.0.18.38

  Locale ID: 1033

  Additional Hang Signature 1: ab0b033bc07d05aecbff5810555ab2ae

  Additional Hang Signature 2:         c164

  Additional Hang Signature 3: 9c5e5aec796992faee42898a6048ebc5

  Additional Hang Signature 4:         19f8

  Additional Hang Signature 5: ab0b033bc07d05aecbff5810555ab2ae

  Additional Hang Signature 6:         c164

  Additional Hang Signature 7: 9c5e5aec796992faee42898a6048ebc5

Not able to deploy the application thorugh powerbuilder 12.6

$
0
0

Hi,

 

Recently I migrated PB11.5 application to PB12.6 classics. the migration was done successfully. Then I deployed the application successfully.

While running the standalone exe fro bin, It is not working. also it is not giving any error message also.  However when I checked the event log i got following description :

Faulting application name: ems.exe, version: 3.40.0.0, time stamp: 0x4e2f7268

Faulting module name: PBVM115.dll, version: 11.5.1.5032, time stamp: 0x4e2f72e8

Exception code: 0xc0000005

Fault offset: 0x00138151

Faulting process id: 0x1c48

Faulting application start time: 0x01d13c747058e2fc

Faulting application path: D:\Ems For Windows_12.6\Bin\ems.exe

Faulting module path: D:\Ems For Windows_12.6\Bin\PBVM115.dll

Report Id: ae0d2238-a867-11e5-8f42-a41f727c82cd

 

Then I went to following path :

C:\Program Files (x86)\Sybase\Shared\PowerBuilder

and copy all the dlls related to 12.6 and put in the bin folder. Still I am getting same error. Which mean My Application Exe is still referring the PBVM115.dll.

I am stuck as not able to deployed the application.

 

Please suggest the solution. let me know if any more information is required.

Not able to deploy the application thorugh powerbuilder 12.6

$
0
0

Hi,

 

Recently I downloaded the power builder version 12.6 classic & Migrated the PB11.5 application. Migration was successfully done. After  that I deployed the application using option 32 bit & 64 bit. Application deployed successfully. But while running the application exe from bin folder the Apllicaiton exe is not working. Also it does not give any error.

However in the event log I checked below error message :

Faulting application name: ems.exe, version: 3.40.0.0, time stamp: 0x4e2f7268

Faulting module name: PBVM115.dll, version: 11.5.1.5032, time stamp: 0x4e2f72e8

Exception code: 0xc0000005

Fault offset: 0x00138151

Faulting process id: 0x1ffc

Faulting application start time: 0x01d13c7927399310

Faulting application path: D:\Ems For Windows_12.6\Bin\ems.exe

Faulting module path: C:\Program Files (x86)\Sybase\Shared\PowerBuilder\PBVM115.dll

Report Id: 64f0b986-a86c-11e5-8f42-a41f727c82cd

 

Then I navigated to path C:\Program Files (x86)\Sybase\Shared\PowerBuilder and copied all dll related to 12.6 and put in the Bin folder. Still The application exe is behaving same way. It is not opening & not giving any errror message. The Event log generates the same description.

 

Please suggest what should I do. Also let me know if any more information is required.

 

Thanks,

Deependra

Multiple timers in the same window

$
0
0

PB 9.0.2

Have a window with multiple data windows each on a different tab page.

Is there a way of doing multiple timers so that one I can have one refresh off one timer and a second refresh of a second timer?

Or is there a way of saying at this interval, say every 5 seconds, do this set off commands/events on this data window and every 30 seconds this set of commands on this data window?

Thanks!

Mitchell

PowerBuilder 12.5.2 error: Cannot find valid license. Cannot connect to license server system

$
0
0

I installed Sysam 2.3 on Windows 7 Virtual machine and we created served license for PowerBuilder 12.5.2.

I copied this license to c:\sybase\sysam-2\license folder. After that I started PowerBuilder 12.5.2 installation and I received error: Cannot find valid license. Cannot connect to license server system.

 

What could go possibly wrong?

 

Our Sysam is installed on the same virtual workstation where I'm trying to install PowerBuilder. This workstation doesn't have any software except Sybase 12.0.1 / SQL Anywhere 12 /32 bit standalone installation, MS Office 10, and Oracle client 12.0.1.

PowerBuilder 12.5.2 served license has host id and computer name. If somebody had this issue?

DW painter speed in PB.NET

$
0
0

I have used the datawindow back in the old days of power++ and than used it with datawindow.net.   I am now evaluating powerbuilder .net to see if it will meet my requirements for an upcoming project.

 

I have a database table that has almost 200 fields. When I bring these into the datawindow painter it is have severe problems on displaying correctly or being able to move items around. Also the saves take about a minute to occur.  This same datawindow in datawindow.net did not have this issue at all.

 

My fear is I will have other datawindows that will have up to 500 fields on them. With this speed this would make the project near impossible to complete.

 

My computer is quad core I7 with 32gb memory using all SSD's thus I am pretty sure this is not an issue with not enough power in the computer.

Is there compatibility issues with Sybase v12.0 and SQL anywhere v12.0 and Infomaker v12.6

$
0
0

Hello,

 

I am interested in getting Infomaker v12.6 is there any compatibility issues with Sybase or SQL anywhere v12.0 or should it work? I was told to get Infomaker v12.0 due to possible compatibility issues.

 

Thank you

Justin Ellis


PB12.5 and Microsoft WebBrowser OLE Control - object doesn't support querySelectorAll

$
0
0

Hi,

 

I'm trying to run a JasperReport inside PB12.5 application using an Ole control (Microsoft WebBrowser). All works fine until at some point the web control(?) returns error "Object doesn't support property or method "querySelectorAll". The report is a sample report that comes with Jasper.

 

 

What I have learned from the web it would be a compatibility issues, IE support s this method first in IE8.  When I retrieve the report using e.g. IE10 or Chrome all is fine.

 

My question is - what options do I have to solve this issue? I don't think that I have the possibility to change users registry so the solution would need to be e.g. that I can the the PB application to use users current default browser or have a web control that I can control (e.g. .Net component that I then could use true "Interop".

 

 

The second question to all PB users that use OpenSource Jasper-solutions to do reporting is - what kind solutions have implement and how you you have resolved e.g. sending username/password and parameters to the reports.

 

Thanks,

ktp

Powerbuilder developer in Brazil

$
0
0

Hello guys. We are searching for a Powerbuilder developer interested in offering support for one of our customers' application. We are based in Brazil but we believe it would be possible to work with developers from anywhere in the world. Please check my email address in my profile page to contact us. Thank you.

How to use assembly created by PB.NET 12.6 in .NET 2.0

$
0
0

Hello,

 

We have an application in PB8 and a web application with VS2005. This web application is using DW.NET 2.5 to print the reports created by PB8. Now we upgrade PowerBuilder to version 12.6. The reports created in PB12.6 cannot be imported by DW.NET 2.5 anymore.

 

I try to create a project .NET Assembly in PB.NET. I also register this assembly as COM component with command REGASM and GACUTIL. But in web project, I cannot reference to this assembly. It’s a newer version of .NET framework and cannot add to VS2005. It does not appear also in the list of COM component in Add Reference popup.

 

How can I use this assembly in VS2005 with .NET 2.0?

 

Regards,

Richard

Accessing application level Global variables in PBunit

$
0
0

Hello,

 

I am trying to develop a Unit Testing framework for our application using PBunit. In our application there is one global variable declared at application level of type NVO. And this variable is used throughout application. So whenever I write any testcase and try to run it using PBunit exe, I get an error as "Unresolvable external [Name of global variable] when linking reference at line .....".

 

Can anyone please tell me how to invoke Global variables via PBunit? 

Powerbuilder 7 rebuild issue in windows 10

$
0
0

I'm still on PowerBuilder 7, in the process of upgrading to the higher versions.  I've recently acquired a Windows 10 notebook computer.  PowerBuilder 7 runs fine, except at the point of Building the EXE, with using the 'Full' or 'Incremental' mode.  At the end of the rebuild, everything looks normal, the .PBD are generated.  However, it just won't generate the EXE file.  But that happens only occasionally, maybe 2 out of 5 times.

Has anyone encountered this and any idea how to resolve it.

Viewing all 286 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>