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

FTP issue - connecting from powerbuilder 11.5 to linux

$
0
0

Hi All,

 

I have an issue while connecting from power builder 11.5, build 2506 to linux OEL 6.5. It runs on windows server 2008 R2 Enterprise.

 

I have some ftp.dll files to connect with ANSI coding.  The ftp port on linux works fine and we are able to connect to the server.

 

While changing the directories on linux from power-builder code, I get the -1 error return code.

 

Any suggestions on solving this issue, appreciate it..

 

Thanks.


VPN connection to Sybase is slow

$
0
0

I am using PB 12.5 connecting to ASE 16 Linux on an server running on an Amazon box. The connection is via a VPN tunnel. When I use interactive sql in PB and do a query like "select * from TABLE1" it is very slow to respond. The table only has 100 rows and about 30 columns. It normally takes about 15 seconds to respond. If I do the same query to a testing db that is local to the PB then the response is less than a second. I did a trace and the culprit seems to be the ASE db driver is issuing a DBI_COLUMN_INFO request for each column and this is taking about 80% of the time for the query. If I do the same query using ASE odbc driver then it is under 2 seconds and there is no DBI_COLUMN_INFO requests being made. The ODBC is using DBI_DW_COL_DICT to retrieve the column info and this is taking less than 90ms to retrieve as apposed to 14000ms for the DBI_COLUMN_INFO.

Anybody out there have any ideas to speed this up?

Using PowerBuilder .NET Assembly in Classic PowerBuilder

$
0
0

I have a PB Classic 11.5 application for which I need to use REST Services.  I know very little about how to do this.  Bruce Armstrong's YouTube video published on Dec 7, 2012 (SAP D&T Academy - How to Use Non-Visual .NET Assemblies in PowerBuilder Classic Win32 Apps) was very helpful to me in creating the .NET assembly.  If I create a "WPF Window Application" in PB .NET 12.6, my REST Client Proxy works fine.

 

But when I create a PB .NET 12.6 Assembly project and try to use in with my PB Classic 11.5 application I am having issues. Specifically, I am getting error code -3: "Object could not be created" when using myOLEObject.ConnectToNewObject("my.class").  If I use myOLEObject.ConnectToObject("", "my.class"), I get error code -5: "Ca not connect to the currently active object."  I am assuming that "Ca not" is really "Cannot".  I used RegAsm to register the assemblies.  I have tried both placing the assemblies in the GAC with strong names for the DLLs and using the assemblies as local files without strong names, and many countless other things that I cannot even remember now.


I have spent several days doing Google searches.  Part of my problem may be not knowing the proper terminology to use for my searches.  I even found the same question being asked on the old Sybase Forums about 8 years ago, but no one provided a final answer.  I have also privately emailed Bruce requesting a link to his source code used in the video.  While I am waiting for his response, I continued doing Google searches and decided to ask the question here.


Thank you for your help.  (This is my first question on SAP community.)


Lane Poole



Problem calling procedure

$
0
0

PB Version: 12.5.1

Database: SNC ( SQL Server 2008 )

 

Source code:

 

DECLARE sp_proc PROCEDURE FOR procedure_name

   @param1 = :ls_var1, @param2 = :ldec_param2 OUTPUT;

 

EXECUTE sp_proc;

 

On a specific customer: "Cannot use the OUTPUT option when passing a constant to a stored procedure"

On a local backup, and other 10 customers: Works Fine.

 

Someone knows why and how to solve it?

Thanks in advance.

need to access a MS Dynamics - CRM record from my Powerbuilder datawindow

$
0
0

I want to access documents that are located in CRM from my powerbuilder datawindow.

Thanks.

How to migrate pbnismtp125.pbd to PB 12.6?

$
0
0

How to migrate pbnismtp125.pbd to PB 12.6? Or is there a new pbnismtp126.pbd that we can use?

 

Thanks

Upgraded and getting: Error accessing external object property papersize

$
0
0

We have moved the PB app (12.0)  to a new machine and upgraded our OS from Windows 7 to Windows 8.

And now we are getting the error: Error accessing external object property papersize... orientation... margin

 

 

Using OLE and exporting to EXCEL

 

