file-geodatabase-api icon indicating copy to clipboard operation
file-geodatabase-api copied to clipboard

System.IO.FileLoadException: A procedure imported by Esri.FileGDBAPI.dll could not be loaded

Open southmeadows opened this issue 8 years ago • 2 comments

System.IO.FileLoadException: A procedure imported by Esri.FileGDBAPI.dll could not be loaded

I have a console app written in C# using VS2017. The above error happens on load and it immediately crashes.

The console app works properly on the development machine, of course. I have Framework 4.5.2. loaded on the server where this needs to run.

southmeadows avatar May 31 '17 20:05 southmeadows

Are you using the new .net core?

donnyv avatar Jun 05 '17 15:06 donnyv

The server the customer had was running server 2008. Moved to another server running 2012 and then installed VS on that machine so I could see what was happening. It works great there. So something odd with the older server or framework or something,

Another question: Is there a way to get the record count after searching?

southmeadows avatar Jun 05 '17 15:06 southmeadows