Couldn't load assembly reference

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-08-19 09:39 PM
Hi All,
I am getting the below error while executing the code stage,
Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'Google.Apis.Auth, Version=1.21.0.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
However, I referred the same dll version in the initialize page.
CAUSE: Google.Apis.Gax.Grpc.dll has a dependancy with Google.Apis.Auth, Version >= 1.35.1.0 and Grpc.Auth has a dependancy with Google.Apis.Auth, Version >= 1.21.1.0... I placed the Google.Apis.Auth, Version >= 1.35.1.0 in the program file folder and referred it in the initialize page. Having said that I guess Grpc.Auth cannot load the latest version and it requires 1.21.0.0
How to resolve this issue? Please help me.
I am getting the below error while executing the code stage,
Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'Google.Apis.Auth, Version=1.21.0.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
However, I referred the same dll version in the initialize page.
CAUSE: Google.Apis.Gax.Grpc.dll has a dependancy with Google.Apis.Auth, Version >= 1.35.1.0 and Grpc.Auth has a dependancy with Google.Apis.Auth, Version >= 1.21.1.0... I placed the Google.Apis.Auth, Version >= 1.35.1.0 in the program file folder and referred it in the initialize page. Having said that I guess Grpc.Auth cannot load the latest version and it requires 1.21.0.0
How to resolve this issue? Please help me.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-08-19 05:00 AM
Try moving the dll to BP folder in Program files and then reference it.
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-08-19 05:18 AM
I did that already but of no use!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-08-19 06:29 AM
Does the DLL have other DLL dependencies? If so, have you tried including those dependencies when trying to move it into the Blue Prism installation directory?
------------------------------
Wing Ling Leung
Senior Product Consultant
Blue Prism Professional Services
------------------------------
------------------------------
Wing Ling Leung
Senior Product Consultant
Blue Prism Professional Services
------------------------------

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-08-19 02:37 PM
It does have the dependency. Based on the dependencies error in BP I am adding the dll(version specific). But still it is throwing the error again and again for certain dlls alone! I keep downgrading the dll version for few components based on the BP exception but still no luck.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-08-19 03:44 PM
CAUSE: Google.Apis.Gax.Grpc.dll has a dependancy with Google.Apis.Auth, Version >= 1.35.1.0 and Grpc.Auth has a dependancy with Google.Apis.Auth, Version >= 1.21.1.0... I placed the Google.Apis.Auth, Version >= 1.35.1.0 in the program file folder and referred it in the initialize page. Having said that I guess Grpc.Auth cannot load the latest version and it requires 1.21.0.0. How to resolve this issue?
