1. Reema Kurane
  2. PowerBuilder
  3. Wednesday, 5 June 2019 18:45 PM UTC

Hello,

We recently migrated PB 12 to PB 2017  on Win 7. We then deployed PB 2017 package onto Windows 10 and the application opens up but we don't see any data.

But, when we try to open the exe with "Elevated rights" we can see the data and the app works normally.

So we tried deploying PB 12 on Windows 10 and it works fine. The app opens up fine and we can see the data as well.

Any thoughts on what could have gone wrong. 

Appreciate you helping us.

Reema Kurane Accepted Answer Pending Moderation
  1. Friday, 9 August 2019 19:51 PM UTC
  2. PowerBuilder
  3. # 1

Adding beyond trust right on these apps and the users using it solved this issue for us.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 6 June 2019 18:29 PM UTC
  2. PowerBuilder
  3. # 2

Hi Reema;

1)  Did you try deploying the PB 2017Rx run-time via the PB Packager utility instead of manually copying the DLL's?

2) Also, if you do not have the VS C++ run-time libraries installed on your target PC's - you need to also copy the MSVxx100.dll files to the deployment folder as well.

HTH

Regards ... Chris

Comment
There are no comments made yet.
Reema Kurane Accepted Answer Pending Moderation
  1. Thursday, 6 June 2019 13:04 PM UTC
  2. PowerBuilder
  3. # 3

1. The problem only occurs on Windows 10 machine. Application runs fine on Windows 7 (both PB 12.6 and PB 2017).

    Windows 10 

    Normal User - PB 12.6 apps runs fine

    Elevated Rights - PB 12.6 app runs fine

    Normal User - PB 2017 app fails

    Elevated Rights - PB 2017 app runs fine

    Windows 7

    Normal User - PB 12.6 apps runs fine

    Elevated Rights - PB 12.6 app runs fine

    Normal User - PB 2017 app runs fine

    Elevated Rights - PB 2017 app runs fine

2. I will check UAC on Windows 10 as it requires admin rights.

3. I will check for anti-virus and Active directry policy

4. Manifest not included for App's EXE

 

Project Painter => Security tab => Generate Options: No Manifest - YES

Execution Level:  As Invoker - YES

All access to protected System UI:  OFF  -YES

Thanks for your help.

Comment
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Thursday, 6 June 2019 07:57 AM UTC
  2. PowerBuilder
  3. # 4

Hi Reema,

  1. Does the same problem occur if you run your app on a different machine? Does it occur also on Windows 7?
  2. Is UAC enabled on your machine? If yes, please disable it and then try again and see if it works.
  3. Is it possible that ananti-virus or Active Directory policy that stopped the App?
  4.  Did you include a manifest when you create the App's EXE ...?

(Project Painter => Security tab =>    Generate Options: No Manifest   Execution Level:  As Invoker   All access to protected System UI:  OFF )If yes, Can you  try checking the "Windows Classic Style" and resetting the "Generate Options" to no manifest just as a quick test? 

If it still does not help, kindly please report this problem to Appeon ticketing system: https://www.appeon.com/standardsupport/ so we can properly receive and track things. Please also provide a PB test case when you submit it to the ticketing system.

 

Regards,

Mark Lee 

Comment
There are no comments made yet.
Reema Kurane Accepted Answer Pending Moderation
  1. Wednesday, 5 June 2019 20:56 PM UTC
  2. PowerBuilder
  3. # 5

This is PB 2017 R3 Build 1858

Database is IBM DB2. DB2 driver used is version 11

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 5 June 2019 20:53 PM UTC
  2. PowerBuilder
  3. # 6

What release/build of PB 2017? What database are you using?

Comment
There are no comments made yet.
Reema Kurane Accepted Answer Pending Moderation
  1. Wednesday, 5 June 2019 20:21 PM UTC
  2. PowerBuilder
  3. # 7

I see this error in the event viewer on windows 10

Faulting application name: cps32.exe, version: 10.3.17.0, time stamp: 0x5b6318c2
Faulting module name: pbdwe170.dll, version: 17.2.0.1858, time stamp: 0x5b6319c8

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.