Looks like one or more dlls are missing or not available to load at run
time. Make sure gdal.dll or all of the dependencies are available to load by
the application. You can place the dll-s in the directory of your executable
or include the directory location in the PATH environment.

Best regards,

Tamas



2010/5/26 radioheadCDA <chrisaustin2...@gmail.com>

>
> Hey, I have been having a very large issue, well maybe not large but very
> frustrating. I have been using the C# wrapper for gdal in visual studio and
> have been getting an error when GDAL tries to register the drivers before
> doing anything else. The error I get is this:
>
> "The type Intializer for 'OSGeo.GDAL.Gdal' threw an exception"
>
> I have tried changing enviroment variables, deleting then re-adding
> refrences to gdal, both which have done nothing to solve the problem. If
> anyone knows anything that might help me solve the issue, I would greatly
> appreciate at it. Thanks.
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Gdal-Allregister-Error-tp5104079p5104079.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to