ODBC for SQL Server 2000 not working

Frank Warmerdam warmerdam at POBOX.COM
Fri Nov 17 14:00:10 EST 2006


Steve White wrote:
> I'm running SQL Server 2000 on a windows 2003 box. I've created an ovf file
> and tested that it returns data, all good.
> When I try to use this in my mapfile it doesn't return anything.
...
> It's almost as if mapserver can't use my system DSN.
> 
> If I fire a GetFeatureInfo request on that layer I get this error:
> msOGRFileNextShape(): OGR error. SetAttributeFilter() not supported on
> ExecuteSQL() results.

Steve,

You need an updated GDAL/OGR.  I think this bug was fixed post 1.3.2 so you
might need a nightly snapshot.

Sorry, this has been a cause of much agony and knashing of teeth.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list