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

Save As XLSX file crashes PowerBuilder

$
0
0

Hello All -

 

We have an application we recently upgraded from 11.2 to 12.6

 

The PB 12.6 build version is 4091 (Chris - I guess that is the latest release version)

 

Previously, the client used to save reports to XLS and it was fine for reports with lesser no of rows

 

As the reports grew in size, they wanted to save it in XLSX format and we migrated the app to 12.6

 

The reports work fine in our machine, but, in few machines, when trying to save the file as XLSX, the app simply crashes

 

No error messages, warnings, just a neat, abrupt crash

 

The users have been having XLSX (Excel 2007 or later) support on their machines, but this doesn't seem to work the way it should

 

Any suggestions?

 

Thanks,

Krishna


Powerbuilder - Emergency Bugfix 10.5.2 EBF (build 7826).

$
0
0

We use Powerbuilder 10.5.1 and we need urgently the Emergency Bugfix 10.5.2 EBF (build 7826).

Can anybody help?

PowerBuilder 12.5 - Error in dropdown datawindow

$
0
0

Hi,

 

We had application in PowerBuilder 11.5 and just we migrated this to PowerBuilder 12.5. Migration was successful and when we try to open the screen we are getting the below error.

 

A database error has occurred.

 

 

Database error code:  208

 

 

Database error message:

 

 

Select Error: SQLSTATE = 42S02

 

 

Microsoft SQL Native Client

 

 

Invalid object name '***************'.

 

where *************** -> dropdown datawindow name


I wonder, how come we are getting this error in PB 12.5 and the same is not happening in PB 11.5. Is it a problem with PB 12.5? I just googled it and found that it is due to the table name is not referred like "dbname.ownername.tablename" in my select query of dropdown. When I refer the table name like "dbname.ownername.tablename" then the above error is not coming.


But, I wonder in PB 11.5 source code, the table name is referred without dbname and ownername and the user is not getting any error. How come in PB 12.5 only we are facing this error.


Please help on this issue.


Thanks,

Theenmoorthy

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

Connecting to a Oracle database over LDAP

$
0
0

Hi Powerbuilder Community,

 

a customer asked us if a PowerBuilder application can authenticate to an Oracle database via an LDAP server.

We do not even have such a configuration and can therefore not try and before we create a time consuming test environment I want to pass the question to the community. Can a PowerBuilder application log into an Oracle database, which uses an LDAP server. Probably about an OS authentication or something else? Does anyone have any experience with it.

 

Greetings

Alex

 

PB Classic 12.5.1 Build 4953

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

PowerBuilder - Sysam served license

$
0
0

Hi Folks,

 

We are using served license for our PowerBuilder 12.5 and recently we did a system refresh. We have installed PB in the new PC and point the license to our sysam server. But the PowerBuilder in the new PC showing that we are in grace period. I checked the sysam logs on the server and it looks like installation from old PC is still holding the license. Can someone please advise how can we release this?

 

Thanks,

Robin Kurian

Where do we download PB 12.5.2

$
0
0

Hi all - help - where can I get the PB 12.5.2 download as it has been removed from the sybase.subscribenet.com site - help please.....we have the licensing, but SAP has been less than helpful - telling me that we have to upgrade to 12.6 - help


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;

WCF Client Proxy generate error

$
0
0

Hi, new to Powerbuilder .net using 12.5.2 build 5609.  Creating a WCF Client Proxy to connect to Web Service as I need to pass soap header security.  When I generate the proxy I keep getting the error "Object reference not set to an instance of an object".  I have tried generating another WCF Client Proxy using an amazon example and generates without any errors.  Searching the web for days on end hasn't helped me.  Hopeing someone can shed some light as where to look.

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

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

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.

Connecting to a Oracle database over LDAP

$
0
0

Hi Powerbuilder Community,

 

a customer asked us if a PowerBuilder application can authenticate to an Oracle database via an LDAP server.

We do not even have such a configuration and can therefore not try and before we create a time consuming test environment I want to pass the question to the community. Can a PowerBuilder application log into an Oracle database, which uses an LDAP server. Probably about an OS authentication or something else? Does anyone have any experience with it.

 

Greetings

Alex

 

PB Classic 12.5.1 Build 4953

Database Connection issue between Powerbuilder 11.1 build 8123 and Oracle 10g

$
0
0

Hi,

I install Powerbuilder 11.1 and Oracle 10g 32 bit client in my machine (OS- Win7, 64 Bit).

When i run my PB application or create DB profile it produce error "ORA-12154: TNS:could not resolve the connect identifier specified" but my tnsping is ok and i am able to connect my SQLPlus with run as admin mode.

I also able to run my PB application exe (Run as admin) which is generated on my other team member.

Please help, it is urgent.

Thanks

Vikrant.


Does PB 12.6 Corrupt long nvarchars in SA with DisableBind=1 ??

$
0
0

I've been investigating an issue migrating our 10.5 apps which use rich text edits and save data to a SQL Anywhere 12 database on a long nvarchar column.

 

It works perfectly in 10.5 but in 12.6 the text written to the database is modified during the update to replace an embedded \n to a carriage return.  I note that this is the case with the same ODBC connection to the same database - illustrating it is not an SA issue - but possibly a datawindow issue.

 

This results in the rich text returning to the RichTextEdit from the database looking like it has a a prefix "owidctlpar".

 

This is actually the corruption of the rich text control string segment string itap0\nowidctlpar where the \n is converted to a CR

 

Apparently this has been reported before as an issue and users have been told to set DisableBind=0 or convert the column to a long binary.  Apparently these fixes get around the problem (unfortunately neither a workable solution for us) - but there remains the following question.

 

Since the source to the column could be anything (not necessarily rich text) - could PB 12.6 be corrupting any long nvarchar (or nvarchar) data which contains an embedded "\n"???


I have sent test cases of this to SAP support - but I want the community to recognize that there could be a broader problem affecting those not using datawindows to store rich text.

 

Glenn

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

WCF Client Proxy generate error

$
0
0

Hi, new to Powerbuilder .net using 12.5.2 build 5609.  Creating a WCF Client Proxy to connect to Web Service as I need to pass soap header security.  When I generate the proxy I keep getting the error "Object reference not set to an instance of an object".  I have tried generating another WCF Client Proxy using an amazon example and generates without any errors.  Searching the web for days on end hasn't helped me.  Hopeing someone can shed some light as where to look.

Downloading InfoMaker v 12.1; contract for InfoMaker 12.6

$
0
0

I was told by the sales team to open this question in this forum. I'm trying to verify this is possible through the specific versions before officially purchasing. I couldn't find an InfoMaker forum for the discussion, so I hope this is relevant enough. We are looking specifically for InfoMaker 12.1 as our end goal to use to develop plugins for an existing software. Unfortunately, it does not work with new versions of InfoMaker, and we NEED 12.1

 

Since instructions for older versions were made available for licensees of 12.5, I need to verify this works with 12.6, since unfortunately, 12.5 is no longer available and 12.6 is.

 

Through our software vendor, we can purchase: Sybase Infomaker 12.6 w/1 year of support.

 

From previous version we were still trying to access 12.1; instructions said we could log into SAP Support portal; and find SyBase Infomaker 12.0/Installation.

 

From there, it said we would be able to additionally download Solution 32; IM121_6950 to upgrade 12.0 to 12.1.

 

I would like to verify this option is still available to us if we were to buy InfoMaker 12.6. We would like to make this purchase knowing we can access version 12.1.

 

Thanks for all of your time.

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>