1. David Peace (Powersoft)
  2. PowerBuilder
  3. Monday, 12 September 2022 10:55 AM UTC

Hi Guys

I'm getting an erro -19 trying to load a Dot Net DLL using LoadWithDotNetCore. The customer has installed Dot Net 3.1 See below:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\david.peace>dotnet --list-runtimes
Microsoft.NETCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore.A
pp]

C:\Users\david.peace>dotnet --info
  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download

Host (useful for support):
  Version: 3.1.24
  Commit:  3b38386083

.NET Core SDKs installed:
  No SDKs were found.

.NET Core runtimes installed:
  Microsoft.NETCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore
.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

C:\Users\david.peace>

--------------------------------------------------------------------------------------------------------------------------------

It all looks OK to me, what am I missing?

Using PB2019R3 running on Windows Server 2012R2

Cheers

David

Accepted Answer
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Thursday, 24 November 2022 13:50 PM UTC
  2. PowerBuilder
  3. # Permalink

I rewrote this functionality another way to work around the problems.

Decided to  use a webservice rather than fight with Dot Net issues.

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Monday, 12 September 2022 14:09 PM UTC
  2. PowerBuilder
  3. # 1

Hi David,

I see you have the runtime installed. Please try installing the SDK as well and seeing if that solves the problem.

Regards,
Francisco

Comment
  1. David Peace (Powersoft)
  2. Tuesday, 13 September 2022 08:22 AM UTC
I'll ask the customer, but getting software installed on their production server is extreemly difficult. I need to be sure it will fix the problem....
  1. Helpful
  1. Francisco Martinez @Appeon
  2. Tuesday, 13 September 2022 15:20 PM UTC
David, does this issue also happen when trying to load ANY assembly? What .NET does the assembly target?
  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.