Quantcast
Channel: SCN : Popular Discussions - SAP PowerBuilder
Viewing all 2135 articles
Browse latest View live

If i am migrating SQL Anywhere then what are the things that i need to change/Upgrade, i mean does it require to change PowerBuilder version or code also ?

$
0
0

We are having applications running in powerbuilder 8 that uses sql anywhere version 9, now if i am migrating sql anywhere to version 17, then does my application support this newer version of SQL Anywhere ? and what are the things that i need to change?


Connecting to SQLite DB Question

$
0
0

Hello,

 

 

  Got a quick question.  We want to use the SQLite database for a simple desktop application.  Is there a way to connect to and use this DB in PB without having to set up an ODBC or OLEdb connection?  I know how to do this on other languages, but not PB, and not sure if it can be done in PB.

 

 

  Any help will be greatly appreciated.

 

 

  Thanks,

 

 

Gary

Power Builder 12.5.2 with Oracle Client 64Bit

$
0
0

Hi all

I have installed Sysbase 12.5.2. The Installation goes fine without any errors.

Now, I would like connect with a Oracle Database 11g 64 Bit, the Oracle Client is also 64 Bit.
a) The PB – Database Profile – is ORA Oracle
b) Server, Login ID(Oracle User) are correct

But, I can't connect to the Database with PB (with sqlplus, Toad etc. form Oracle everything works fine)
The error Message is: Oracle Library OCI.DLL could not be loaded

Trace Log:
/*---------------------------------------------------*/
/* 08.11.2014 14:09 */
/*---------------------------------------------------*/
(30ffcb8): DIALOG CONNECT TO TRACE ORA ORACLE:
(30ffcb8): LOGID=safir
(30ffcb8): SERVER=PROD(DBI_DIALOG_CONNECT) (257003.963 MS / 257003.963 MS)
(30ffcb8): *** ERROR 999 ***(rc -1)
(30ffcb8): SHUTDOWN DATABASE INTERFACE:(DBI_SHUTDOWN_INTERFACE) (0.002 MS / 257003.965 MS)

Question: Is PB 11.5.2 not usable with Oracle Client 64 Bit or what's the problem with the connection?

 

thanks for feedback

 

regards

Kurt

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.

Retrieval of datawindow crashes PowerBuilder

$
0
0

Hello All -

 

I am facing a weird issue with PowerBuilder

 

There is a datawindow which is constructed using a query at compile time, and another query is set to the datawindow at runtime using the Modify function

 

When I retrieve the datawindow through the PowerBuilder UI, it retrieves just fine

 

But when I run/debug the application, the moment the dw_name.Retrieve () function is executed, the application just crashes without a warning

 

I tried creating a datastore with the same dataobject as that of the datawindow, then set the query and retrieve. PB crashes when I retrieve the datastore as well

 

BTW, the Modify function to set the datawindow query returns an empty string, which means it is successful. The code was migrated to 12.6 recently from 11.2 and the deployment is targeted on 12.6, so, we might not be able to stick with 11.2

 

I have tried recreating a brand new dataobject with the query, regenerating and optimizing the object, no luck so far

 

I am puzzled on what to do next. Any help would be greatly appreciated

 

Thanks,

Krishna

Looking for 'pbGMap.zip'

Creating a ticket for Sybase Issues

$
0
0

HI,

 

Please somebody tell the exact procedure as to how to create a ticket for reporting a bug on PowerBuilder 12.5 product.

 

Regards,

MMS

Webservice server

$
0
0

Hello,

 

We have PB 11.2 and ASA 9

I would like to ask if I could create webservice server  with PB or just client. Our customer would like to get data from our database with webservice calls so I have to create webservice server which will respond on customer request.

 

Thanks for you help!

 

Tomaz


Powerbuilder 12.6 slow behaviour

$
0
0

A friend need some help with this issue.

We deployed our application on Windows Server 2012 SMB File Server.

The application is deployed to a UNC shared directory. The clients access this directory from Windows 7 32-bit stations and the run the application locally. PB Runtime 12.6 has been installed locally on these client stations.

 

After the deployment we run a pilot to test various aspects of the application, especially it’s performance. During the pilot we have found that compared to our old PB 11.5 based version, the visual performance of our PB 12.6 application was seriously impaired. The menus blink, the windows open slowly… As a result the clients complained that the new version is just unusable.

 

We estimated that the problem is probably connected to the PB 12.6 inherent feature of lack of persistent memory caching of pbd files.

Such lack of caching seems causes sequential excessive loading and unloading of these files on each and every user interaction.

 

We then tried to improve the performance by defining "Caching" option in "Advanced Sharing" dialog of Windows Sharing. Specifically we tried to check the option "All files and programs that users open from the shared folder are automatically available offline" + "Optimize for performance".

