1. Stèphan Eizinga
  2. PowerBuilder
  3. Friday, 19 November 2021 08:25 AM UTC

We have built a Web services application in PowerBuilder .NET 2019 R3.

We have installed Runtime and restarted the server. The web services start up properly, only when we make a database connection we get the following error:

System.IO.FileNotFoundException Message: Could not load file or assembly 'Sybase.PowerBuilder.Interop.dll' or one of its dependencies. The specified module could not be found. StackTrace: at Sybase.PowerBuilder.PBSessionBase.StopTransaction(PBTransaction trans) at Sybase.PowerBuilder.PBTransaction.Dispose(Boolean disposing) at Sybase.PowerBuilder.PBPowerObject.Finalize()

 

We see 'Sybase.PowerBuilder.Interop.dll' in the Global Assembly Cache.

Which step are we missing that causes this error message?

Stèphan Eizinga Accepted Answer Pending Moderation
  1. Friday, 19 November 2021 14:42 PM UTC
  2. PowerBuilder
  3. # 1

Hello Chris,

Sybase.PowerBuilder.DataWindow.Interop.dll is using the Sybase.PowerBuilder.Interop.dll from the 2017 runtimes. When we installed 2017 it was running correct! 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 19 November 2021 14:37 PM UTC
  2. PowerBuilder
  3. # 2

Hi Stèphan;

   Have you ...

1) Created an APP Pool in IIS that allows 32bit processing?

2) Did you create a .NET PB runtime MSI  in the PB Packager utility and run that MSI on the IIS deployment machine?

3) Did you install the DBMS' 32 bit DB Client on the IIS machine?

4) Is that DB Client and PB runtime folders in the System Path?

Regards ... Chris

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.