Questions? Feedback?powered byOlark live chat software

Standard Support

Bug 1697

Office 365 OLE Comunication 14 October, 2018

Marcelo Peñailillo
02 October, 2018
Product: PowerBuilder Category: Installation
Version: 2017 R3 Publishing: Public
Status: Scheduling Priority: P3
Classification: Sybase (legacy) bug Resolution:
Zhao Kai 14 October, 2018
Hi Marcelo,

We have been working on it and will need some time to figure it out, we will get back to you if we need additional information or any progress we would make.

BTW, PB 12.6 has the same issue.

Regards,
ZhaoKai
---------------------------------------------------------------

Excellent
I just want to add that outlook for its operation should not run in administrator mode, because that way they disable some functions such as fast search and integration with windows search of the operating system, on the other hand our PB apps need to run as administrator to have access to control the files of the application itself.
Our application in Powerbuilder apart from all business logic has a subsystem of control of updates and resources associated with the app such as templates, third-party applications, etc. that distribute with our app very effectively so the app you need to have access to writing inside your installation folder. !!

Thanks and regards.
Marcelo Peñailillo
Zhao Kai 11 October, 2018
Hi Marcelo,

Thanks for providing the test case. I reproduced the issue on our end, and PB IDE has the same issue. 

Below are my test results:

1.	When Outlook is closed, both the IDE and exe work well with or without the "Run As Administrator" property checked.
2.	Everything works fine if the "Run As Administrator" property is the same in the shortcuts of both applications.
3.	When opening Outlook WITH "Run As Administrator" and running IDE/exe without "Run As Administrator", I got the attached error. This should be normal as I got the same message when I directly open a new outlook session WITHOUT "Run As Administrator" at this  time.
4.	When opening Outlook WITHOUT "Run As Administrator" and running IDE/exe with "Run As Administrator", I got the same problem as yours. This should be a PB problem as I can directly open a new Outlook session WITH the "Run As Administrator". 

I will escalate this problem to our development team for further analysis. We will need some time to figure it out and will get back to you if any progress we would make.

Regards,
ZhaoKai
Zhao Kai 09 October, 2018
Hi Marcelo,

Please provide information below to us for more study, thanks.

1 Detail PB version you are using.
2 OS version.
3 A simple PB case and steps to reproduce the issue.
4 Detail error and screenshot.


Regards,
ZhaoKai
Govinda Lopez 09 October, 2018
Hi Marcelo,

Thank you for letting us know. I will now transfer your ticket to our engineering team for further analysis. We will keep you posted on the results here.


Regards,
Marcelo Peñailillo 08 October, 2018
(In reply to Marcelo Peñailillo from comment #2)
I have tried in the same development machine placing the same search path of
PB170.exe (from the IDE) and it does not work either, the Runtime is created
with all the boxes marked (PB R3) and it does not work ...
I have narrowed the problem. The behavior occurs when the option "Run as administrator" is checked
Marcelo Peñailillo 02 October, 2018
I have tried in the same development machine placing the same search path of PB170.exe (from the IDE) and it does not work either, the Runtime is created with all the boxes marked (PB R3) and it does not work ...
Govinda Lopez 02 October, 2018
Hi Marcelo,

This is, most likely, due to a missing DLL. You may look into this document: https://www.appeon.com/system/files/product-manual/application_techniques_1.pdf (page 420) to know exactly what DLL you might be missing.


Regards,
Marcelo Peñailillo 02 October, 2018
*Phenomenon:
My application communicates correctly with Microsoft Outlook 365 from the IDE, but when running from the installable application using the Runtime with all the runtime components, the communication with Microsoft Outlook is not carried out.
It has been tested with Office 365 32 and 64 bits.
OS:
Windows 10 
Platform:
64-bit 
Database Type:
Microsoft SQL Server 
Database Version:
2016