Such option should cause all our application related files to be downloaded from the application server and cached locally on the client computer “behind the scenes”.

 

The visual performance of the application in this case indeed was drastically improved, but not immediately.

It took some 3-5 minutes after starting the application until we could feel that the performance was indeed smooth as in the 11.5 version.

 

We turned to Microsoft for an advise if such “cached” application server configuration is feasible.

In turn, Microsoft representatives requested the manufacturer (SAP) recommended operational and configuration instructions for such deployment configuration. After receiving such document they will be ready to assist us further in this matter.

 

I will be glad if you can provide, as requested by Microsoft, such instructions for the proposed application server configuration (Windows 2012 SMB server with file caching), or provide us with any alternative solution for the problem I described.

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

installing powerbuilder on a remote server for two developers

$
0
0

Recently, our company was purchased by another company.  Soon, we will have to move our PB 12.5 instance to a remote server.  Two developers will need development access to our 12.5 product code.  Each developer will have a unique SSO login to the remote server. They will be accessing the remote PB instance using RDP through the company VPN.  Generally, they do not need access to PB at the same time.  What's the best way to install PB in this situation?  

Thank you,

Doug

RowsCopy not working

$
0
0

I am trying to copy rows from one datawindow to another.  The source window has 19 rows in it, but when I update the destination window it only produces 1 Insert statement.   Can anyone tell me why its not working or how to debug.

 

Here's the code:

 

uo_transaction  ltran_Transact
string ls_SQLAnyConnectString
ls_SQLAnyConnectString = "ConnectString = 'DSN=dbbasesqlany;UID=" + is_DbLogon + ";PWD=" + is_DbPwd + " ' "
ltran_Transact = CREATE uo_transaction
ltran_Transact.DBMS = "ODBC"
ltran_Transact.dbParm = ls_SQLAnyConnectString
CONNECT USING ltran_Transact;
IF  ltran_Transact.SQLError()  THEN
ltran_Transact.SetSQLError("Error connecting transaction to ~""+ltran_Transact.DBMS+"~"")
RETURN FAILED
END IF

uo_ds_base luo_dw_local_security_log
uo_ds_base luo_dw_central_security_log

luo_dw_local_security_log = CREATE uo_ds_base
luo_dw_central_security_log = CREATE uo_ds_base

luo_dw_local_security_log.dataobject = "d_security_log"
luo_dw_central_security_log.dataobject = "d_security_log"

 

integer err1, err2, err3, err4

err3 = luo_dw_central_security_log.SetTransObject(itran)
err4 = luo_dw_local_security_log.SetTransObject(ltran_Transact)
//err1 = luo_dw_central_security_log.Retrieve()  // Either retrieving or not retrieving yields only 1 insert statement
err2 = luo_dw_local_security_log.Retrieve()

 

integer li_CentralRowCount, li_LocalRowCount
li_CentralRowCount =luo_dw_central_security_log.RowCount()   //0 Records
li_LocalRowCount = luo_dw_local_security_log.RowCount() // 19 Records

 

luo_dw_local_security_log.RowsCopy(1, li_LocalRowCount , Primary!, luo_dw_central_security_log, 1, Primary! )


IF luo_dw_central_security_log.Update() <> 1 THEN  // Only 1 insert statement generated
    itran.SetSQLError( "Unable to copy security_log data from local to central database" )
    RETURN FAILED
END IF

COMMIT USING itran;

Problem with SetFullState and Datastore residing in NVO objects in PB 11.2

$
0
0

Our program consists of a Main window holding all of our NVO objects for retrieving/updating data.  References to the NVO's are passed to the userobjects located on the window.  The NVO has 2 datastores - for static and non-static data - we exclusivley use external datawindows due to a screen scraper we use to access our mainframe.

 

The issue comes in for a special set of objects.

We have 1 set of objects that we can only retrieve/update 1 screen at a time.  The entire window is layed out as 1 row where each row/column is an individual cell so that I can 'describe' the properties to show which cells are actually editable.

The data is retrieved and stored in the datastores in the NVO and shared with the datawindow in the UserObject for display and interaction.

 

The user can page forward and backward through the screens and I set up a paging system such that I use getfullstate for each 'page' and store the blob so that we do not have to re-retrieve any page we already looked at for an account.  If they page backward (or forward to an already retrieved page I use setfullstate to show the correct data.)

 

The paging using this can cause the datastore and datawindow to be out of sync, but the end user is unaware because they only see the datawindow.

the problem comes in when they do an update.  I use the setfullstate on the datastore from the datawindow to ensure the correct data is updated, which works fine, but when I then try to retrieve and show the data after that step - the DS appears to have no data even though I verified the retrieve is returning data.

 

