1. Becky Christensen
  2. PowerBuilder
  3. Thursday, 4 April 2019 16:31 PM

I have a PowerBuilder 12.6 application that connects to DB2 through odbc.   This all worked on Windows 7 .   My environment has now changed to Window10 and I am using a trial version of PowerBuilder 2017 R3.  I modified the pbodb170 ini for DB2 the PBSupportBind to YES (like I had in 12.6).   I can connect the odbc database when I am in the code but when I run it,  I get an error.      

R0007:   Error: Database Interface does not support Remote Procedure call

 

This same executable runs fine on our Windows 2016 server.    

 

I am having the issue only locally,  on my Window10 laptop.

 

Any suggestions?

 

Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 April 2019 09:31 AM
  2. PowerBuilder
  3. # 1
0
Votes
Undo

Hi Becky,

In theory, if it works well in both Windows 7 and Windows 2016, Windows 10 should also support it.

Questions:

  1. Does it work well if you run EXE via ‘Run as Administrator’?
  2. Did you install PB IDE in your Windows 10 machine? Does the issue still exist if you install PB IDE?
  3. Do other Windows 10 machines have this issue?
  4. Please try to add DisableBind=0 in DBParm and see if it works.

Regards, Ken

Comment
I wish that was the case as that would be an easy fix. They are both version 11.01.00.1527 and I can successfully test the odbc connection on my Windows10 machine.
  1. Becky Christensen
  2. Monday, 15 April 2019 18:23 PM
Are you on PB2017R3 build 1880 (check the PB IDE's Help => About dialogue)
  1. Chris Pollach @Appeon
  2. Monday, 15 April 2019 19:07 PM
Version 2017 R3 Build 1858
  1. Becky Christensen
  2. Tuesday, 16 April 2019 12:27 PM
There are no comments made yet.
Becky Christensen Accepted Answer Pending Moderation
  1. Thursday, 4 April 2019 16:45 PM
  2. PowerBuilder
  3. # 2
0
Votes
Undo

There is also a DistributedCom error in the System log with an Event ID of 10016 saying the application specific permission settings do not grant Local Activation permission for the COM Server application with CLSID and APPID to the user (me) from address LocalHOst (Using LRPC) running in the application container Unavailable SID

 

Comment
Update: I had our tech guy log on to my Windows10 enterprise machine and then ran the PB application successfully.
  1. Becky Christensen
  2. Tuesday, 23 April 2019 13:59 PM
Soulution: A new Profile was created and now the application works for me.
  1. Becky Christensen
  2. Tuesday, 23 April 2019 16:06 PM
That is excellent news Becky ... glad that you found the issue!
  1. Chris Pollach @Appeon
  2. Tuesday, 23 April 2019 18:25 PM
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.