Select to view content in your preferred language

asp.net site and Could not load file or assembly 'Esri.FileGDBAPI.DLL'

10817
11
09-19-2012 06:30 AM
JohnCampbell2
New Contributor
Hi People,

I've been stumped over this issue for days now... Was hoping someone has come across this...

Receiving this error when I build my asp.net site....

Could not load file or assembly 'Esri.FileGDBAPI.DLL' or one of its dependencies. The specified module could not be found. 

The file is in the bin directory and is referenced in my project...

Thanks,
John
0 Kudos
11 Replies
ARNOLDOVANGRIEKEN
Deactivated User
I do what you tell me, I check that has local copy, and does not work, this generenado the same error. My windows form application is x86 and like I said has no problem.

I assume that you have a 64 bit ASP.NET worker.  In this case, make sure that your ASP.NET project adds a reference to bin64\Esri.FileGDBAPI.dll and that Copy Local is set to true.  Also, you need to manually copy the other DLLs in the bin64 directory such that they are in this directory.

My guess is that your windows form application is x86, i.e. 32 bit.
0 Kudos
RichardWatson
Deactivated User
I assume that your website is in C:\inetpub\wwwroot.  From a DOS window do the following:

cd C:\inetpub\wwwroot
dir/s YourWebSiteName > files.txt

and then post that file here.  I want to see exactly what files you have.
0 Kudos