The app works when I run it as an exe BUT when it is ran as a service it errors when trying to

use OLE to change papersize, orientation ... margin.  I have commented out one statement and it

errors on the next.  BUT it works if I run it as a service (but they were before the upgrade):

 

NONE OF THESE STATEMENTS work running PB exe as a service:

 

ExcelApp.Application.ActiveSheet.PageSetup.PaperSize = lnv_Excel.xlPaperLetter

 

ExcelApp.Application.ActiveSheet.PageSetup.Orientation = lnv_Excel.xlLandscape

 

ExcelApp.Application.ActiveSheet.PageSetup.LeftMargin = 0

 

ExcelApp.Application.ActiveSheet.PageSetup.RightMargin = 0

 

ExcelApp.Application.ActiveSheet.PageSetup.TopMargin = ExcelApp.Application.InchesToPoints ( 0.67 )

 

ExcelApp.Application.ActiveSheet.PageSetup.BottomMargin = ExcelApp.Application.InchesToPoints ( 0.7 )

 

ExcelApp.Application.ActiveSheet.PageSetup.HeaderMargin = 0

 

ExcelApp.Application.ActiveSheet.PageSetup.FooterMargin = 0

 

SO MANY THANKS!!!

Datawindow .net - End Of Life Notice

$
0
0

Hi Community,

 

I want to know if there is a migration path for .net developers using Datawindow .net in their applications?

Is there some third party products in order to migrate the Datawindow .net functionality ?

 

Or after the "End Of Life Notice" all companies must migrate manually to another architecture, it is the only option?

 

Thanks in advance for your help.

 

Best Regards,

 

Douglas


PowerBuilder licence key

$
0
0

I look for the way to create a licence key for PowerBuilder

32-bit PowerBuilder 12.0 .exe compatibilty with WINDOWS SERVER 2012.

$
0
0

Hello Experts,

 

I support an application which is written in Sybase
PowerBuilder 12.0.

 

Application executable (.exe) file is created from
PowerBuilder 12.0 32-bit version.

 

Users access the application through Citrix links hosted on
either Windows Server 2008(64-bit machines) or Windows Server 2008 R2 (64-bit
machines).

 

Till date there is no known issue of compatibility between
an executable created by a 32-bit PowerBuilder 12.0 IDE and above mentioned
Windows servers(64-bit).

 

My query is, If we upgrade our servers to Windows server
2012 (again a 64-bit machine), will 32-bit PowerBuilder 12.0 .exe be still
compatible with Windows Server 2012?

Digitally signing PBDs

$
0
0

Our clients are increasingly concerned about security (as are we), so I was wondering if SAP has any plans to support digital signatures on PBD files, with an enforcement mechanism within a digitally signed .exe or .dll.  This would prevent a user from substituting an alternate version of a PBD.

 

I'm also wondering if anyone has implemented their own solution.  This would involve using a program such as sigcheck to check the signatures; the PB code which drives the process would have to be on an object in a PBL which is built into the EXE, rather than distributed as a PBD.

Error when calling "createole.bat"

$
0
0

When i try to build a winform project i get the following error:

 

---------- Error messages:    (7:55:44 PM)

Error when calling "createole.bat". Check log file "C:\Development\Powerbuilder126c\inv ogt\DeployLog.txt" for more details.

---------- Finished    (7:55:44 PM)

 

I just updated to build 4035.  I did not have this error prior to this update.

 

Thoughts?

can I code for pbtutor web form error when click in datawindow

$
0
0

I am running PB 12.5 build 25.11 on windows 7 sp1 with .net v4.0. with IIS 7.5 .7600.16385 and IE 11 and successfully run the web form tutorial.  The problem is that if I click anywhere in a DW report I get the following error which shuts down the browser:

 

Unexpected error was thrown, the browser will be closed! Please report the error to administrator.

Error: Unable to get property 'clientX' of undefined or null reference

Line 487

 

Any suggestions are appreciated.

Thank you,

-Marc

FTP issue - connecting from powerbuilder 11.5 to linux

$
0
0

Hi All,

 

I have an issue while connecting from power builder 11.5, build 2506 to linux OEL 6.5. It runs on windows server 2008 R2 Enterprise.

 

