Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in RPA by (12.7k 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:

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

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

1 Answer

0 votes
by (29.5k points)

I feel this is a case of missing dependencies so what you need to do is 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