Bug 781

Missing pbruntime.msi in PB2017R2, 'webroot' is empty 09 June, 2021

Brad Howie
14 February, 2018
Product: PowerBuilder Category: Installation
Version: 2017 R2 Build:
Classification: Issue Publishing: Public
Priority: P3
Status: Closed Reason: RESOLVED
Ken Guo @Appeon 09 June, 2021
#13
Hi Brad,

Thank you for your response! 
We will close this ticket first and please feel free to open a new one if you encounter any problems.

Regards,
Ken
Brad Howie 09 June, 2021
#12
Hi Ken,

Sorry for the late reply, I was wanting to run a few more tests on our web service before closing the ticket.  

Please proceed with closing, and thanks again for your assistance!

Brad
Ken Guo @Appeon 17 May, 2021
#11
Hi Brad,

Glad to hear that. Can we close this ticket?

Regards,
Ken
Brad Howie 14 May, 2021
#10
Hi Ken,

Thank you, I can confirm your response was helpful, and I was able to restore the .NET MSI generation option.

I originally created the .ini file and put in the /Shared folder, but this didn't quite work - I went instead to move it under the 'Shared/Powerbuilder' folder, and noticed it already existed.  I opened it, and saw that DotNetComponents=0.  I changed this to '1', restarted the Packager app, and Voila.

Thanks again,
Brad
Ken Guo @Appeon 07 May, 2021
#9
Hi Brad,

I would like to check with you if the response provided has been helpful enough
to resolve your case. If so, can we proceed to close the ticket?
Otherwise, do let us know if we can provide you with any further assistance and
keep in mind that you are always welcome to open another ticket in case you
need it.

Regards,
Ken
Ken Guo @Appeon 11 March, 2021
#8
Hi Brad,

  The .NET option is still there in the PB Packager to produce the .Net based MSI. It's just that its now hidden in newer PB versions (don't ask me why).  :-(

  Here is how to bring that .Net option back ...

1) Close PB Packager Utility

2) Create a "PBPack.ini" text based file

3) Add the section ...
   [Packager]
    DotNetComponents=1

4) Copy the "PBPack.ini" file to the PB installation's "SHARED" folder

5) Restart the PB Packager
   You should now find the missing .NET MSI generation option.
   Just run that MSI on your Production Server.

Regards,
Ken
Ken Guo @Appeon 19 February, 2018
#7
*** Bug 740 has been marked as a duplicate of this bug. ***
Ken Guo @Appeon 14 February, 2018
#6
Hi Brad,

Thanks for reporting the problem. 
We reproduced it on our end and will do further research to figure it out when we get back from our Spring Festival holiday on Feb. 22, 2018. 
Thanks for your patience and understanding.

Regards,
Ken
Brad Howie 14 February, 2018
#5
Govinda,

Thanks for this - the first error has now been resolved.

There is still the issue with the missing 'webroot' folder under "C:\Program Files (x86)\Appeon\PowerBuilder 17.0\DotNET\" .  I mistakenly wrote earlier that the folder was blank - when in fact it just doesn't exist at all.

Without it, the following error gets generated trying to connect to the web service :

Could not load type 'PBWebApp.Global'

As submitted by Phil Chapman in the following thread, this can be resolved by copying the entire 'webroot' folder from the PB12.5 installation.

https://community.appeon.com/groups/powerbuilder/iis-web-service-runtime

After doing this, my web service is now functioning correctly.  Thanks to Phil for this tip.
Govinda Lopez @Appeon 14 February, 2018
#4
Brad,

I have uploaded the .msi. I will also transfer this case to our engineering team for further review. We will keep you posted of the results here.


Regards,
Govinda Lopez @Appeon 14 February, 2018
#3
PBRuntime.msi
Brad Howie 14 February, 2018
#2
Hi Govinda,

No, the file is not present in that folder.  The only file in that folder is ‘configuration.xml’.  Basically I have exactly the same issue that was reported in bug 740, and in this thread :

https://community.appeon.com/groups/powerbuilder/iis-web-service-runtime
Govinda Lopez @Appeon 14 February, 2018
#1
Hi Brad,

Please look into this folder C:\Program Files (x86)\Sybase\PowerBuilder 17.0\DotNET\pbiu\BootStrapper\Packages\1-PBRuntime and do let us know if the files are present here.


Regards,
Brad Howie 14 February, 2018
*Phenomenon: As documented originally in bug 740, the .NET runtime MSI installer is not present after upgrading to PB2017R2 on any of our installs.  I have tried uninstalling and reinstalling as suggested, and this does not resolve the issue.  I also notice that the "C:\Program Files (x86)\Appeon\PowerBuilder 17.0\DotNET\webroot" folder is empty, which contains vital files when deploying a web service.


*Reproduce Steps: Causes the following error after deploying the web service :

 Parser Error Message: Could not load file or assembly 'Sybase.PowerBuilder.Core, Version=17.0.0.0, Culture=neutral, PublicKeyToken=98a699138181d746' or one of its dependencies. The system cannot find the file specified.

This has been working without issue under PB12.5.


Remark:
OS:
Windows 7
Platform:
64-bit
Database Type:
Microsoft SQL Server
Database Version: