1. Eric Verhorstert
  2. PowerBuilder
  3. Monday, 16 July 2018 13:59 PM UTC

We get the message can not load the assembly Sybase.Powerbuilder.Datasource.Db or one of its depencies (Access denied). 

I tried to use processMonitor to find out which dll could not be loaded but was not succesfull. We deploy a dll as a .Net assembly target. It is working on about 30 desktops.

How can we find out why this dll is not loaded?

 

Thanks

Eric

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 July 2018 13:54 PM UTC
  2. PowerBuilder
  3. # 1

Hi Eric;

  Did you register the "Sybase.Powerbuilder.Datasource.Db" file in the GAC?

Regards ... Chris

Comment
  1. Eric Verhorstert
  2. Tuesday, 17 July 2018 14:21 PM UTC
No, we have not registered any of the dll's.
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 18 July 2018 14:06 PM UTC
Did you use an installer to install the run time or just copy over to the machine?

If the latter then you will probably need to register the dlls in the GAC.
  1. Helpful
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Tuesday, 17 July 2018 10:41 AM UTC
  2. PowerBuilder
  3. # 2

Hi

You say that it is running on 30 desktops, does this mean that it works on them ok and is just failing on one?

Have you installed SQL Anywhere 12 can you prove that you can connect to the DB outside of PB?

Cheers

David

Comment
  1. Eric Verhorstert
  2. Tuesday, 17 July 2018 14:26 PM UTC
Our desktop programma connects to the same database as the .NET target and is installed on the same machine.
  1. Helpful
There are no comments made yet.
Eric Verhorstert Accepted Answer Pending Moderation
  1. Tuesday, 17 July 2018 05:40 AM UTC
  2. PowerBuilder
  3. # 3

We are connecting to SQL Anywhere 12 on a Windows 7 machine.

It is a .NET assembly. We have a setup with Advanced Installer and are sure that all runtime dll's are installed.

Is there a way to find out on which dll Sybase.Powerbuilder.Datasource.Db depends? I now have had a look with ProcessExplorer but could not find a missing dll. 

Thanks

Eric

Comment
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Monday, 16 July 2018 15:32 PM UTC
  2. PowerBuilder
  3. # 4

Hi Eric

I think we need a little more information:

1. What database are you connecting to?

2. How have you deployed your application?

3. Are you sure you have all the runtime DLLs installed?

Regards

David

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.