I have tried reestablishing the sharedata as setfullstate can destroy it, but it still doesn't show anything.  I tried passing in the NVO again to no avail.

 

It looks like the DS in the NVO is not receiving any data after I do a setfullstate - has anyone ever seen this before or am I missing somethng?  I haven't been able to find anything browsing the forums or googling.  Any help is appreciated.

 

VR,

jeff

PB12.5 - Oracle 11g conenction issue - Failed to get local NLS_LANG charset ID

$
0
0

Hi Everyone,

 

We have recently migrated our OS to windows 7 and orcle client to 11g since then I am getting error "Failed to get local NLS_LANG charset ID" while connecting to Oracle using the IDE. I tried to connect using O10 Oracle 10g and ORA Oracle interface as I dont see anything for 11g; result was same in both cases. Can someone please help to resolve this issue?

 

Following are the system details

OS - Windows 7 62 Bit

PB - 12.5 Build 2511

Oracle Client - 11g 32 bit

 

Thanks,

Robin

Powerbuilder 12.6 will not install on Windows 10

$
0
0

Hi,

 

I am trying to install Powerbuilder 12.6 Evaluation on a Windows 10 stand-alone PC (64 bit , 12GB memory). I choose to install Powerbuilder Classic only (no .NET or web stuff). After the option to include SQL Anywhere – answered no – the install hangs and just shows a dialog “Setup is running in another window, use ALT+TAB to switch between windows”. The task manager shows 2 tasks: SAP Powerbuilder 12.6 Setup and Powerbuilder Setup Launcher (32 bit) both using 0% cpu.

 

Please how can I get it to install?


Buy SAP SQL Anywhere 17

$
0
0

Hello,

 

Does anyone know where we could buy SAP Sql Anywhere 17 database? In SAP Store I don't have this option. We are from Slovenia.

 

Thanks

 

Tomaz

Documentation for older PB versions

$
0
0

Dear all,

 

I start this thread in order to ask if it is possible to access documentation & supported platforms resources for older PowerBuilder versions (5, 7, 8, 9).

 

In Infocenter Archieve, I have found documentation for PowerBuilder 10.2.1 -> 12.1

In SAP Help Portal, the available documentation covers versions 12.5 -> 12.6

 

Any other information will be highly appreciated.

 

Kind regards,

ilias

SaveAs fails on PB Classic 12.5 using .Net Windows Forms target

$
0
0

Hi guys,

I'm using PB12.5.2 Build 5550 on a Windows 7 SP1 32-bit machine.

 

I have a NVO that receives a dataStore as argument. At the end of the processing I try to do a SaveAs on the DS. If I supply arguments to the SaveAs command, is saves correctly. If I leave it blank, as for the user to inform the file type and location, the saveAs window simply doesn't appear.

 

I got a workaround using the GetFileSaveName to get a XLS filename and then use it on the saveAs method.

 

I guess I'm just writing to have documented, in case someone else has the same issue and doesn't find an answer on google!

Exporting the Datawindow Syntax in XML using PowerScript in PB

$
0
0

Hi All,

 

PowerBuilder 12.6 IDE allows us to export/Save As File  the Datawindow Syntax into XML format. But when trying to look into LibraryExport don't find any option to perform the same using the powerscript.

 

Could anyone have any suggestion on this?

 

Thanks

Balu

My application keeps crashing on Windows Server 2012 R2.

$
0
0

Powerbuilder 10.5

 

Since migrating to a Windows Server 2012 R2 Terminal Server my application keeps crashing. On the old Windows Server 2003 TS it worked fine.


From the event log


Windows cannot access the file for one of the following reasons:

there is a problem with the network connection, the disk that the file is stored on, or the storage

drivers installed on this computer; or the disk is missing.

Windows closed the program <program> because of this error.

Program: <program>

File: The file name is blank so I don't know which file is is!

Etc.

 

  Followed by:


Faulting module name: MSVCR71.dll, version: 7.10.3052.4, time stamp: 0x3e561eac

Exception code: 0xc000041d

Fault offset: 0x0002094a

Faulting module path: <path>MSVCR71.dll

Etc.


  The faulting module paths can also be:


  C:\Windows\SYSTEM32\ntdll.dll

<path>PBSHR105.dll

<path>pbdwe105.dll

<path>PBVM105.dll

<path>pbdwe105.dll

C:\Windows\SYSTEM32\MSVCR100.dll


  I have installed a trial version or PB12.6 (build 3506) on a VM under Windows 7 (the gui won't run on my W10 box, but that is another story), compiled the application and installed this in a separate directory. This doesn't help either.


This is giving me an ulcer. Can anyone please point me in the right direction.

I am desperate so any ideas are welcome.


Thanks.

Gerry.

Viewing all 2135 articles
Browse latest View live


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