Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in RPA by (5.3k points)

I have created DLL using pgSQL(to read data and return to Automation Anywhere) and I am trying to use it in an Automation anywhere bot. But it shows an error:

if you have any idea to solve that please help me.

Could not load file or assembly 'npgsql, Version=, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' or one of its dependencies. System cannot find the file specified.

1 Answer

0 votes
by (9.5k points)

You need to add the dependencies you used whilst creating the DLL into the metabot as well, by uploading them alongside your DLL in the assets view. In this case 'npgsql.dll'.

If you've built the DLL on another machine, you can - in addition to the steps above - also try adding the dependent DLLs to the PATH


Browse Categories