[fdo-users] FileNotFoundException Exception de HRESULT : 0x8007007E

Jackie C. Ng jumpinjackie at gmail.com
Mon Oct 20 03:59:22 EDT 2008


Are *all* the files you have unzipped in the same location as where the
compiled assembly is located?

- Jackie


Mbonnet wrote:
> 
> have download the fdosdk-win32-3.3.1.tar.gz.gz file from fdo.osgeo.org.
> I have unziped it in a folder.
> I have create a library project in VS2005.
> I have added  :
>     - OSGEO.FDO
>     - OSGEO.FDO.Common
>     - OSGEO.FDO.Geometry
>     - ...
>    as references.
> 
> I have created class :
> 
> using System;
> using System.Collections.Generic;
> using System.Text;
> using System.Collections;
> using OSGeo.FDO.Providers;
> using OSGeo.FDO.Commands;
> using OSGeo.FDO.ClientServices;
> namespace fdoLibrary
> {
>     public class providersFunctions
>     {
>         public providersFunctions()
>         {
>             getProviders();
>         }
> 
>         public ArrayList getProviders()
>         {
>            
>             ArrayList alProviders = new ArrayList();
>             ProviderRegistry myProvider =
> (ProviderRegistry)FeatureAccessManager.GetProviderRegistry();
>             ProviderCollection providerColl = myProvider.GetProviders();
> 
>             String[] monProvider = new string[2];
> 
>             for (int i = 0; i < providerColl.Count; i++)
>             {
>                 monProvider[0] = providerColl[i].DisplayName;
>                 monProvider[1] = providerColl[i].Name;
>                 alProviders.Add(monProvider);
>             }
>             return alProviders;
>         }
>     }
> }
> 
> I have created a windows application in vs2005, add my library project as
> reference and create a form that is calling my class, and when my method
> getProviders() i have this error :
> 
> Exception from HRESULT: 0x8007007E in this line : getProviders();
> 
> thanks
> 
> help me please
> 


-----
http://themapguyde.blogspot.com

http://www.linkedin.com/in/jackieng
-- 
View this message in context: http://www.nabble.com/FileNotFoundException-Exception-de-HRESULT-%3A-0x8007007E-tp20064365p20064911.html
Sent from the FDO Users mailing list archive at Nabble.com.



More information about the fdo-users mailing list