[fdo-users] Connection to ShapeProvider using C#

Romica Dascalescu Romica.Dascalescu at autodesk.com
Mon Jul 6 10:40:27 EDT 2009


Hi,

You need also to copy in your output folder following dlls:
FDO.dll
FDOCommon.dll
FDOGeometry.dll
FDOSpatial.dll

SHPProvider.dll
SHPOverrides.dll

ExpressionEngine.dll

Release:
Xalan-C_1_7_0.dll
XalanMessages_1_7_0.dll
xerces-c_2_5_0.dll

Debug:
Xalan-C_1_7_0D.dll
XalanMessages_1_7_0D.dll
xerces-c_2_5_0D.dll

All these libraries are C++ libraries and are used by .NET dlls(OSGeo.FDO.dll, OSGeo.FDO.Common.dll, OSGeo.FDO.Geometry.dll, OSGeo.FDO.Spatial.dll)

Regards,
Romy.

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of thabet084
Sent: Monday, July 06, 2009 10:33 AM
To: fdo-users at lists.osgeo.org
Subject: Re: [fdo-users] Connection to ShapeProvider using C#


Hi Jackie ,

I added reference the following dlls
1-OSGeo.FDO
2-OSGeo.FDO.Common
3-OSGeo.FDO.Geometry
4-OSGeo.FDO.Spatial
Note I used FDO 3.4 
and this exception is appear at runtime
        private IProviderRegistry FDORegistery =
OSGeo.FDO.ClientServices.FeatureAccessManager.GetProviderRegistry();

 SEHexception is unhandled : External component has thrown an exception.
 
and when I try to solve this problem by using FDO 3.3
I found the following exception at the following line
Application.Run(new Form1());
FileNotFoundException was unhandled : The specified module could not be
found. (Exception from HRESULT: 0x8007007E)


-----
Mohammed Thabet Zaky
GIS developer
MSN:thabet084 at hotmail.com
Blog:  http://www.thabettech.blogspot.com/
http://www.thabettech.blogspot.com/ 
Egypt,Cairo
-- 
View this message in context: http://n2.nabble.com/Connection-to-ShapeProvider-using-C--tp3208332p3213342.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list