1. Gordon Weil
  2. PowerBuilder
  3. Thursday, 24 October 2024 17:41 PM UTC

I have a 3rd party DLL that I am told is a .NET DLL . I want to use the .NET DLL Importer to access it. I get the following error message: "Could not load file or assembly 'System.Web.Services, ...'

How do I get around this? I am using PowerBuilder 2022 R3 and .Net Framework 4.8

 

Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Thursday, 24 October 2024 18:09 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gordon,

 

What framework does the DLL target? Do you have the corresponding runtime installed on your machine?

P.S. You can use a tool such as dotpeek to open a .NET DLL and get more information about it.

 

Regards,
Francisco

Comment
  1. Gordon Weil
  2. Wednesday, 30 October 2024 15:38 PM UTC
DotPeek says that the DLL is .Net Framework 4.6.2. I have 4.8 installed. I used the Visual Studio Installer to install the 4.6.2 SDK and 4.6.2 Targeting Pack. That did not resolve the issue, although I don't understand enough about this to know why it would or would not. Windows won't allow me to install 4.6.2 runtime from the Microsoft .Net installer because I already have 4.8.
  1. Helpful
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.