We are trying to install a .net web services on a clean Windows 2012 R2 server. Unfortunately, the runtime files installation of PowerBuilder 2012 R2 does not contain the required files.
Steps
- Installation Windows 2012 R2
- Installation IIS & ASP.net 3.5 and 4.5
- Restart server
- Installation PBCLTRT170.msi (error see attachment)
- Restart server
- Installation .net web services project
After adding the Microsoft C ++ Runtime Library and ATL module files, the installation of PBCLTRT170.msi does go well.
After the installation we get the error message that Sybase.PowerBuilder.Core is not found.
Error message:
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 can not find the file specified.
After copying all Sybase.*.dll files in the project folder, the project seems to work until we try to call a datawindow.
Error message:
Exception has been thrown by the target of an invocation. ---> Sybase.DataWindow.DataWindowServerLoadFailedException: DataWindow Server PBDWM150.DLL or required DLLs (atl71.dll, msvcp71.dll or msvcr71.dll) not found.
We use Powerbuilder 2017 R2
Thank you! This works! Do you know why this is seperate and hidden?
It looks like a bug in the runtime package generator?
Yes, Appeon Engineering removed this feature from PB Packager when they released PB2017 GA last year. I believe the thought at that time was that Web Service feature would be replaced in PB2018 with the C# equivalent. However in hind-sight, that was probably a bit premature decision to disconnect the two until PB developers had switched over to PB2018's C# features.
C:\Program Files (x86)\Appeon\PowerBuilder 17.0\DotNET\pbiu\BootStrapper\Packages\1-PBRuntime, this i couldn't find in my software. Is that because of the trail version? My version is 2017Build1666 on Jun27 2017.