I have some ftp.dll files to connect with ANSI coding.  The ftp port on linux works fine and we are able to connect to the server.

 

While changing the directories on linux from power-builder code, I get the -1 error return code.

 

Any suggestions on solving this issue, appreciate it..

 

Thanks.

Does PB 12.6 support to use other connection method (e.g. OLEDB) MS SQL server 2012 ?


Power Builder License

$
0
0

Hello for I downloaded Power builder 12.5 some time back. It was trial version. Need some information how to optain licence version.

As a student, I want to develop some project. Could you please help me on this.

 

Thanks

PowerBuilder Upgradation issue?

$
0
0

I have been using Powerbuilder 12.5 for the last a few years. I would like to upgrade to 12.6 now. Do we need to uninstall the 12.5 version before installing 12.6? When we try to uninstall the 12.5 version, It is giving an error as mentioned in the attachment.

Migrating application to Power Builder 12.6 Classic

$
0
0

Hello All,

 

We are planning to move our application to Power Builder 12.6 and I need your help for the same.

 

Before moving our application to 12.6, I would like to know if there is/are any show stopper issues reported or any issues which can make application from being work.

 

I need some link which I can refer and based on what we can take decision to migrate our product and I need your honest opinion for moving product to 12.6 version.

 

Thanks in advance...

Error while Migrating to PB 12.6 Net version from 11.5 Classic Version

$
0
0

Hello All,

 

We are trying to migrate our application and we are able to migrate successfully to PB 12.6 classic version.

 

But, we are getting some error when we tried to migrate to PB 12.6 .net version and below is the error.

 

---------------------------

PBL Already Loaded

---------------------------

The PBL has already been loaded in a different target.  PowerBuilder does not support using the same PBL in different targets within the same solution.

Please remove or replace one of these PBLs and reload the solution.

---------------------------

OK  

---------------------------


Thanks in advance.

Issue with 12.6 and SetFilter corrupting describe("datawindow.table.filter")?

$
0
0

I have a datawindow control in one window, that is ShareData'd to a datastore in another window

 

Under some set of circumstances that I have not been able to reproduce in a tiny environment, a call to setfilter corrupts the current filter on the datastore. eventually, I try to use what was the current filter, and get a datawindow expression not valid error.

 

The sequence is something like this ...

 

PowerBuilder 12.6, build 4035

classic

(IDE or runtime)

 

window a:

has a datawindow control

with a dataobject

setTrans

retrieve

 

window b:

datastore (as an instance variable)

datastore is created, dataObject is set to the same one as window A's datawindow

Sharedata

 

One can look at the current filter for a datawindow/datastore by using describe("datawindow.table.filter")

 

after a call to setFilter in window B... the data from describe("datawindow.table.filter") is a string of unprintable characters.

Eventually, when I try to restore the previous filter, this causes a Datawindow expression not valid error.

 

I happened to notice that in this case, the filter string I was passing to SetFilter happened to be the current filter string.

If I test for such things, (and do not perform the setFilter when there is no change being made) the error is (so far) avoided.

 

But I don't feel I should have to do this test.

 

I've looked (and looked) for anyone else discussing something like this, but the closest matches had to do with bad syntax in the filter expression. In my case the expression is just fine (well, the one I pass to the setFilter). The expression reported by Describe is bad (and certainly NOT what I just set the filter to be.)

 

For what it's worth, the expression I am setting in this case is:

record_status = 'ACTIVE'

 

I put the datawindow in a tiny simple window, used the same data object, retrieved with the same arguments, used the same filter. Unfortunately ... no errors. It only errors in the midst of a lot of other code. My attempts at reproducing the gist of that code in condensed form have not been successful in reproducing the error in the small space.

 

I've tried intercepting the datastore just before the offending setfilter, using getFullState/setFullState to copy things to the debugging window. But .. in the debugging window, the setFilter still does not cause a problem. sigh.

 

Any ideas?

And/or, tips on how this post should have been done? (first post I've made)

And/or ... how does one report an issue for 12.6? (Assuming someone does not recognize this as a known issue.)

 

Mike

Viewing all 286 articles
Browse latest View live


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